* { box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    min-height: 100vh;
    margin: 0;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1e293b; }
::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-dark-custom { background: #1e293b !important; }

.form-control, .form-select {
    background-color: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.form-control:focus, .form-select:focus {
    background-color: #0f172a;
    border-color: #3b82f6;
    color: #e2e8f0;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.form-label {
    color: #94a3b8;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.upload-area {
    border: 2px dashed #475569;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(51, 65, 85, 0.3);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.pdf-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #fff;
}

.pdf-loading-content { text-align: center; }
.pdf-loading-content p { font-size: 18px; margin: 0; }

.dropdown-menu-dark { background: #1e293b; border-color: #334155; }
.dropdown-menu-dark .dropdown-item { color: #e2e8f0; }
.dropdown-menu-dark .dropdown-item:hover { background: #334155; }
