@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    --sidebar-width: 260px;
    
    /* Premium EV Cyberpunk & Engineering Theme Palette */
    --blue: #06b6d4;       /* Sleek High-Voltage Cyan instead of generic blue */
    --green: #10b981;      /* Clean Energy Volt Emerald instead of generic green */
    --yellow: #f59e0b;     /* High-voltage Amber */
    --red: #f43f5e;        /* Cyber Rose Red */
    
    /* Theme Neutrals */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #030712;
}

body {
    background: #f8fafc;
    color: #1e293b;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.mobile-topbar {
    align-items: center;
    background: #ffffff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.mobile-topbar .brand {
    margin: 0;
}

.global-loader {
    align-items: center;
    background: rgba(255, 255, 255, .65);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 2000;
}

.sidebar {
    background: #ffffff;
    flex: 0 0 var(--sidebar-width);
    min-height: calc(100vh - 58px);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.brand {
    margin-bottom: 1.5rem;
}

.brand-image {
    display: block;
    height: auto;
    max-width: 176px;
    width: 100%;
}

.brand-image-mobile {
    max-height: 42px;
    max-width: 132px;
    object-fit: contain;
}

.sidebar .nav-link {
    border-radius: .5rem;
    color: #475569;
    margin-bottom: .25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background: rgba(6, 182, 212, 0.06);
    color: #0891b2;
}

.sidebar .nav-link.active {
    background: rgba(6, 182, 212, 0.12);
    color: #0891b2;
    font-weight: 700;
}

.sidebar-user {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: .75rem;
    padding-top: 1rem;
}

.sidebar-user strong {
    display: block;
}

.sidebar-mobile {
    border: 0 !important;
    min-height: auto;
}

.content {
    flex: 1;
    padding: 2rem;
}

.page-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.75rem;
    margin: 0;
}

.page-header p {
    color: #6b7280;
    margin: .25rem 0 0;
}

.metric {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: .75rem;
    color: #64748b;
    display: block;
    height: 100%;
    padding: 1.25rem 1.15rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.metric-link {
    cursor: pointer;
    text-decoration: none;
}

.metric:hover,
.metric:focus-visible {
    transform: translateY(-2.5px);
    box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.25);
}

.metric:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.28);
    outline-offset: 3px;
}

.metric::before {
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    border-radius: 999px;
    content: "";
    display: block;
    height: 4px;
    margin-bottom: .75rem;
    width: 42px;
}

.metric span {
    color: var(--slate-900);
    display: block;
    font-size: 1.85rem;
    font-weight: 700;
    margin-top: .5rem;
    letter-spacing: -0.02em;
}

.login-screen {
    align-items: center;
    display: flex;
    min-height: 100vh;
    justify-content: center;
    background-color: #020617;
    background-image: 
        radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.12) 0px, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

/* Futuristic Glowing Blobs in Background */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}
.glow-blob-1 {
    width: 350px;
    height: 350px;
    background: #00f2fe;
    top: 15%;
    left: 15%;
}
.glow-blob-2 {
    width: 450px;
    height: 450px;
    background: #10b981;
    bottom: 10%;
    right: 15%;
}

.login-panel {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.5rem;
    box-shadow: 
        0 24px 64px -12px rgba(0, 0, 0, 0.5), 
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    max-width: 440px;
    padding: 2.75rem 2.25rem;
    width: 100%;
    z-index: 10;
    position: relative;
    animation: loginFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Brand Typography & Logos */
.login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}
.brand-logo {
    display: block;
    filter: drop-shadow(0 12px 28px rgba(6, 182, 212, 0.22));
    height: auto;
    max-width: 230px;
    object-fit: contain;
    width: min(72vw, 230px);
}

.login-brand-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-brand-accent {
    background: linear-gradient(135deg, #00f2fe 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-subheading {
    font-size: 0.725rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2.25rem;
}

/* Inputs and Forms styling */
.login-panel .form-label {
    color: #94a3b8;
    font-size: 0.825rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}
.login-panel .form-control {
    background: rgba(15, 23, 42, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0.75rem !important;
    color: #f8fafc !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.login-panel .form-control:focus {
    background: rgba(15, 23, 42, 0.75) !important;
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15) !important;
    color: #ffffff !important;
    outline: none !important;
}
.login-panel .form-control::placeholder {
    color: #475569 !important;
}
.login-panel .mb-3:focus-within .form-label {
    color: #00f2fe;
}

/* Gradient Spark Submit Button */
.login-panel .btn-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #06b6d4 50%, #10b981 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    border-radius: 0.75rem !important;
    color: #020617 !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    padding: 0.8rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25) !important;
}
.login-panel .btn-primary:hover {
    background-position: right center !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
}
.login-panel .btn-primary:active {
    transform: translateY(0.5px) !important;
    box-shadow: 0 2px 10px rgba(6, 182, 212, 0.2) !important;
}

/* Custom cybernetic alerts */
.login-panel .alert {
    background: rgba(244, 63, 94, 0.12) !important;
    border: 1px solid rgba(244, 63, 94, 0.25) !important;
    border-radius: 0.75rem !important;
    color: #fda4af !important;
    font-size: 0.85rem !important;
    padding: 0.75rem 1rem !important;
    margin-bottom: 1.5rem !important;
}

.project-badge {
    align-items: center;
    display: inline-flex;
    gap: .25rem;
    margin: .125rem;
}

.btn-close-sm {
    height: .55rem;
    width: .55rem;
}

.profile-summary,
.profile-form,
.settings-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.25rem;
}

.settings-panel {
    height: 100%;
}

.settings-panel-header {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    padding-bottom: .9rem;
}

.settings-panel-header h2 {
    color: var(--slate-900);
    font-size: 1.1rem;
    margin: 0;
}

.settings-panel-header p {
    color: #64748b;
    margin: .25rem 0 0;
}

.settings-list {
    display: grid;
    gap: .75rem;
}

.settings-switch {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    display: flex;
    gap: .75rem;
    margin: 0;
    min-height: 72px;
    padding: .9rem 1rem .9rem 3.25rem;
}

.settings-switch .form-check-input {
    flex: 0 0 auto;
    margin-left: -2.25rem;
    margin-top: .2rem;
}

.settings-switch .form-check-label {
    display: grid;
    gap: .2rem;
}

.settings-switch .form-check-label span {
    color: var(--slate-900);
    font-weight: 700;
}

.settings-switch .form-check-label small {
    color: #64748b;
    line-height: 1.35;
}

.settings-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.settings-subsection {
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
    padding-top: 1rem;
}

.settings-subsection h3 {
    color: var(--slate-900);
    font-size: 1rem;
    margin: 0;
}

.settings-subsection-header {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .85rem;
}

.settings-subsection .form-control,
.settings-subsection .form-select {
    border-color: rgba(245, 158, 11, 0.85) !important;
}

.settings-divider {
    border-color: #cbd5e1;
    margin: 1.75rem 0 1.25rem;
}

.settings-section-label {
    color: #64748b !important;
    font-size: .95rem !important;
    letter-spacing: .04em;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
}

.profile-avatar {
    aspect-ratio: 1;
    border-radius: 50%;
    height: 128px;
    object-fit: cover;
    width: 128px;
}

.profile-avatar-sm {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 56px;
    justify-content: center;
    object-fit: cover;
    width: 56px;
}

.user-detail-field {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .75rem;
}

.user-detail-field span {
    color: #64748b;
    display: block;
    font-size: .8rem;
    margin-bottom: .25rem;
}

.user-detail-field strong {
    color: #111827;
    overflow-wrap: anywhere;
}

.project-card,
.detail-panel,
.finance-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem;
}

.avatar-stack {
    display: flex;
}

.avatar-sm {
    align-items: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    margin-left: -.45rem;
    object-fit: cover;
    width: 32px;
}

.avatar-sm:first-child {
    margin-left: 0;
}

.avatar-fallback {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: .7rem;
    font-weight: 700;
}

.kanban-board {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    overflow-x: auto;
}

.kanban-column {
    background: #eef2f7;
    border: 1px solid #dbe2ea;
    border-radius: .5rem;
    min-height: 62vh;
    padding: .75rem;
}

.kanban-column-header {
    align-items: center;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.kanban-dropzone {
    min-height: 55vh;
}

.task-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    cursor: grab;
    margin-bottom: .75rem;
    padding: .85rem;
}

.task-title {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
}

.activity-feed {
    display: grid;
    gap: .75rem;
}

.section-heading {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.activity-item {
    align-items: flex-start;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    gap: .75rem;
    padding-bottom: .75rem;
}

.activity-item small {
    color: #64748b;
    display: block;
}

.activity-icon {
    background: #dbeafe;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 32px;
    height: 32px;
    position: relative;
    width: 32px;
}

.activity-icon::after {
    background: var(--blue);
    border-radius: 50%;
    content: "";
    height: 10px;
    left: 11px;
    position: absolute;
    top: 11px;
    width: 10px;
}

.alert-card {
    display: block;
    text-decoration: none;
}

.notification-menu {
    max-width: 360px;
    min-width: 320px;
}

.notification-toggle {
    align-items: center;
    display: inline-flex;
    gap: .35rem;
}

.bell-icon {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
}

.notification-item {
    white-space: normal;
}

.notification-item small {
    color: #64748b;
    display: block;
}

.empty-state {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    text-align: center;
}

.empty-state-mark {
    background:
        linear-gradient(135deg, #dbeafe 0 45%, transparent 45%),
        linear-gradient(45deg, #dcfce7 0 45%, transparent 45%),
        #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    height: 56px;
    margin-bottom: .75rem;
    width: 56px;
}

.filter-bar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .75rem;
}

.file-gallery {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.file-tile,
.file-thumb {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: .375rem;
    color: #1d4ed8;
    display: flex;
    gap: .5rem;
    min-height: 72px;
    padding: .65rem;
    text-decoration: none;
    width: 100%;
}

.file-thumb {
    align-items: stretch;
    cursor: zoom-in;
    text-align: left;
}

.file-thumb img {
    border-radius: .25rem;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.file-type-icon {
    align-items: center;
    background: #eef2ff;
    border-radius: .25rem;
    color: #1d4ed8;
    display: inline-flex;
    flex: 0 0 48px;
    font-size: .75rem;
    font-weight: 700;
    justify-content: center;
}

.upload-zone {
    align-items: center;
    border: 2px dashed #94a3b8;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    text-align: center;
}

.upload-zone span {
    color: #64748b;
    font-size: .875rem;
}

.upload-zone.is-dragover {
    background: #eef2ff;
    border-color: #2563eb;
}

.upload-inline {
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr auto;
}

@media (max-width: 768px) {
    .app-shell {
        display: block;
    }

    .app-shell > .sidebar {
        display: none;
    }

    .content {
        padding: 1rem;
    }

    .kanban-board {
        grid-template-columns: repeat(4, 82vw);
    }

    .upload-inline {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .mobile-topbar [data-bs-target="#mobileSidebar"] {
        display: none;
    }
}

/* ==========================================================================
   GLOBAL VOLTSTRIDE PREMIUM UI DESIGN SYSTEM OVERRIDES
   ========================================================================== */

/* Modern Topbar */
.mobile-topbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.mobile-topbar .brand {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

/* Sidebar Upgrades */
.sidebar {
    border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: #ffffff !important;
}
.sidebar-user {
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding-top: 1.25rem !important;
}

/* Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #10b981 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.18) !important;
}
.btn-primary:hover {
    background-position: right center !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28) !important;
    color: #ffffff !important;
}
.btn-primary:active {
    transform: translateY(0.5px) !important;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.15) !important;
}
.btn-outline-primary {
    border: 1.5px solid #06b6d4 !important;
    color: #0891b2 !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.btn-outline-primary:hover {
    background: rgba(6, 182, 212, 0.08) !important;
    border-color: #06b6d4 !important;
    color: #0891b2 !important;
    transform: translateY(-1px) !important;
}
.btn-secondary, .btn-outline-secondary {
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

/* Cybernetic Form Inputs */
.form-control, .form-select {
    border-radius: 0.5rem !important;
    border: 1px solid rgba(203, 213, 225, 0.8) !important;
    padding: 0.65rem 0.85rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 0.9rem !important;
    color: var(--slate-900) !important;
    background-color: #ffffff !important;
}
.form-control:focus, .form-select:focus {
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12) !important;
    outline: none !important;
}
.form-label {
    font-weight: 600 !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem !important;
}

/* Premium Cards & Containers */
.project-card, .detail-panel, .profile-summary, .profile-form, .settings-panel, .user-detail-field, .filter-bar {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 0.75rem !important;
    padding: 1.5rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.project-card:hover, .detail-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -12px rgba(6, 182, 212, 0.08) !important;
    border-color: rgba(6, 182, 212, 0.2) !important;
}

.user-detail-field {
    padding: 1rem !important;
}

/* Budgets & Progress Indicators */
.progress {
    border-radius: 999px !important;
    height: 9px !important;
    background: #f1f5f9 !important;
    overflow: hidden !important;
    border: none !important;
}
.progress-bar {
    border-radius: 999px !important;
    background: linear-gradient(90deg, #00f2fe, #06b6d4) !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
}
.bg-success {
    background: linear-gradient(90deg, #10b981, #059669) !important;
}
.bg-warning {
    background: linear-gradient(90deg, #f59e0b, #d97706) !important;
}
.bg-danger {
    background: linear-gradient(90deg, #f43f5e, #e11d48) !important;
}

/* Table Upgrades */
.table-responsive {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 0.75rem !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01) !important;
}
.table {
    margin-bottom: 0 !important;
    border-color: rgba(226, 232, 240, 0.8) !important;
}
.table thead th {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    font-size: 0.725rem !important;
    letter-spacing: 0.06em !important;
    background-color: #f8fafc !important;
    border-bottom: 2px solid rgba(226, 232, 240, 0.9) !important;
    padding: 1.15rem 1rem !important;
}
.table tbody td {
    padding: 1.15rem 1rem !important;
    color: #334155 !important;
    font-size: 0.875rem !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
}

/* Pill Badges */
.badge {
    border-radius: 999px !important;
    padding: 0.35em 0.8em !important;
    font-weight: 600 !important;
    font-size: 0.725rem !important;
    letter-spacing: 0.01em !important;
}
.text-bg-secondary {
    background: rgba(100, 116, 139, 0.08) !important;
    color: #475569 !important;
    border: 1px solid rgba(100, 116, 139, 0.15) !important;
}
.text-bg-success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #065f46 !important;
    border: 1px solid rgba(16, 185, 129, 0.18) !important;
}
.text-bg-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #92400e !important;
    border: 1px solid rgba(245, 158, 11, 0.18) !important;
}
.text-bg-danger {
    background: rgba(244, 63, 94, 0.1) !important;
    color: #9f1239 !important;
    border: 1px solid rgba(244, 63, 94, 0.18) !important;
}

/* High-Fidelity Kanban Board */
.kanban-board {
    gap: 1.25rem !important;
    padding: 0.5rem 0 !important;
}
.kanban-column {
    background: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 0.85rem !important;
    padding: 1.15rem 1rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01) !important;
}
.kanban-column-header {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: var(--slate-900) !important;
    font-size: 0.925rem !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1.15rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}
.task-card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 0.75rem !important;
    padding: 1.15rem 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.task-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px -6px rgba(6, 182, 212, 0.08) !important;
    border-color: rgba(6, 182, 212, 0.25) !important;
}
.task-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: var(--slate-900) !important;
    font-size: 0.95rem !important;
}
.task-title:hover {
    color: #0891b2 !important;
}

/* Modals Upgrades */
.modal-content {
    border: none !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18) !important;
    background: #ffffff !important;
    overflow: hidden !important;
}
.modal-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: #f8fafc !important;
    padding: 1.5rem !important;
}
.modal-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: #f8fafc !important;
    padding: 1.15rem 1.5rem !important;
}
.modal-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: var(--slate-900) !important;
    font-size: 1.2rem !important;
    letter-spacing: -0.01em !important;
}

/* File Upload Galleries */
.file-tile, .file-thumb {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.01) !important;
    transition: all 0.2s ease !important;
}
.file-tile:hover, .file-thumb:hover {
    border-color: #06b6d4 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.05) !important;
}
.upload-zone {
    border: 2px dashed rgba(203, 213, 225, 0.9) !important;
    border-radius: 0.75rem !important;
    background: #f8fafc !important;
    transition: all 0.25s ease !important;
}
.upload-zone:hover {
    border-color: #06b6d4 !important;
    background: rgba(6, 182, 212, 0.02) !important;
}
