:root {
    /* Modern Industry SaaS Theme (Stripe/Linear inspired Light Mode) */
    --bg-base: #f8fafc;
    /* Slate 50 */
    --bg-surface: #ffffff;
    /* White */
    --bg-elevated: #ffffff;
    /* White */
    --bg-level-1: var(--bg-surface);

    --primary: #0af;
    /* Indigo 600 */
    --primary-hover: #0af;
    /* Indigo 700 */
    --primary-glow: rgba(79, 70, 229, 0.15);

    --text-main: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */

    --border-color: #e2e8f0;
    /* Slate 200 */
    --border-light: #cbd5e1;
    /* Slate 300 */

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Universal Marketplace (UM) Theme Variables */
    --um-primary: #0af;
    --um-primary-light: #eff6ff;
    --um-secondary: #0f172a;
    --um-accent: #f59e0b;
    --um-bg: #f8fafc;
    --um-text: #334155;
}

/* Universal Marketplace (UM) Navbar & Components */
.navbar-um {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-um .nav-link {
    color: var(--um-secondary) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-um .nav-link:hover {
    color: var(--um-primary) !important;
}

.btn-um-primary {
    background-color: var(--um-primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 20px !important;
    border: 2px solid var(--um-primary) !important;
    transition: all 0.3s !important;
    font-size: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-um-primary:hover {
    background-color: #1e40af !important;
    border-color: #1e40af !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    transition: all 0.3s;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.4);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--um-secondary) !important;
}

/* Utilities */
.bg-surface {
    background-color: var(--bg-surface) !important;
}

.bg-elevated {
    background-color: var(--bg-elevated) !important;
}

.border-subtle {
    border-top: 0px;
    border: 0px solid var(--border-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 var(--primary-glow);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--bg-elevated);
    border-color: var(--border-light);
    color: var(--text-main);
}

/* Modern Inputs */
.form-control,
.form-select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    border-radius: var(--radius-md);
    padding: 5px 16px;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    color: var(--text-main);
}

.form-control::placeholder {
    color: #94a3b8;
}

/* Form Floating label adjustments */
.form-floating>label {
    color: var(--text-muted);
    padding: 14px 16px;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary);
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
    background-color: var(--bg-surface);
    padding: 0 4px;
    height: auto;
}

/* Cards */
.premium-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
    scrollbar-width: thin !important;
    cursor: pointer;
}

/* Auth Pages (Login / Apply) */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: radial-gradient(circle at top right, rgba(0, 170, 255, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 170, 255, 0.03), transparent 40%);
    position: relative;
    overflow: hidden;
    /* No scroll bar */
}

.auth-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 10;
}



/* Range Sliders */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px var(--primary-glow);
    border: 2px solid var(--bg-surface);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: var(--border-color);
    border-radius: 2px;
}

/* Dashboard Layout */
.app-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    z-index: 20;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.2);
    border-radius: 10px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.4);
}

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-base);
}

.top-nav {
    height: 65px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 32px;
    justify-content: space-between;
}

.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* Sidebar Nav */
.sidebar-logo {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-logo img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}

.sidebar-logo i {
    color: var(--primary);
    margin-right: 12px;
    min-width: 24px;
    text-align: center;
}

.nav-menu {
    padding: 16px 12px;
    list-style: none;
    margin: 0;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
}

.nav-link i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 0px;
    flex-shrink: 0;
    text-align: center;
}

.nav-link:hover {
    background-color: var(--bg-base);
    color: var(--text-main);
}

.nav-link.active {
    background-color: var(--primary-glow);
    color: var(--primary);
}

/* Collapsed Sidebar */
.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-logo {
    padding: 0;
    justify-content: center;
}

.sidebar.collapsed .sidebar-logo span {
    display: none;
}

.sidebar.collapsed .sidebar-logo i {
    margin-right: 0;
}

.sidebar.collapsed .sidebar-logo img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.sidebar.collapsed .nav-link {
    padding: 12px;
    justify-content: center;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed .nav-item .text-uppercase {
    display: none;
}

.sidebar.collapsed .nav-item.mt-4 {
    margin-top: 1rem !important;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

#sidebar-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

#sidebar-toggle:hover {
    background-color: var(--bg-base);
    color: var(--primary);
    border-color: var(--primary);
}

/* Stats Cards */
.stat-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    padding-bottom: 10px !important;
    border-radius: 5px;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.stat-title {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.05em;
    font-weight: 500;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 10px;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-icon {
    height: 42px;
    width: 42px;
    border-radius: var(--radius-md);
    background-color: var(--bg-base);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 16px;
}

/* Dashboard Tables */
/* High-Density Dashboard Tables (SaaS Compact) */
.table {
    color: var(--text-main);
    margin-bottom: 0;
    font-size: 0.8125rem;
}

.table th {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 12px;
    background-color: var(--bg-base);
    opacity: 0.9;
}

.table td {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 12px;
    vertical-align: middle;
    background-color: transparent;
}

.table tbody tr:hover {
    background-color: rgba(79, 70, 229, 0.03);
}

.badge-soft {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bg-soft-primary {
    background-color: rgba(79, 70, 229, 0.1);
    color: #0af;
}

.bg-soft-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.bg-soft-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.bg-soft-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.bg-soft-info {
    background-color: rgba(56, 189, 248, 0.1);
    color: #0ea5e9;
}

.bg-soft-purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.premium-card.active-filter {
    border: 2px solid var(--primary) !important;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
    transform: translateY(-4px);
}

.premium-card.active-filter.bg-soft-primary {
    background-color: rgba(79, 70, 229, 0.1) !important;
}

.stat-icon-pastel {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Status Badge Logic */
.badge-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-approved {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-disbursed {
    background-color: rgba(79, 70, 229, 0.1);
    color: #0af;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.badge-rejected {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-sanctioned {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-under-review {
    background-color: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.badge-pending,
.badge-approved,
.badge-disbursed,
.badge-rejected,
.badge-sanctioned,
.badge-under-review {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

/* Custom Nav Pills */
.nav-pills .nav-link {
    color: var(--text-muted);
    padding: 10px 20px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.nav-pills .nav-link:hover {
    color: var(--text-main);
    background-color: var(--bg-base);
}

.nav-pills .nav-link.active {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px 0 var(--primary-glow);
}

/* Breadcrumbs */
.breadcrumb-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    list-style: none;
    padding: 0;
}

.breadcrumb-item-premium {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item-premium a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item-premium a:hover {
    color: var(--primary);
}

.breadcrumb-item-premium.active {
    color: var(--text-main);
}

.breadcrumb-item-premium:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    font-size: 0.6rem;
    opacity: 0.5;
}

/* Premium Tabs */
.tab-premium {
    border: none !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 16px 4px !important;
    margin-right: 20px !important;
    position: relative;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

.tab-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.tab-premium.active {
    color: var(--primary) !important;
    background-color: var(--primary-glow) !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

.tab-premium.active::after {
    width: 100%;
}

.tab-premium:hover {
    color: var(--text-main) !important;
}

/* Activity Feed & Stepper */
.stepper-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.stepper-item {
    position: relative;
    padding-left: 48px;
    padding-bottom: 24px;
}

.stepper-item:last-child {
    padding-bottom: 0;
}

.stepper-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
    z-index: 1;
}

.stepper-item:last-child::before {
    display: none;
}

.stepper-node {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.stepper-item.active .stepper-node {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 5px var(--primary-glow);
}

.stepper-item.completed .stepper-node {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.stepper-item.completed::before {
    background-color: #3b82f6;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 1050;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        z-index: 1040;
    }

    .sidebar.mobile-open+.sidebar-overlay {
        display: block;
    }

    .top-nav {
        padding: 0 16px;
    }

    .top-nav h5 {
        font-weight: 500 !important;
        font-size: 18px;
    }

    .fw-bold {
        font-weight: 600 bold !important;
    }

    .content-area {
        padding: 20px 16px;
    }


    .premium-card {
        padding: 20px;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .stat-box {
        padding: 16px;
    }

    .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .nav-pills .nav-link {
        white-space: nowrap;
    }

    /* Ensure tables don't break layout */
    .table-responsive {
        border: 0;
    }

    /* Hide some elements on very small screens if needed */
    .breadcrumb-premium {
        display: none;
    }
}

.activity-feed {
    list-style: none;
    padding: 0;
}

.activity-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.activity-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-content {
    background-color: var(--bg-base);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    flex-grow: 1;
    position: relative;
}

.activity-content::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: var(--bg-base);
    transform: rotate(45deg);
}

/* Document Upload UI */
.upload-box {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.upload-box:hover {
    border-color: var(--primary);
    background-color: var(--primary-glow);
    transform: translateY(-2px);
}

.upload-icon-container {
    width: 56px;
    height: 56px;
    background-color: var(--bg-base);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.upload-box:hover .upload-icon-container {
    background-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.progress-premium {
    height: 6px;
    border-radius: 3px;
    background-color: var(--border-color);
    overflow: hidden;
    margin-top: 16px;
}

.progress-premium-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #818cf8);
    width: 0%;
    transition: width 0.5s ease;
}

.upload-progress-meta {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.upload-progress-meta.is-visible {
    display: flex;
}

.upload-progress-percent {
    color: var(--primary);
    white-space: nowrap;
}

.upload-summary {
    border: 1px solid rgba(99, 102, 241, 0.12);
    background-color: rgba(99, 102, 241, 0.06);
    border-radius: 16px;
    padding: 20px 22px;
}

.upload-summary .fw-bold {
    font-size: 0.96rem;
}

.upload-summary .progress-premium {
    margin-top: 0;
}


.upload-success-state {
    display: none;
    color: #10b981;
}

.upload-active .upload-success-state {
    display: block;
}

/* Modern Global Footer */
.main-footer {
    background-color: #1e1b4b;
    /* Deep Indigo Blue */
    color: #e2e8f0;
    padding: 80px 0 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-link {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #64748b;
}

.upload-active .upload-icon-container,
.upload-active h5,
.upload-active p {
    display: none;
}

a {
    text-decoration: none !important;
    color: #fff;
}

.content-area h3 {
    font-weight: 500;
}

.content-area h5 {
    font-weight: 500;
}

.premium-card h6 {
    font-weight: 600;
}

#disbursedBanner h3 {
    color: white !important;
}

#verificationBanner h3 {
    color: white !important;
}

.top-nav h5 {
    font-weight: 500;
    font-size: 16px;
}

.fw-bold {
    font-weight: 500 !important;
}

.premium-card h4 {
    color: var(--primary) !important;
}

.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    border-radius: 5px !important;
}

.prose .small {
    font-size: 12px !important;
    color: var(--text-muted);
}

.redco {
    color: red;
}

.content-area h4 {
    font-weight: 500;
}

.premium-card table h6 {
    color: var(--primary);
    font-size: 14px !important;
}

.upload-box h6 {
    color: var(--primary) !important;
}

.modal-header.bg-main {
    padding: 10px 20px !important;
}

.stat-box {
    padding-bottom: 20px !important;
}

.color-black-co {
    color: black !important;
}

.white-color {
    color: var(--bg-elevated) !important;
}

.btn-register:hover {
    background: var(--primary-hover) !important;
    color: #fff !important;
}

.text-danger {
    --bs-text-opacity: 1;
    color: rgb(253, 89, 0) !important;
}

.blink {
    animation: blinker .5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}


.top-navbar {
    background: #fff;
    z-index: 1000000000;
}


/* --- Aggressive Google Translate Banner Hiding --- */
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-menu-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important;
}

html {
    margin-top: 0px !important;
}

/* Fix for the internal Google top margin */
body>.skiptranslate {
    display: none !important;
}

.custom-translate .translate-btn {
    border-radius: 99px;
    padding: 6px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.custom-translate .translate-btn:hover {
    background: #f8fafc;
    border-color: var(--um-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.custom-translate .dropdown-menu {
    z-index: 9999 !important;
}

.custom-translate .dropdown-item {
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.custom-translate .dropdown-item:hover {
    background: rgba(0, 170, 255, 0.05);
    color: var(--um-primary);
    padding-left: 1.25rem;
}

.lang-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}

.bg-orange {
    background: #f97316;
}

.bg-purple {
    background: #a855f7;
}

.translate-dropdown-menu {
    z-index: 9999 !important;
}

.translate-dropdown-menu.show {
    animation: translateFadeIn 0.3s ease-out;
}

@keyframes translateFadeIn {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hide Google leftovers */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.texts-blue {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.details-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
    color: #1e3a8a;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.details-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 70%);
}

.hero-badge {
    background: rgba(37, 99, 235, 0.1);
    color: #0af;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, border-color 0.3s;
}

.stat-box:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.stat-box h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e3a8a;
}

.stat-box p {
    margin: 0;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Section Styling */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-weight: 600;
    color: var(--um-secondary);
    margin-bottom: 40px;
}

/* Bank Table */
.bank-table-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table> :not(caption)>*>* {
    padding: 1rem 1.5rem;
    background-color: transparent;
    border-bottom-color: #f1f5f9;
}

.table thead th {
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    background: #f8fafc !important;
}

.bank-name {
    font-weight: 500;
    color: var(--um-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.bank-logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--um-primary);
}

/* Cards */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.info-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

ul.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.styled-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #475569;
}

ul.styled-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 500;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
}

/* Filter Bar */
.lender-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.filter-chip {
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--um-primary);
    border-color: var(--um-primary);
    color: #fff;
}

.filter-chip .chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 0.7rem;
    margin-left: 5px;
}

.filter-chip:not(.active) .chip-count {
    background: #f1f5f9;
    color: #64748b;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}

.top-nav-bar {
    background: var(--primary);
    padding: 5px;
}

.top-right a {
    color: var(--bg-base) !important;
}

.top-right a button {
    background: var(--bg-base) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    padding: 6px 24px !important;
    border-radius: 20px !important;
    margin-left: 10px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: none !important;
}

.top-right a button:hover {
    background: var(--primary-hover) !important;
    color: var(--bg-base) !important;
    transform: translateY(-2px) !important;
}

.space-left {
    padding-left: 15px;
}

.top-left {
    padding-top: 3px;
}

.top-rights {
    padding-top: 2px;
    text-align: right;
}

.top-lefts h6 {
    padding-top: 5px;
    font-weight: 500;
    color: var(--bg-base);
}

.dropdown-item i {
    color: var(--primary) !important;
}

.nav-link i {
    color: var(--primary) !important;
}

.loan-types-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
}

.loan-types-nav .hover-bg-light:hover {
    background-color: #f8fafc;
    color: var(--um-primary) !important;
}

.loan-types-nav .transition {
    transition: all 0.2s ease;
}


:root {
    --um-primary: #0af;
    --um-primary-light: #eff6ff;
    --um-secondary: #0f172a;
    --um-accent: #f59e0b;
    --um-bg: #f8fafc;
    --um-text: #334155;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--um-text);
    background-color: var(--um-bg);
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    overflow-x: hidden;
}

/* Navbar */
.navbar-um {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-um .nav-link {
    color: var(--um-secondary);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-um .nav-link:hover {
    color: var(--um-primary);
}

/* Hover Dropdown */
@media (min-width: 992px) {
    .nav-item.dropdown.mega-hover:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-menu-animate {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }
}

.btn-um-primary {
    background-color: var(--um-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 4px 20px !important;
    border: 2px solid var(--um-primary) !important;
    transition: all 0.3s !important;
    font-size: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-um-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af !important;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.btn-um-outline {
    background-color: transparent;
    color: var(--um-primary);
    font-weight: 600;
    border-radius: 8px;
    padding: 4px 20px !important;
    border: 2px solid var(--um-primary) !important;
    transition: all 0.3s !important;
    font-size: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.btn-um-outline:hover {
    background-color: var(--um-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 80px 0 60px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--um-secondary);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #64748b;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.6;
}

.stats-strip {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.stat-item h3 {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--um-primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/* Products Section */
.calc-section {
    padding: 80px 0;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233b82f6' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--um-secondary);
    margin-bottom: 15px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--um-primary);
    transform: translateY(-5px);
}

.explore-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 16px;
}

.product-card:hover .explore-more-overlay {
    opacity: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--um-primary-light);
    color: var(--um-primary);
}

.product-card h4 {
    font-weight: 600;
    color: var(--um-secondary);
    margin-bottom: 10px;
    font-size: 19px;
}

.product-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-apply {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 7px 12px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid var(--um-primary);
    color: var(--um-primary);
    transition: all 0.3s;
    font-size: 14px;
}

.btn-apply:hover {
    background: var(--um-primary);
    color: #ffffff;
}

/* Steps Section */
.steps-section {
    background: #ffffff;
    padding: 80px 0;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--um-primary-light);
    color: var(--um-primary);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Calculators */
.calc-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.calc-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.calc-card:hover {
    border-color: var(--um-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.calc-icon {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #f59e0b;
}

.roadmap-card h5 {
    font-size: 1.35rem;
}

.calc-card h6 {
    font-size: 1.1rem;
}

/* Partners Marquee */
.partners-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.partners-section h4 {
    font-size: 1.6rem;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.marquee-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: #94a3b8;
    transition: color 0.3s;
}

.marquee-item:hover {
    color: var(--um-primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer-um {
    background: var(--um-secondary);
    color: #cbd5e1;
    padding: 80px 0 30px;
}

.footer-um h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.35rem;
}

.footer-um a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-um a:hover {
    color: var(--um-primary);
}

.fw-bold {
    font-weight: 600 !important;
}

.fw-semibold {
    font-weight: 500 !important;
}

.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    transition: all 0.3s;
}

.qr-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.qr-card:hover {
    border-color: var(--um-primary);
    background: #f8fafc;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #fff;
    margin: 0 auto 10px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-placeholder::before {
    content: "\f029";
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 50px;
    color: #1e293b;
    opacity: 0.8;
}

/* ==========================================================================
           FINANCIAL CALCULATORS WIDGET (GLASSMORPHIC & INTERACTIVE)
           ========================================================================== */
.calc-tabs-sidebar {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 16px;
}

.calc-tab-btn {
    background: transparent;
    color: #475569;
    width: 100%;
    border: 1px solid transparent;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    padding: 14px;
}

.calc-tab-btn:hover {
    background: #f8fafc;
    color: var(--um-primary);
    transform: translateX(4px);
}

.calc-tab-btn.active {
    background: linear-gradient(135deg, #0af 0%, #1e40af 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 170, 255, 0.25);
    border-color: #0af !important;
}

.calc-tab-btn.active .tab-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.calc-tab-btn.active .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.calc-tab-btn.active h6 {
    color: #ffffff !important;
}

.tab-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.calc-workspace-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Interactive Sliders Customization */
.calc-slider-group {
    margin-bottom: 24px;
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.calc-slider-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.calc-slider-val-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-slider-unit {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--um-primary);
}

.calc-slider-number-input {
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 8px;
    padding: 3px 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    text-align: right;
    width: 130px;
    transition: all 0.2s ease;
}

.calc-slider-number-input:focus {
    border-color: var(--um-primary);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.15);
}

/* Apple Activity concentric circles inspired design */
.chart-container-emi {
    width: 170px;
    height: 170px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-circle-svg {
    transform: rotate(-90deg);
}

.chart-circle-bg {
    fill: none;
    stroke: #f1f5f9;
}

.chart-circle-bar {
    fill: none;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-center-val {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80%;
}

.chart-center-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.chart-center-lbl {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* FOIR progress bars */
.foir-meter-container {
    width: 100%;
    margin-top: 15px;
}

.foir-bar-wrap {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 6px;
}

.foir-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease, background-color 0.4s ease;
}

/* Gold LTV Safety meter */
.gauge-meter-wrapper {
    position: relative;
    width: 200px;
    height: 100px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.gauge-track {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 20px solid #f1f5f9;
    position: absolute;
    top: 0;
    left: 0;
}

.gauge-fill-active {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 20px solid #10b981;
    border-bottom-color: transparent;
    border-left-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-45deg);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.gauge-center-text {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-val-large {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.gauge-lbl-small {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

/* Colorful & Attractive Doorstep Style */
.doorstep-integrated-strip {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 50%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-left: 6px solid #f59e0b;
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.doorstep-integrated-strip:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
}

.doorstep-animation-box {
    position: relative;
    width: 80px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f8fafc;
    flex-shrink: 0;
}

.road-track {
    position: absolute;
    bottom: 12px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #e2e8f0, #e2e8f0 4px, transparent 4px, transparent 8px);
    opacity: 0.6;
}

.bike-ride {
    color: #d97706;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
    animation: drive-to-home-v2 6s infinite ease-in-out;
}

.home-idle {
    color: #92400e;
    font-size: 1.2rem;
    position: absolute;
    right: 8px;
    z-index: 2;
    animation: home-bounce 3s infinite;
}

@keyframes drive-to-home-v2 {
    0% {
        transform: translateX(-40px);
        opacity: 0;
    }

    10% {
        transform: translateX(0);
        opacity: 1;
    }

    40% {
        transform: translateX(45px);
    }

    45% {
        transform: translateX(42px) rotate(-5deg);
    }

    50% {
        transform: translateX(45px) rotate(0);
    }

    80% {
        transform: translateX(45px);
        opacity: 1;
    }

    95% {
        transform: translateX(85px);
        opacity: 0;
    }

    100% {
        transform: translateX(-40px);
        opacity: 0;
    }
}

@keyframes home-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.doorstep-text-wrap {
    line-height: 1.4;
}

.doorstep-text-wrap strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #78350f;
    font-size: 1rem;
    font-weight: 800;
}

.live-tag {
    background: linear-gradient(90deg, #ef4444, #f87171);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    animation: tag-pulse 2s infinite;
}

@keyframes tag-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.doorstep-text-wrap small {
    color: #b45309;
    font-size: 0.85rem;
    font-weight: 500;
}

.cibil-login-modal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    animation: cibilModalPop 0.5s cubic-bezier(0.2, 1.2, 0.4, 1);
}

.cibil-login-modal .modal-body {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 58%, #fff7ed 100%);
    padding: 34px;
    position: relative;
}

.cibil-login-modal .modal-body::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 16%, rgba(14, 165, 233, 0.16), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(245, 158, 11, 0.17), transparent 24%);
    pointer-events: none;
}

.cibil-login-icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0ea5e9, #0af);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
    animation: cibilIconPulse 1.8s ease-in-out infinite;
}

.cibil-login-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 8px 13px;
    text-transform: uppercase;
}

.cibil-login-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: 0;
}

.cibil-login-message {
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

@keyframes cibilModalPop {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cibilIconPulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
    }

    50% {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 24px 46px rgba(37, 99, 235, 0.38);
    }
}

.bal-details-no label {
    margin-top: 10px;
}

.bal-details-no input {
    border-radius: 7px;
    padding: 10px;
    border: 2px solid #000;
}

.nav-pills .nav-link.active i {
    color: var(--bg-base) !important;
}

.form-scroller {
    height: 100% !important;
}

.calc-cards {
    display: block !important;
}

.min-but button {
    padding: 5px 12px;
}
.ci-heading{
    font-weight: 700 !important;
    font-size: 55px !important;
}

.ci-deco-top {
  animation: floatCard 0s ease-in-out infinite !important;
}

.ci-deco-bot {
  animation: floatCard 0s ease-in-out infinite !important;
}
.fin-ri h2{
    font-weight: 600 !important;
} 

.progress-out{
    width: 100%;
    height: 20px;
    background-color: #bbd8ff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.progress-in{
     width: 67%;
     height: 20px;
     background-color: var(--primary);
     border-radius: 20px;
}
.sidebar{
    background: var(--bg-base) !important;
    border-right: 1px solid #ddd;
}

.nav-link:hover{
    color: var(--primary) !important;
}