/* Modern Theme Variables & Overrides */
:root {
    --bs-body-bg: #090a0f;
    --bs-body-color: #f8fafc;
}

body {
    font-family: system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    overflow-x: hidden;
}

/* Glassmorphism Navigation */
.navbar-glass {
    background: rgba(9, 10, 15, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Super Modern Rounded Cards with Subtle Glow & Lift */
.modern-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.3);
}

.modern-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.15);
}

/* Gradient Text Accents */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Badges */
.badge-soft-warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-soft-success {
    background-color: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Buttons with Smooth Transition */
.btn-modern {
    border-radius: 0.75rem;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary-glow {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary-glow:hover {
    background: linear-gradient(135deg, #4f46e5 100%, #4338ca 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}
.doc-embed-container {
    background: #0d0f17;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    /* Inverts the white iframe canvas to dark mode to match your web theme */
    filter: invert(0.9) hue-rotate(180deg);
    transition: filter 0.3s ease;
}
/* Optional: ensures your embedded photos don't look inverted/negative */
.doc-embed-container iframe {
    filter: invert(1) hue-rotate(180deg);
}
