/* ========================================
   MARKANABAK AI PORTALI - MAIN STYLESHEET
   Responsive, Mobile-First Design
   ======================================== */

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --bg: #f1f5f9;
    --bg-white: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --radius: 10px;
    --radius-sm: 6px;
    --sidebar-width: 280px;
    --topbar-height: 60px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === LOGIN PAGE === */
.login-body {
    background: linear-gradient(145deg, #ffffff 0%, #f3f4f6 40%, #e8eaed 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.login-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #cd0202, #e53030);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(205, 2, 2, 0.3);
}

    .login-logo-icon i {
        font-size: 28px;
        color: #fff;
    }

.login-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

    .login-footer p {
        margin-bottom: 6px;
        font-weight: 600;
        color: var(--secondary);
    }

/* === FORMS === */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 6px;
    }

        .form-group label i {
            color: #cd0202;
            margin-right: 4px;
            width: 16px;
        }

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

    .form-control:focus {
        border-color: #cd0202;
        box-shadow: 0 0 0 3px rgba(205, 2, 2, 0.12);
    }

    .form-control::placeholder {
        color: #94a3b8;
    }

    .form-control:disabled {
        background: #f8fafc;
        opacity: 0.7;
        cursor: not-allowed;
    }

.textarea-large {
    resize: vertical;
    min-height: 200px;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper .form-control {
        padding-right: 48px;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
}

    .password-toggle:hover {
        color: #cd0202;
    }

.field-validation-error {
    display: block;
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* === ALERTS === */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
    line-height: 1.5;
}

    .alert i {
        margin-top: 2px;
        flex-shrink: 0;
    }

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

    .alert-danger i {
        color: #dc2626;
    }

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

    .alert-warning i {
        color: #d97706;
    }

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

    .alert-info i {
        color: #2563eb;
    }

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

    .alert-success i {
        color: #16a34a;
    }

.alert p {
    margin: 4px 0 0;
}

/* === BUTTONS === */
.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #cd0202, #e53030);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .btn-login:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(205, 2, 2, 0.4);
    }

    .btn-login:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-register {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: #111111;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

    .btn-register:hover {
        background: #333333;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

.form-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

    .form-group-header label {
        margin-bottom: 0;
    }

.forgot-password-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

    .forgot-password-link:hover {
        color: #cd0202;
    }

    .forgot-password-link i {
        font-size: 0.75rem;
    }

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

    .login-divider::before,
    .login-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    color: #fff;
    background: #cd0202;
}

    .btn-primary:hover {
        background: #a80101;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(205, 2, 2, 0.3);
    }

.btn-secondary {
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
}

    .btn-secondary:hover {
        background: #e2e8f0;
    }

/* === PANEL LAYOUT === */
.panel-body {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: #1e1b4b;
    color: #e0e7ff;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform var(--transition);
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .logo-icon i {
        font-size: 18px;
        color: #fff;
    }

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #c7d2fe;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

    .nav-item:hover {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }

    .nav-item.active {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    }

    .nav-item i {
        width: 20px;
        text-align: center;
        font-size: 1rem;
    }

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .user-avatar i {
        font-size: 16px;
        color: #c7d2fe;
    }

.user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.75rem;
    color: #a5b4fc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

    .logout-btn:hover {
        background: rgba(239, 68, 68, 0.25);
        color: #fee2e2;
    }

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left var(--transition);
}

/* Top Bar */
.topbar {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    height: var(--topbar-height);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 500;
}

.menu-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 1.1rem;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
}

    .menu-toggle:hover {
        background: var(--bg);
    }

.topbar-title {
    font-size: 1.05rem;
    font-weight: 600;
    flex: 1;
}

.topbar-spacer {
    width: 40px;
}

/* Page Content */
.page-content {
    padding: 32px;
}

/* Sidebar Overlay (Mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

    .sidebar-overlay.active {
        display: block;
    }

/* === TABS === */
.tabs-container {
    margin-bottom: 24px;
}

.tabs-header {
    display: flex;
    gap: 0;
    background: #1e293b;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid #1e293b;
    border-bottom: none;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.8px;
    color: #94a3b8;
    background: #1e293b;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

    .tab-btn:not(:last-child) {
        border-right: 1px solid #334155;
    }

    .tab-btn:hover {
        color: #e2e8f0;
        background: #334155;
    }

    .tab-btn.active {
        color: #ffffff;
        background: #cd0202;
        border-bottom-color: #fbbf24;
    }

        .tab-btn.active i {
            color: #fbbf24;
        }

    .tab-btn i {
        font-size: 1.05rem;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

    .tab-content .form-card {
        border-radius: 0 0 var(--radius) var(--radius);
        border-top: 2px solid #cd0202;
    }

.tab-description {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: #1e40af;
    line-height: 1.5;
}

    .tab-description i {
        margin-top: 2px;
        color: #2563eb;
        flex-shrink: 0;
    }

    .tab-description p {
        margin: 0;
    }

/* === UPLOAD AREA === */
.upload-instruction {
    margin-bottom: 24px;
}

    .upload-instruction h3 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .upload-instruction h3 i {
            color: #cd0202;
        }

    .upload-instruction p {
        font-size: 0.9rem;
        color: var(--text-muted);
        line-height: 1.6;
    }

.upload-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.upload-area {
    flex: 1;
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .upload-area:hover {
        border-color: #cd0202;
        background: #fef2f2;
    }

    .upload-area.drag-over {
        border-color: #cd0202;
        background: #fef2f2;
        box-shadow: 0 0 0 3px rgba(205, 2, 2, 0.1);
    }

    .upload-area.has-file {
        border-style: solid;
        border-color: #10b981;
        background: #f0fdf4;
    }

.file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    pointer-events: none;
}

    .upload-placeholder i {
        font-size: 2.2rem;
        color: #94a3b8;
    }

.upload-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.upload-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.upload-selected {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    width: 100%;
    pointer-events: none;
}

    .upload-selected > i {
        font-size: 2rem;
        color: #ef4444;
        flex-shrink: 0;
    }

.selected-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.selected-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-size {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.remove-file {
    pointer-events: all;
    z-index: 3;
    position: relative;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}

    .remove-file:hover {
        background: #fee2e2;
        color: #b91c1c;
    }

/* Help Button */
.btn-help {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    margin-bottom: 12px;
}

    .btn-help:hover {
        background: #dbeafe;
        border-color: #93c5fd;
    }

    .btn-help i {
        font-size: 1rem;
    }

/* === MODAL === */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(3px);
}

    .modal-overlay.active {
        display: flex;
    }

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

    .modal-header h3 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .modal-header h3 i {
            color: #2563eb;
        }

.modal-close {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition);
}

    .modal-close:hover {
        background: #f1f5f9;
        color: var(--text);
    }

.modal-body {
    padding: 24px;
    overflow-y: auto;
    text-align: center;
}

.guide-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* === CONTENT ELEMENTS === */
.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

    .content-header h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .content-header h2 i {
            color: #cd0202;
        }

/* Form Card */
.form-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.form-actions-center {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* Inline Link */
.inline-link {
    color: #cd0202;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

    .inline-link:hover {
        color: #a80101;
    }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .stat-icon i {
        font-size: 1.2rem;
        color: #fff;
    }

.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bg-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.bg-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Data Table */
.table-container {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

    .data-table th {
        padding: 14px 20px;
        text-align: left;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        background: #f8fafc;
        border-bottom: 2px solid var(--border);
    }

    .data-table td {
        padding: 14px 20px;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border);
    }

    .data-table tr:last-child td {
        border-bottom: none;
    }

    .data-table tr:hover td {
        background: #f8fafc;
    }

.amount {
    font-weight: 600;
    color: var(--text);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-taslak {
    background: #f1f5f9;
    color: #475569;
}

.badge-gonderildi {
    background: #eff6ff;
    color: #1d4ed8;
}

.badge-inceleniyor {
    background: #fffbeb;
    color: #b45309;
}

.badge-sonuclandi {
    background: #f0fdf4;
    color: #15803d;
}

.badge-bekliyor {
    background: #fffbeb;
    color: #b45309;
}

.badge-tamamlandi {
    background: #f0fdf4;
    color: #15803d;
}

.badge-iptal {
    background: #fef2f2;
    color: #b91c1c;
}

/* Card List (Mobile) */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.list-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}

    .list-card-header strong {
        font-size: 0.9rem;
        color: var(--text);
    }

.list-card-body {
    padding: 12px 16px;
}

.list-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
}

    .list-card-row:not(:last-child) {
        border-bottom: 1px solid #f1f5f9;
    }

    .list-card-row .label {
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 6px;
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

    .empty-state i {
        font-size: 3rem;
        color: #cbd5e1;
        margin-bottom: 16px;
    }

    .empty-state h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 8px;
    }

    .empty-state p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

/* Responsive Helpers */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Tablet & Below: Sidebar collapses */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
    }

    .topbar {
        display: flex;
    }

    .page-content {
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-content {
        padding: 16px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .content-header .btn {
            width: 100%;
            justify-content: center;
        }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .form-card {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

        .form-actions .btn {
            width: 100%;
            justify-content: center;
        }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 28px 20px;
    }

    .tabs-header {
        flex-direction: column;
        border-radius: var(--radius);
        border-bottom: 1px solid var(--border);
    }

    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        justify-content: flex-start;
        padding: 14px 16px;
    }

        .tab-btn:not(:last-child) {
            border-right: none;
            border-bottom: 1px solid var(--border);
        }

        .tab-btn.active {
            border-bottom-color: transparent;
            border-left-color: #cd0202;
        }

    .tab-content .form-card {
        border-radius: var(--radius);
        margin-top: 12px;
    }

    .upload-row {
        flex-direction: column;
    }

    .btn-help {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        max-height: 85vh;
    }

    .modal-body {
        padding: 16px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .login-container {
        padding: 12px;
    }

    .login-card {
        padding: 24px 16px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-value {
        font-size: 1rem;
    }
}

/* === SCROLLBAR === */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

/* === SELECTION === */
::selection {
    background: #cd0202;
    color: #fff;
}

/* === MULTI FILE UPLOAD === */
.upload-file-list {
    width: 100%;
}

.file-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--primary-light);
    border-radius: var(--radius) var(--radius) 0 0;
}

    .file-list-header span {
        font-weight: 600;
        color: var(--primary);
        font-size: 0.9rem;
    }

.clear-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

    .clear-all-btn:hover {
        background: var(--danger);
        color: white;
    }

.file-items {
    max-height: 200px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

    .file-item:last-child {
        border-bottom: none;
    }

    .file-item:hover {
        background: #f8fafc;
    }

    .file-item > i {
        font-size: 1.5rem;
        color: #dc2626;
        flex-shrink: 0;
    }

.file-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.file-name {
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.remove-file-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

    .remove-file-btn:hover {
        background: #fee2e2;
        color: var(--danger);
    }

/* === LOADING OVERLAY === */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 40px 60px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-content p {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.loading-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.loading-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

    .loading-steps .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 0.8rem;
        color: var(--text-muted);
        opacity: 0.5;
        transition: var(--transition);
    }

        .loading-steps .step i {
            font-size: 1.5rem;
        }

        .loading-steps .step.active {
            opacity: 1;
            color: var(--primary);
        }

        .loading-steps .step.completed {
            opacity: 1;
            color: var(--success);
        }

/* === DOCX DOWNLOAD === */
.docx-download {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #a7f3d0;
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

    .btn-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    }

    .btn-download i {
        font-size: 1.2rem;
    }

/* === RESULT MODAL === */
.result-modal {
    max-width: 640px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.result-modal-header {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border-bottom: 1px solid #6ee7b7 !important;
}

    .result-modal-header h3 {
        color: #065f46 !important;
    }

    .result-modal-header i.fa-check-circle {
        color: var(--success);
    }

.result-modal-body {
    overflow-y: auto;
    padding: 24px !important;
}

/* Download Section */
.result-download-section {
    text-align: center;
    padding: 24px 16px;
}

.result-download-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .result-download-icon i {
        font-size: 28px;
        color: #2563eb;
    }

.result-download-info {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

    .result-download-info strong {
        color: var(--text);
    }

/* Debug Analysis Panel */
.debug-analysis-panel {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px dashed #fbbf24;
    position: relative;
}

.debug-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: 1px solid #fbbf24;
    margin-bottom: 16px;
}

    .debug-badge i {
        font-size: 0.7rem;
    }

/* === ANALYSIS RESULT === */
.analysis-result {
    margin-top: 24px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #6ee7b7;
    border-radius: var(--radius);
    overflow: hidden;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid #6ee7b7;
}

    .result-header i {
        font-size: 1.5rem;
        color: var(--success);
    }

    .result-header h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #065f46;
    }

.result-body {
    padding: 20px;
}

.result-item {
    margin-bottom: 16px;
}

    .result-item:last-child {
        margin-bottom: 0;
    }

    .result-item label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: #065f46;
        margin-bottom: 6px;
    }

.result-value {
    display: inline-block;
    background: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
    border: 1px solid #a7f3d0;
}

.gerekce-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gerekce-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border: 1px solid #a7f3d0;
}

    .gerekce-badge i {
        color: var(--primary);
        font-size: 0.85rem;
    }

.result-footer {
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.08);
    border-top: 1px solid #a7f3d0;
}

    .result-footer p {
        font-size: 0.85rem;
        color: #065f46;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .result-footer i {
        color: var(--info);
    }

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 480px) {
    .loading-content {
        padding: 30px 40px;
        margin: 0 20px;
    }

    .file-list-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .gerekce-list {
        flex-direction: column;
    }

    .gerekce-badge {
        width: 100%;
        justify-content: center;
    }

    .trademark-details {
        grid-template-columns: 1fr;
    }

    .gerekce-cards {
        grid-template-columns: 1fr;
    }
}

/* === TRADEMARK CARDS === */
.result-section {
    margin-bottom: 24px;
}

    .result-section:last-child {
        margin-bottom: 0;
    }

    .result-section h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1rem;
        font-weight: 600;
        color: #065f46;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px dashed #a7f3d0;
    }

        .result-section h4 i {
            color: var(--primary);
        }

.trademark-card {
    background: white;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius);
    overflow: hidden;
}

.trademark-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px solid #a7f3d0;
}

.trademark-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: white;
    border: 1px solid #e2e8f0;
    padding: 4px;
    flex-shrink: 0;
}

.trademark-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.app-no {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.trademark-name {
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.trademark-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 16px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .detail-row .label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .detail-row .value {
        font-size: 0.9rem;
        color: var(--text);
        font-weight: 500;
    }

    .detail-row .nice-classes {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 4px;
    }

.not-found-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    color: #b45309;
    font-size: 0.9rem;
}

    .not-found-msg i {
        color: #f59e0b;
    }

.gerekce-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.gerekce-card {
    border-color: #d1d5db;
}

    .gerekce-card .trademark-header {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-bottom-color: #e2e8f0;
    }

    .gerekce-card .app-no {
        background: var(--secondary);
    }

/* === PETITION SETTINGS === */
.petition-settings {
    margin: 24px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    overflow: hidden;
}

.settings-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

    .settings-header i {
        color: var(--primary);
        font-size: 1rem;
    }

.settings-body {
    padding: 20px;
}

.setting-group {
    margin-bottom: 24px;
}

    .setting-group:last-child {
        margin-bottom: 0;
    }

    .setting-group h4 {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 12px;
    }

        .setting-group h4 i {
            color: var(--primary);
            font-size: 0.9rem;
            width: 18px;
            text-align: center;
        }

.option-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-card {
    position: relative;
    cursor: pointer;
    display: block;
}

    .option-card input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

.option-card-inner {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    transition: all var(--transition);
}

.option-card:hover .option-card-inner {
    border-color: #cbd5e1;
    background: #fafbfc;
}

.option-card.selected .option-card-inner {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary);
}

.option-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

    .option-card-header i {
        color: var(--text-muted);
        font-size: 0.9rem;
        width: 18px;
        text-align: center;
    }

.option-card.selected .option-card-header i {
    color: var(--primary);
}

.option-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.option-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}

.default-badge {
    background: #dbeafe;
    color: #1d4ed8;
}

.option-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    padding-left: 26px;
}

.option-card.selected .option-desc {
    color: #4338ca;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .settings-body {
        padding: 16px;
    }

    .option-card-inner {
        padding: 12px 14px;
    }

    .option-desc {
        padding-left: 0;
        margin-top: 4px;
    }
}

/* ════════════════════════════════════════════════════════════════
   Marka Yayına İtiraz — Gerekçe Seçimi & Field Hint
   ════════════════════════════════════════════════════════════════ */

/* ── Gerekçe Sections ── */
.gerekce-section {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.gerekce-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-secondary, #f8fafc);
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

    .gerekce-section-header i {
        color: var(--primary, #6366f1);
        font-size: 0.85rem;
    }

.gerekce-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}

.gerekce-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
}

    .gerekce-checkbox-item:last-child {
        border-bottom: none;
    }

    .gerekce-checkbox-item:hover {
        background: var(--bg-hover, #f1f5f9);
    }

    .gerekce-checkbox-item input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: var(--primary, #6366f1);
        cursor: pointer;
        flex-shrink: 0;
    }

.gerekce-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 2px 8px;
    background: var(--primary-light, #eef2ff);
    color: var(--primary, #6366f1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    white-space: nowrap;
}

.gerekce-label {
    font-size: 0.875rem;
    color: var(--text-primary, #1e293b);
    line-height: 1.4;
}

.gerekce-checkbox-item input[type="checkbox"]:checked ~ .gerekce-badge {
    background: var(--primary, #6366f1);
    color: #fff;
}

.gerekce-checkbox-item:has(input:checked) {
    background: var(--primary-lighter, #f5f3ff);
}

/* ── Field Hint ── */
.field-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted, #94a3b8);
    margin-top: 5px;
}

    .field-hint i {
        font-size: 0.75rem;
    }

/* ════════════════════════════════════════════════════════════════
   Marka İtiraz — Mal ve Hizmet Kapsam Seçimi
   ════════════════════════════════════════════════════════════════ */

.mal-hizmet-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mal-hizmet-option {
    flex: 1;
    min-width: 180px;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
}

    .mal-hizmet-option input[type="radio"] {
        display: none;
    }

.mal-hizmet-option-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary, #64748b);
}

    .mal-hizmet-option-inner i {
        font-size: 1rem;
        color: var(--text-muted, #94a3b8);
        transition: color 0.18s;
    }

.mal-hizmet-option:hover {
    border-color: var(--primary, #6366f1);
    background: var(--primary-lighter, #f5f3ff);
}

.mal-hizmet-option.selected {
    border-color: var(--primary, #6366f1);
    background: var(--primary-lighter, #f5f3ff);
}

    .mal-hizmet-option.selected .mal-hizmet-option-inner {
        color: var(--primary, #6366f1);
    }

        .mal-hizmet-option.selected .mal-hizmet-option-inner i {
            color: var(--primary, #6366f1);
        }

.form-label-sm {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    margin-bottom: 6px;
}

    .form-label-sm i {
        margin-right: 4px;
    }

@media (max-width: 600px) {
    .mal-hizmet-options {
        flex-direction: column;
    }

    .mal-hizmet-option {
        min-width: unset;
    }
}


/* ========================================
   DİLEKÇELERİM SAYFASI STİLLERİ
   ======================================== */

/* İstatistik Satırı - .stats-row altında scope edildi (site.css .stats-grid/.stat-card ile çakışmaz) */
.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

    .stats-row .stat-card {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 16px 20px;
        box-shadow: none;
    }

    .stats-row .stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        background: #f0f4ff;
        color: #4f6ef7;
        flex-shrink: 0;
    }

.stat-itiraz .stat-icon {
    background: #fef3e2;
    color: #e67e22;
}

.stat-karsi-gorus .stat-icon {
    background: #e8f8f0;
    color: #27ae60;
}

.stats-row .stat-info {
    display: flex;
    flex-direction: column;
}

.stats-row .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.stats-row .stat-label {
    font-size: 0.8rem;
    color: #8b8fa3;
    font-weight: 500;
}

/* Filtre Bar */
.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    flex-wrap: wrap;
}

.filter-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8b8fa3;
}

.filter-select,
.filter-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    min-width: 160px;
}

.filter-search {
    min-width: 220px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #4f6ef7;
    background: #fff;
}

.filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: #dc3545;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
}

    .filter-clear:hover {
        background: #fef2f2;
    }

.filter-result-count {
    font-size: 0.82rem;
    color: #8b8fa3;
    white-space: nowrap;
    padding-bottom: 8px;
}

/* Tablo Stilleri */
.td-mono,
.mono {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.td-actions {
    text-align: center;
}

.text-muted {
    color: #bbb;
}

/* Gerekçe Marka Numaraları */
.ground-nos {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ground-no-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f5f6fa;
    border: 1px solid #e5e7eb;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.78rem;
    color: #444;
    white-space: nowrap;
}

/* Dilekçe Tipi ve Durum Badge'leri
   Mevcut .badge (site.css) genişletildi; yeni tipler için inline-flex ve 6px radius tanımlandı */
.badge-itiraz,
.badge-karsi-gorus,
.badge-processing,
.badge-success,
.badge-error {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

    .badge-itiraz i,
    .badge-karsi-gorus i,
    .badge-processing i,
    .badge-success i,
    .badge-error i {
        font-size: 0.7rem;
    }

.badge-itiraz {
    background: #fef3e2;
    color: #b45309;
    border: 1px solid #fcd9a0;
}

.badge-karsi-gorus {
    background: #e8f8f0;
    color: #15803d;
    border: 1px solid #a7e8c5;
}

.badge-processing {
    background: #f0f4ff;
    color: #4f6ef7;
    border: 1px solid #bfcfff;
}

.badge-success {
    background: #e8f8f0;
    color: #15803d;
    border: 1px solid #a7e8c5;
}

.badge-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* İşlem Butonları */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-download-sm {
    background: #e8f8f0;
    color: #15803d;
}

    .btn-download-sm:hover {
        background: #15803d;
        color: #fff;
    }

.btn-error-sm {
    background: #fef2f2;
    color: #dc2626;
    cursor: help;
}

.btn-pending-sm {
    background: #f0f4ff;
    color: #4f6ef7;
}

/* Mobil Kart Alt Bölümü */
.list-card-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
}

/* Sayfalama */
.paging-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-top: 8px;
    border-top: 1px solid #eee;
}

.paging-info {
    font-size: 0.82rem;
    color: #8b8fa3;
}

.paging-buttons {
    display: flex;
    gap: 4px;
}

    .paging-buttons button {
        padding: 6px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        font-size: 0.82rem;
        cursor: pointer;
        font-family: 'Inter', sans-serif;
        transition: all 0.15s;
    }

        .paging-buttons button:hover {
            border-color: #4f6ef7;
            color: #4f6ef7;
        }

        .paging-buttons button.active {
            background: #4f6ef7;
            color: #fff;
            border-color: #4f6ef7;
        }

        .paging-buttons button:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

/* Dilekçelerim - Responsive */
@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        gap: 10px;
    }

        .stats-row .stat-card {
            padding: 12px 16px;
        }

        .stats-row .stat-value {
            font-size: 1.3rem;
        }

    .filter-form {
        flex-direction: column;
        gap: 10px;
    }

    .filter-select,
    .filter-input {
        min-width: unset;
        width: 100%;
    }

    .filter-search {
        min-width: unset;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-result-count {
        text-align: right;
        padding-bottom: 0;
    }
}
