/* Pars Hukuk Dosya Sorgulama - Responsive CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a2463;
    --secondary-color: #1e3a8a;
    --accent-color: #2c5aa0;
    --success-color: #047857;
    --error-color: #c81e1e;
    --info-color: #1e40af;
    --text-dark: #1a1a1a;
    --text-light: #5a5a5a;
    --text-muted: #888888;
    --bg-primary: #f5f6fa;
    --bg-secondary: #e8eaf0;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #d1d5db;
    --border-light: #e5e7eb;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--primary-color);
    padding: 32px 40px;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.header-content {
    margin-bottom: 0;
}

.header h1 {
    color: var(--bg-white);
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-subtitle {
    color: var(--bg-white);
    font-size: 0.938rem;
    font-weight: 400;
    margin: 6px 0 0 0;
    opacity: 0.9;
    letter-spacing: 1px;
}

.back-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
    opacity: 0.85;
    font-size: 0.938rem;
}

.back-link:hover {
    opacity: 1;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Search Box */
.search-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    border-top: 3px solid var(--primary-color);
}

.search-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.year-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.year-select:hover {
    border-color: var(--accent-color);
}

.year-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
    font-size: 0.875rem;
}

.separator {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.number-input {
    flex: 1;
    max-width: 200px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.number-input:hover {
    border-color: var(--accent-color);
}

.number-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.number-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
    box-shadow: 0 2px 4px rgba(10, 36, 99, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(10, 36, 99, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-success {
    background: var(--success-color);
    color: white;
    width: 100%;
    box-shadow: 0 2px 4px rgba(4, 120, 87, 0.2);
}

.btn-success:hover {
    background: #065f46;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(4, 120, 87, 0.3);
}

.btn-download {
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-download:hover {
    background: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    border-left: 4px solid;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: var(--error-color);
}

.alert-success {
    background: #f0fdf4;
    color: #065f46;
    border-left-color: var(--success-color);
}

.alert-info {
    background: #eff6ff;
    color: var(--info-color);
    border-left-color: var(--info-color);
}

/* Detail Box */
.detail-box {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--primary-color);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.badge {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-open {
    background: var(--success-color);
    color: var(--bg-white);
}

.badge-closed {
    background: var(--text-muted);
    color: var(--bg-white);
}

.detail-info {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 6px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.info-value {
    font-weight: 500;
    color: var(--text-light);
    text-align: right;
}

.info-value.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* PDF Viewer */
.pdf-viewer-container {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--primary-color);
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.pdf-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.pdf-viewer {
    flex: 1;
    min-height: 600px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: none;
}

/* Son Ödeme Uyarısı */
.payment-warning {
    background: #fef2f2;
    border: 2px solid var(--error-color);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: center;
}

.payment-warning-title {
    color: var(--error-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-warning-text {
    color: #991b1b;
    font-size: 0.938rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 8px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    background: var(--primary-color);
    padding: 20px 24px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--accent-color);
}

.modal-title {
    color: var(--bg-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 28px 24px;
}

.modal-info-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.modal-info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.modal-info-label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-info-value {
    display: block;
    font-size: 1.063rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-info-value.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-info-value.iban {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    background: var(--bg-secondary);
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.modal-warning {
    background: #fef2f2;
    border-left: 4px solid var(--error-color);
    padding: 16px;
    border-radius: 6px;
    margin-top: 20px;
}

.modal-warning-text {
    color: var(--error-color);
    font-size: 0.938rem;
    font-weight: 700;
    line-height: 1.5;
}

.modal-footer {
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-light);
}

.btn-modal-close {
    background: var(--text-light);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.938rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-close:hover {
    background: var(--text-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Settings Page */
.settings-box {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--primary-color);
    max-width: 700px;
    margin: 0 auto;
}

.settings-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.settings-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.settings-description {
    color: var(--text-light);
    font-size: 0.938rem;
    margin: 0;
}

.settings-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-input:hover {
    border-color: var(--accent-color);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
    background: var(--bg-white);
}

.form-input.iban-input {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.form-help {
    display: block;
    margin-top: 6px;
    font-size: 0.813rem;
    color: var(--text-light);
    font-style: italic;
}

.settings-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--info-color);
}

.settings-info h3 {
    color: var(--primary-color);
    font-size: 1.063rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.settings-info ul {
    margin: 0;
    padding-left: 20px;
}

.settings-info li {
    color: var(--text-dark);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.settings-info li:last-child {
    margin-bottom: 0;
}

/* Admin Panel */
.admin-nav {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.logout-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.logout-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-welcome {
    margin-top: 12px;
    color: var(--bg-white);
    font-size: 0.875rem;
    opacity: 0.9;
    text-align: center;
}

.admin-box {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--primary-color);
    margin-bottom: 24px;
}

.admin-box-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.admin-box-header h2 {
    color: var(--primary-color);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
}

.admin-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.btn-random {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.btn-random:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 20px;
    border: 3px dashed var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover,
.file-label.highlight {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.file-name {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.admin-table thead {
    background: var(--primary-color);
    color: var(--bg-white);
}

.admin-table th {
    padding: 14px 12px;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.938rem;
}

.admin-table tbody tr:hover {
    background: var(--bg-light);
}

.admin-table .text-center {
    text-align: center;
    color: var(--text-light);
    padding: 32px;
}

.admin-table .text-right {
    text-align: right;
}

.admin-table .font-bold {
    font-weight: 700;
    color: var(--primary-color);
}

.link-pdf {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link-pdf:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
}

.btn-action:hover {
    transform: scale(1.15);
}

.btn-view {
    color: var(--info-color);
}

.btn-view:hover {
    color: var(--primary-color);
}

.btn-delete {
    color: var(--error-color);
}

.btn-delete:hover {
    color: #dc2626;
}

.btn-close {
    color: #f59e0b;
}

.btn-close:hover {
    color: #d97706;
}

.btn-open {
    color: var(--success-color);
}

.btn-open:hover {
    color: #059669;
}

.btn-sms {
    color: #3b82f6;
}

.btn-sms:hover {
    color: #1e40af;
}

/* SMS Badge */
.sms-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sms-sent {
    background: #d1fae5;
    color: #065f46;
}

.sms-not-sent {
    background: #fee2e2;
    color: #991b1b;
}

.font-mono {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* Settings Page Additions */
.settings-divider {
    height: 2px;
    background: var(--border-light);
    margin: 32px 0;
}

.settings-section-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

/* Toplu Ekleme */
.dosya-satir {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.dosya-satir-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.dosya-satir-header h4 {
    color: var(--primary-color);
    font-size: 1.063rem;
    margin: 0;
}

.btn-remove {
    background: var(--error-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-random-small {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.75rem;
    margin-left: 4px;
    transition: all 0.2s ease;
}

.btn-random-small:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.form-row-bulk {
    display: grid;
    grid-template-columns: 80px 80px 1fr 1fr 120px;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group-small {
    display: flex;
    flex-direction: column;
}

.form-group-bulk {
    display: flex;
    flex-direction: column;
}

.form-group-small label,
.form-group-bulk label {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.form-input-small {
    padding: 8px 10px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.938rem;
    width: 100%;
}

.form-input-small:focus {
    outline: none;
    border-color: var(--primary-color);
}

.info-box {
    margin-bottom: 20px;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-box pre {
    font-size: 0.813rem;
    line-height: 1.5;
}

/* Login Page */
.login-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--primary-color);
    max-width: 450px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.login-header h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-light);
    font-size: 0.938rem;
    margin: 0;
}

.login-form {
    margin-bottom: 24px;
}

.label-icon {
    margin-right: 6px;
}

.btn-block {
    width: 100%;
    font-size: 1.063rem;
    padding: 16px;
}

.login-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--info-color);
    margin-top: 24px;
}

.login-info p {
    margin: 6px 0;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.login-info code {
    background: var(--bg-white);
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary-color);
    padding: 20px;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    margin-top: 32px;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.footer p {
    color: var(--bg-white);
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .header-subtitle {
        font-size: 0.813rem;
    }

    .search-box {
        padding: 24px;
    }

    .input-group {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .year-select {
        flex: 1;
        max-width: 100px;
    }

    .number-input {
        flex: 1;
        max-width: 120px;
    }

    .separator {
        font-size: 1.25rem;
        transform: none;
    }

    .detail-box {
        padding: 20px;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-header h2 {
        font-size: 1.25rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .info-value {
        text-align: left;
    }

    .pdf-viewer-container {
        padding: 16px;
    }

    .pdf-viewer {
        min-height: 400px;
    }

    .pdf-viewer iframe {
        min-height: 400px;
    }

    .pdf-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-download {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.25rem;
        letter-spacing: 0.5px;
    }

    .header-subtitle {
        font-size: 0.75rem;
    }

    .search-box {
        padding: 20px;
    }

    .search-label {
        font-size: 1rem;
    }

    .year-select,
    .number-input {
        font-size: 1rem;
        padding: 10px 14px;
    }

    .year-select {
        max-width: 90px;
    }

    .number-input {
        max-width: 100px;
    }

    .separator {
        font-size: 1.125rem;
    }

    .info-value.amount {
        font-size: 1.25rem;
    }

    .pdf-viewer {
        min-height: 300px;
    }

    .pdf-viewer iframe {
        min-height: 300px;
    }

    .modal-content {
        width: 95%;
        margin: 12px;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-title {
        font-size: 1.063rem;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-info-value.amount {
        font-size: 1.25rem;
    }

    .modal-info-value.iban {
        font-size: 0.813rem;
        padding: 8px 10px;
    }

    .modal-footer {
        flex-direction: column;
        padding: 12px 16px;
    }

    .btn-modal-close,
    .modal-footer .btn {
        width: 100%;
    }

    .payment-warning {
        padding: 12px 16px;
    }

    .payment-warning-title {
        font-size: 0.875rem;
    }

    .payment-warning-text {
        font-size: 0.813rem;
    }

    .settings-box {
        padding: 20px;
    }

    .settings-header h2 {
        font-size: 1.25rem;
    }

    .form-input {
        font-size: 0.938rem;
        padding: 10px 14px;
    }

    .admin-nav {
        flex-direction: column;
        gap: 8px;
    }

    .admin-box {
        padding: 20px;
    }

    .admin-box-header h2 {
        font-size: 1.125rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .file-label {
        padding: 24px 16px;
    }

    .file-icon {
        font-size: 1.5rem;
    }

    .file-text {
        font-size: 0.875rem;
    }

    .admin-table {
        font-size: 0.813rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }

    .admin-table th {
        font-size: 0.75rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }

    .btn-action {
        padding: 8px;
        font-size: 1rem;
    }

    .login-box {
        padding: 24px;
    }

    .login-icon {
        font-size: 2.5rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }

    .login-info {
        padding: 16px;
    }

    .admin-welcome {
        font-size: 0.75rem;
    }

    .logout-link {
        padding: 4px 8px;
        font-size: 0.813rem;
    }

    .form-row-bulk {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dosya-satir {
        padding: 16px;
    }

    .dosya-satir-header h4 {
        font-size: 1rem;
    }

    .info-box pre {
        font-size: 0.75rem;
        padding: 8px;
    }
}

