/* SaminusAI Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

html {
    font-size: 13.5px !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

@media (min-width: 1400px) {
    html {
        font-size: 14.2px !important;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 13px !important;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 12px !important;
    }
}

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-dark: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    --mesh-gradient: radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
                     radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
                     radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    letter-spacing: -0.019em;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.02em;
}

.fw-black { font-weight: 900 !important; }
.fw-extrabold { font-weight: 800 !important; }
.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }
.uppercase { text-transform: uppercase; }

/* Moving Blobs */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    animation: moveBlob 25s infinite alternate ease-in-out;
}

.blob-2 {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    width: 700px;
    height: 700px;
    right: -300px;
    top: -100px;
    animation-delay: -7s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.2); }
}

/* Premium Mesh Gradients */
.mesh-bg {
    background-color: var(--dark);
    background-image: var(--mesh-gradient);
    position: relative;
}

.mesh-bg-light {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 0%, rgba(236, 72, 153, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%);
}

/* Navbar Tuning */
.navbar-glass {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--shadow-premium);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white !important;
    border: none;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 40px -10px rgba(99, 102, 241, 0.7);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px -5px rgba(236, 72, 153, 0.4);
}

.btn-gradient:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px -5px rgba(236, 72, 153, 0.6);
}

/* Sections */
.section-padding {
    padding: 140px 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Features Grid */
.feature-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.animate-scroll-up {
    animation: scrollUp 15s linear infinite;
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Footer */
.footer-dark {
    background: var(--dark);
    color: white;
    padding: 120px 0 60px;
}

@media (max-width: 992px) {
    html { font-size: 14px; }
    .hero-title { font-size: 2.8rem !important; }
    .display-3 { font-size: 2.2rem !important; }
    .display-4 { font-size: 2rem !important; }
    .section-title { font-size: 2.2rem !important; }
    .section-padding { padding: 60px 0 !important; }
    h1, .h1 { font-size: 2rem !important; }
    h2, .h2 { font-size: 1.75rem !important; }
    p.lead, .lead { font-size: 1.1rem !important; }
}

/* Global Mobile Fixes */
@media (max-width: 575px) {
    main { padding-top: 0 !important; margin-top: 0 !important; }
    .hero-section, .hero-gap-fix {
        margin-top: -80px !important;
    }
    .hero-section .d-flex.flex-wrap, .hero-gap-fix .d-flex.flex-wrap {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
    .hero-section .btn, .hero-gap-fix .btn {
        padding: 14px 10px !important;
        font-size: 0.72rem !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .social-btn-premium {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }
    .social-btn-premium svg {
        width: 14px !important;
        height: 14px !important;
    }
    .gap-4 {
        gap: 0.5rem !important;
    }
}

/* MNC-Style Premium Grid Layout Enhancements */
/* Solves the flexbox grid wrapping bug where the main content .col gets pushed below the sidebar .col-md-auto on desktop screens */
@media (min-width: 768px) {
    .row.g-0 > .col {
        min-width: 0 !important;
        flex: 1 1 0% !important;
    }
}

/* Saminus Micro-typography & High-Density Dashboard Tuning */
.extra-small {
    font-size: 0.72rem !important;
    font-weight: 500;
}
.extra-small:not(.btn):not(button):not(a.btn) {
    color: #6b7280;
}

.hover-underline:hover {
    text-decoration: underline !important;
}

#aws-global-search {
    font-size: 0.82rem !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

.navbar-nav .nav-link[href*="wallet"] {
    font-size: 0.78rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

#branchSwitcherDropdown {
    font-size: 0.78rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

#bellDropdown i {
    font-size: 1.15rem !important;
}

.table th {
    font-size: 0.78rem !important;
    letter-spacing: 0.03em !important;
}

/* Saminus Usage Mode Premium Active States */
.btn-check:checked + label[for="mode_personal"] {
    background-color: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
}
.btn-check:checked + label[for="mode_personal"] .rounded-circle {
    background-color: #ffffff !important;
    color: #111827 !important;
}
.btn-check:checked + label[for="mode_personal"] .rounded-circle i {
    color: #111827 !important;
}

.btn-check:checked + label[for="mode_managed"] {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
}
.btn-check:checked + label[for="mode_managed"] .rounded-circle {
    background-color: #ffffff !important;
    color: #4f46e5 !important;
}
.btn-check:checked + label[for="mode_managed"] .rounded-circle i {
    color: #4f46e5 !important;
}

/* ==========================================================================
   MNC-GRADE CUSTOM BUTTON & CONTRAST REFINEMENT ENGINE
   Designed for absolute precision, retina fidelity, and subpixel elegance.
   ========================================================================== */

/* Universal Button Core Rules */
.btn {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.015em !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-transform: none !important;
}

/* Perfect alignment for icons inside buttons */
.btn i, .btn svg {
    flex-shrink: 0 !important;
    font-size: 1.05em !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Premium MNC Button Padding & Sizing System */
.btn-sm, .btn.btn-sm {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.76rem !important;
    border-radius: 6px !important;
}

.btn:not(.btn-sm):not(.btn-lg) {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.84rem !important;
    border-radius: 8px !important;
}

.btn-lg, .btn.btn-lg {
    padding: 0.7rem 1.6rem !important;
    font-size: 0.94rem !important;
    border-radius: 10px !important;
}

/* High-Contrast Color Overrides (Ensures perfect legibility on all themes) */
.btn-primary, .btn.btn-primary {
    color: #ffffff !important;
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 0px rgba(99, 102, 241, 0.5) !important;
}

.btn-primary:hover, .btn.btn-primary:hover {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25) !important;
}

.btn-light, .btn.btn-light {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

.btn-light:hover, .btn.btn-light:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

.btn-white, .btn.btn-white {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

.btn-white:hover, .btn.btn-white:hover {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

/* Custom Specialized Button Refinements (Meta Templates & Commerce Pages) */
.btn-stripe-action {
    background-color: #6366f1 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
}

.btn-stripe-action:hover {
    background-color: #4f46e5 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

.btn-json-preview {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.35rem 0.8rem !important;
    border-radius: 6px !important;
    font-size: 0.76rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
}

.btn-json-preview:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.btn-action-view {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    font-weight: 500 !important;
    padding: 0.35rem 0.8rem !important;
    border-radius: 6px !important;
    font-size: 0.76rem !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    white-space: nowrap !important;
}

.btn-action-view:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   MNC-GRADE CORE TYPOGRAPHY & LAYOUT BALANCING
   ========================================================================== */

/* Unified Typography Colors & Sizing Contrast */
body {
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.text-muted {
    color: #64748b !important;
}

/* Modern Minimalist Form Inputs */
.form-control, .form-select {
    font-size: 0.85rem !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    transition: all 0.15s ease-in-out !important;
}

.form-control:focus, .form-select:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
    background-color: #ffffff !important;
}

/* Minimalist Table Precision */
.table th, .table-stripe th {
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    background-color: #fafbfa !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid rgba(227, 233, 243, 0.8) !important;
}

.table td, .table-stripe td {
    padding: 1rem 1.25rem !important;
    font-size: 0.85rem !important;
    color: #334155 !important;
    vertical-align: middle !important;
    border-bottom: 1px solid rgba(227, 233, 243, 0.5) !important;
}

/* Premium Dark Card Support */
.card-premium-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.3) !important;
}
.card-premium-dark h1,
.card-premium-dark h2,
.card-premium-dark h3,
.card-premium-dark h4,
.card-premium-dark h5,
.card-premium-dark h6 {
    color: #ffffff !important;
}
.card-premium-dark p {
    color: rgba(255, 255, 255, 0.7) !important;
}
.card-premium-dark .extra-small:not(.btn) {
    color: rgba(255, 255, 255, 0.5) !important;
}
.card-premium-dark hr {
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.card-premium-dark .text-success {
    color: #34d399 !important; /* Premium glowing emerald */
}
.card-premium-dark .text-primary {
    color: #818cf8 !important; /* Bright accessible indigo */
}

/* Premium MNC-grade Glassmorphism & Fluid Styling */
:root {
    --apple-bg: #FAF9F6;
    --bg-light-gray: #fdfdff;
    --primary-brand: #6a5acd;
    --card-padding: clamp(1.2rem, 3vw, 2.5rem);
    --main-gutter: clamp(1rem, 2vw, 2rem);
    --shadow-glass: 0 10px 40px rgba(106, 90, 205, 0.08);
    --apple-card: rgba(255, 255, 255, 0.85);
    --apple-border: rgba(255, 255, 255, 0.45);
    --apple-text: #1d1d1f;
    --apple-secondary: #86868b;
    --apple-blue: #6a5acd;
    --apple-green: #34c759;
    --apple-orange: #ff9500;
    --apple-radius: clamp(1rem, 2vw, 1.5rem);
    --apple-shadow: var(--shadow-glass);
}
body {
    background-color: var(--apple-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--apple-text);
    overflow-x: hidden;
}

/* Fluid Typography */
h1, .h1 {
    font-size: clamp(1.6rem, 4vw, 3rem) !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #FF69B4, #6A5ACD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.03em;
}
h2, .h2 {
    font-size: clamp(1.3rem, 3vw, 2.4rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.03em;
}
h3, .h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.8rem) !important;
    font-weight: 400 !important;
}

/* Hyper-Responsive CSS Grid Container */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 20vw, 320px), 1fr));
    gap: var(--main-gutter);
}

/* Premium Glassmorphic Cards */
.mnc-stat-card, .mnc-table-card, .glass-card-premium {
    background: var(--apple-card) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--apple-border) !important;
    border-radius: var(--apple-radius) !important;
    box-shadow: var(--shadow-glass) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mnc-stat-card:hover, .mnc-table-card:hover, .glass-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(106, 90, 205, 0.15) !important;
}
.mnc-icon-wrapper {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(106, 90, 205, 0.08);
    color: var(--apple-blue);
    font-size: 1.15rem;
    box-shadow: inset 0 2px 4px rgba(106, 90, 205, 0.05);
}
.mnc-progress-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}
.mnc-progress-fill {
    height: 100%;
    border-radius: 8px;
    background: var(--apple-blue);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mnc-section-title {
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--apple-text);
    font-size: 1.15rem;
}
.mnc-table-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: var(--apple-secondary);
    font-weight: 700;
    text-transform: uppercase;
}
.mnc-table-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease;
}
.mnc-table-row:hover {
    background-color: rgba(106, 90, 205, 0.02);
}
.mnc-table-row:last-child {
    border-bottom: none;
}
.mnc-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.04);
    color: var(--apple-secondary);
    letter-spacing: 0.3px;
}
.mnc-badge-active {
    background: rgba(52, 199, 89, 0.12);
    color: var(--apple-green);
}
.mnc-support-card, .card-premium-dark {
    background: linear-gradient(135deg, #1d1d1f 0%, #000000 100%) !important;
    border-radius: var(--apple-radius);
    color: white !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: var(--card-padding);
}
.mnc-support-card *, .card-premium-dark * {
    color: white !important;
}
.mnc-support-card .btn, .card-premium-dark .btn {
    color: #0f172a !important;
}
.mnc-support-card .btn-primary, .card-premium-dark .btn-primary {
    color: #ffffff !important;
}
.val-text {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--apple-text);
    margin-top: 8px;
}
.label-text {
    font-size: 0.85rem;
    color: var(--apple-secondary);
    font-weight: 600;
    letter-spacing: 0.2px;
}
.mnc-btn-outline {
    border: 1.5px solid rgba(106, 90, 205, 0.2);
    background: #ffffff;
    color: var(--apple-blue);
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(106, 90, 205, 0.05);
}
.mnc-btn-outline:hover {
    background: rgba(106, 90, 205, 0.05);
    border-color: var(--apple-blue);
    transform: translateY(-1px);
}

/* Zoom and Scaling Support for high-dpi screens */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    body {
        padding: 0.5rem !important;
    }
    .mnc-stat-card, .mnc-table-card, .glass-card-premium {
        border-radius: 1rem !important;
    }
}

/* ==========================================================================
   PORTAL WIDTH MAXIMIZER & PREMIUM HEADER STANDARD SYSTEM
   Forces 100% width across all pages and aligns typography dynamically.
   ========================================================================== */

/* Force 100% full-width across all dashboard panels and container layouts */
.cloud-dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure container elements do not constrain layouts on large screens */
.col.p-4.p-md-5.bg-light.min-vh-100 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(1.2rem, 3vw, 3rem) !important;
    padding-right: clamp(1.2rem, 3vw, 3rem) !important;
}

/* Force container-fluid and normal container inside portal to stretch fully */
.cloud-dashboard-container .container,
.cloud-dashboard-container .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Premium Universal Header System - Matching 'Enterprise Analytics & ROI' */
.saminus-title,
.inbox-page-header h1,
.inbox-page-header .h1,
.inbox-page-header h2,
.inbox-page-header .h2,
.cloud-dashboard-container > div:first-child h1,
.cloud-dashboard-container > div:first-child h2,
.cloud-dashboard-container > div:first-child .h1,
.cloud-dashboard-container > div:first-child .h2,
.cloud-dashboard-container > h1:first-child,
.cloud-dashboard-container > h2:first-child,
.cloud-dashboard-container > div:first-child > div > h1,
.cloud-dashboard-container > div:first-child > div > h2,
.cloud-dashboard-container > div:first-child > div > h3,
.cloud-dashboard-container > div:first-child > div > .h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #FF69B4, #6A5ACD) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
    letter-spacing: -0.03em !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
}

/* Ensure icon inside heading has a consistent and premium gradient-like color */
.saminus-title i,
.cloud-dashboard-container > div:first-child h1 i,
.cloud-dashboard-container > div:first-child h2 i,
.cloud-dashboard-container > h1:first-child i,
.cloud-dashboard-container > h2:first-child i {
    color: #ec4899 !important; /* Soft premium pink matching the start of gradient */
    margin-right: 0.4rem !important;
}

/* Standardize Subtitles to the beautiful layout */
.saminus-subtitle,
.inbox-page-header p,
.inbox-page-header .text-muted,
.cloud-dashboard-container > div:first-child p.text-muted,
.cloud-dashboard-container > div:first-child p.text-dark,
.cloud-dashboard-container > div:first-child .text-muted.small,
.cloud-dashboard-container > div:first-child .text-dark.small,
.cloud-dashboard-container > div:first-child p {
    font-size: 0.95rem !important;
    color: #64748b !important;
    font-weight: 400 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    opacity: 0.85 !important;
    background: none !important;
    -webkit-text-fill-color: #64748b !important;
}

/* Make sure we don't accidentally style card titles as huge gradients */
.card .card-title,
.card h5,
.card h6,
.card .h5,
.card .h6,
.card-body h5,
.card-body h6,
.modal-content h5,
.modal-content h6,
.modal-content .h5,
.modal-content .h6 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    color: #0f172a !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

/* Standardize card titles inside modal to prevent color issues */
.modal-content .text-white {
    -webkit-text-fill-color: #ffffff !important;
}
.card-premium-dark * {
    -webkit-text-fill-color: #ffffff !important;
}

/* Premium MNC-grade Glassmorphism & Fluid Styling */
:root {
    --apple-bg: #FAF9F6;
    --bg-light-gray: #fdfdff;
    --primary-brand: #6a5acd;
    --card-padding: clamp(1.2rem, 3vw, 2.5rem);
    --main-gutter: clamp(1rem, 2vw, 2rem);
    --shadow-glass: 0 10px 40px rgba(106, 90, 205, 0.08);
    --apple-card: rgba(255, 255, 255, 0.85);
    --apple-border: rgba(255, 255, 255, 0.45);
    --apple-text: #1d1d1f;
    --apple-secondary: #86868b;
    --apple-blue: #6a5acd;
    --apple-green: #34c759;
    --apple-orange: #ff9500;
    --apple-radius: clamp(1rem, 2vw, 1.5rem);
    --apple-shadow: var(--shadow-glass);
}
body {
    background-color: var(--apple-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--apple-text);
    overflow-x: hidden;
}

/* Fluid Typography */
h1, .h1 {
    font-size: clamp(1.6rem, 4vw, 3rem) !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #FF69B4, #6A5ACD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.03em;
}
h2, .h2 {
    font-size: clamp(1.3rem, 3vw, 2.4rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.03em;
}
h3, .h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.8rem) !important;
    font-weight: 400 !important;
}


/* Premium MNC-grade Glassmorphism & Fluid Styling */
:root {
    --apple-bg: #FAF9F6;
    --bg-light-gray: #fdfdff;
    --primary-brand: #6a5acd;
    --card-padding: clamp(1.2rem, 3vw, 2.5rem);
    --main-gutter: clamp(1rem, 2vw, 2rem);
    --shadow-glass: 0 10px 40px rgba(106, 90, 205, 0.08);
    --apple-card: rgba(255, 255, 255, 0.85);
    --apple-border: rgba(255, 255, 255, 0.45);
    --apple-text: #1d1d1f;
    --apple-secondary: #86868b;
    --apple-blue: #6a5acd;
    --apple-green: #34c759;
    --apple-orange: #ff9500;
    --apple-radius: clamp(1rem, 2vw, 1.5rem);
    --apple-shadow: var(--shadow-glass);
}
body {
    background-color: var(--apple-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--apple-text);
    overflow-x: hidden;
}

/* Fluid Typography */
h1, .h1 {
    font-size: clamp(1.6rem, 4vw, 3rem) !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #FF69B4, #6A5ACD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.03em;
}
h2, .h2 {
    font-size: clamp(1.3rem, 3vw, 2.4rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.03em;
}
h3, .h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.8rem) !important;
    font-weight: 400 !important;
}

/* Hyper-Responsive CSS Grid Container */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 20vw, 320px), 1fr));
    gap: var(--main-gutter);
}

/* Premium Glassmorphic Cards */
.mnc-stat-card, .mnc-table-card, .glass-card-premium {
    background: var(--apple-card) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--apple-border) !important;
    border-radius: var(--apple-radius) !important;
    box-shadow: var(--shadow-glass) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mnc-stat-card:hover, .mnc-table-card:hover, .glass-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(106, 90, 205, 0.15) !important;
}
.mnc-icon-wrapper {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(106, 90, 205, 0.08);
    color: var(--apple-blue);
    font-size: 1.15rem;
    box-shadow: inset 0 2px 4px rgba(106, 90, 205, 0.05);
}
.mnc-progress-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}
.mnc-progress-fill {
    height: 100%;
    border-radius: 8px;
    background: var(--apple-blue);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mnc-section-title {
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--apple-text);
    font-size: 1.15rem;
}
.mnc-table-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: var(--apple-secondary);
    font-weight: 700;
    text-transform: uppercase;
}
.mnc-table-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease;
}
.mnc-table-row:hover {
    background-color: rgba(106, 90, 205, 0.02);
}
.mnc-table-row:last-child {
    border-bottom: none;
}
.mnc-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.04);
    color: var(--apple-secondary);
    letter-spacing: 0.3px;
}
.mnc-badge-active {
    background: rgba(52, 199, 89, 0.12);
    color: var(--apple-green);
}
.mnc-support-card, .card-premium-dark {
    background: linear-gradient(135deg, #1d1d1f 0%, #000000 100%) !important;
    border-radius: var(--apple-radius);
    color: white !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: var(--card-padding);
}
.mnc-support-card *, .card-premium-dark * {
    color: white !important;
}
.val-text {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--apple-text);
    margin-top: 8px;
}
.label-text {
    font-size: 0.85rem;
    color: var(--apple-secondary);
    font-weight: 600;
    letter-spacing: 0.2px;
}
.mnc-btn-outline {
    border: 1.5px solid rgba(106, 90, 205, 0.2);
    background: #ffffff;
    color: var(--apple-blue);
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(106, 90, 205, 0.05);
}
.mnc-btn-outline:hover {
    background: rgba(106, 90, 205, 0.05);
    border-color: var(--apple-blue);
    transform: translateY(-1px);
}

/* Zoom and Scaling Support for high-dpi screens */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    body {
        padding: 0.5rem !important;
    }
    .mnc-stat-card, .mnc-table-card, .glass-card-premium {
        border-radius: 1rem !important;
    }
}

/* ==========================================================================
   PORTAL WIDTH MAXIMIZER & PREMIUM HEADER STANDARD SYSTEM
   Forces 100% width across all pages and aligns typography dynamically.
   ========================================================================== */

/* Force 100% full-width across all dashboard panels and container layouts */
.cloud-dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure container elements do not constrain layouts on large screens */
.col.p-4.p-md-5.bg-light.min-vh-100 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(1.2rem, 3vw, 3rem) !important;
    padding-right: clamp(1.2rem, 3vw, 3rem) !important;
}

/* Force container-fluid and normal container inside portal to stretch fully */
.cloud-dashboard-container .container,
.cloud-dashboard-container .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Premium Universal Header System - Matching 'Enterprise Analytics & ROI' */
.saminus-title,
.inbox-page-header h1,
.inbox-page-header .h1,
.inbox-page-header h2,
.inbox-page-header .h2,
.cloud-dashboard-container > div:first-child h1,
.cloud-dashboard-container > div:first-child h2,
.cloud-dashboard-container > div:first-child .h1,
.cloud-dashboard-container > div:first-child .h2,
.cloud-dashboard-container > h1:first-child,
.cloud-dashboard-container > h2:first-child,
.cloud-dashboard-container > div:first-child > div > h1,
.cloud-dashboard-container > div:first-child > div > h2,
.cloud-dashboard-container > div:first-child > div > h3,
.cloud-dashboard-container > div:first-child > div > .h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #FF69B4, #6A5ACD) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block !important;
    letter-spacing: -0.03em !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
}

/* Ensure icon inside heading has a consistent and premium gradient-like color */
.saminus-title i,
.cloud-dashboard-container > div:first-child h1 i,
.cloud-dashboard-container > div:first-child h2 i,
.cloud-dashboard-container > h1:first-child i,
.cloud-dashboard-container > h2:first-child i {
    color: #ec4899 !important; /* Soft premium pink matching the start of gradient */
    margin-right: 0.4rem !important;
}

/* Standardize Subtitles to the beautiful layout */
.saminus-subtitle,
.inbox-page-header p,
.inbox-page-header .text-muted,
.cloud-dashboard-container > div:first-child p.text-muted,
.cloud-dashboard-container > div:first-child p.text-dark,
.cloud-dashboard-container > div:first-child .text-muted.small,
.cloud-dashboard-container > div:first-child .text-dark.small,
.cloud-dashboard-container > div:first-child p {
    font-size: 0.95rem !important;
    color: #64748b !important;
    font-weight: 400 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    opacity: 0.85 !important;
    background: none !important;
    -webkit-text-fill-color: #64748b !important;
}

/* Make sure we don't accidentally style card titles as huge gradients */
.card .card-title,
.card h5,
.card h6,
.card .h5,
.card .h6,
.card-body h5,
.card-body h6,
.modal-content h5,
.modal-content h6,
.modal-content .h5,
.modal-content .h6 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    color: #0f172a !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

/* Standardize card titles inside modal to prevent color issues */
.modal-content .text-white {
    -webkit-text-fill-color: #ffffff !important;
}
.card-premium-dark * {
    -webkit-text-fill-color: #ffffff !important;
}

/* ==========================================================================
   PORTAL-WIDE HIGH-FIDELITY MOBILE APP TRANSFORMATION & RESPONSIVE FIXES
   Enforces a strict mobile-first premium app ecosystem. No horizontal overflows.
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Global Flex Containers & Headers Auto-Wrap */
    .d-flex.justify-content-between.align-items-center,
    .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .d-flex.align-items-center.gap-3.flex-wrap,
    .d-flex.align-items-center.gap-3,
    .d-flex.gap-2 {
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: flex-start !important;
    }
    
    /* Make buttons fit cleanly without clipping */
    .d-flex.gap-2 a.btn, 
    .d-flex.gap-2 button.btn,
    .d-flex.gap-2 .btn {
        flex: 1 1 auto !important;
        min-width: 120px !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 0.76rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    /* 2. Portal-Wide Table-to-Card Responsive Engine */
    .table-responsive {
        border: none !important;
        background: transparent !important;
        overflow-x: hidden !important;
        padding: 0.25rem !important;
    }
    
    .table-responsive table.table {
        display: block !important;
        background: transparent !important;
        border: none !important;
        width: 100% !important;
    }
    
    /* Hide the original table headers globally on mobile */
    .table-responsive table.table thead {
        display: none !important;
    }
    
    .table-responsive table.table tbody {
        display: block !important;
        width: 100% !important;
    }
    
    /* Transform table rows into high-end mobile app cards */
    .table-responsive table.table tbody tr {
        display: block !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 20px !important;
        padding: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.2s ease !important;
    }
    
    .table-responsive table.table tbody tr:hover {
        transform: translateY(-2px) !important;
    }
    
    /* Transform cells into block layouts */
    .table-responsive table.table tbody tr td {
        display: block !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        border: none !important;
        text-align: left !important;
    }
    
    /* Custom labels prefix generation on mobile */
    .table-responsive table.table tbody tr td[data-label]::before {
        content: attr(data-label) ": " !important;
        font-weight: 700 !important;
        color: #475569 !important;
        display: inline-block !important;
        margin-right: 0.5rem !important;
    }
    
    /* Buttons/Actions row inside converted cards */
    .table-responsive table.table tbody tr td:last-child {
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding-top: 1rem !important;
        margin-top: 0.75rem !important;
    }
    
    .table-responsive table.table tbody tr td:last-child .d-flex {
        justify-content: flex-start !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .table-responsive table.table tbody tr td:last-child .d-flex a,
    .table-responsive table.table tbody tr td:last-child .d-flex button {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0.5rem 1rem !important;
    }
}

/* ==========================================================================
   MNC-GRADE HIGH-FIDELITY PREMIUM GLOBAL UI UPGRADES (APP & CLOUD PANELS)
   Elevates standard Bootstrap components to a premium, crystal-clear MNC style.
   ========================================================================== */

/* 1. Universal Layout & Background Enhancements */
body, 
.col.p-4.p-md-5.bg-light.min-vh-100,
#inboxMainCol {
    background-color: #f8fafc !important; /* Soft premium slate-white background */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* 2. Premium MNC Cards Upgrade */
.card:not([class*="bg-"]):not([class*="card-premium-dark"]):not([style*="background"]), 
.mnc-stat-card, 
.mnc-table-card, 
.glass-card-premium {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important; /* Thin slate border */
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:not([class*="bg-"]):not([class*="card-premium-dark"]):not([style*="background"]):hover, 
.mnc-stat-card:hover, 
.mnc-table-card:hover, 
.glass-card-premium:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(99, 102, 241, 0.25) !important; /* Soft indigo hover highlight */
}

/* Card Header & Body padding refinements */
.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
    padding: 1.25rem 1.5rem !important;
}

.card-body {
    padding: 1.5rem !important;
}

/* 3. High-Fidelity Form Controls & Inputs */
.form-control:not(.mnc-filter-input), 
.form-select:not(.mnc-filter-input),
input[type="text"]:not(.mnc-filter-input),
input[type="email"]:not(.mnc-filter-input),
input[type="password"]:not(.mnc-filter-input),
input[type="number"]:not(.mnc-filter-input),
input[type="tel"]:not(.mnc-filter-input),
input[type="url"]:not(.mnc-filter-input),
select:not(.mnc-filter-input),
textarea:not(.mnc-filter-input) {
    font-family: 'Inter', sans-serif !important;
    background-color: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important; /* Clean gray border */
    border-radius: 10px !important;
    color: #0f172a !important;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
    transition: all 0.2s ease-in-out !important;
}

.form-control:not(.mnc-filter-input):focus, 
.form-select:not(.mnc-filter-input):focus,
input:not(.mnc-filter-input):focus,
select:not(.mnc-filter-input):focus,
textarea:not(.mnc-filter-input):focus {
    border-color: #6366f1 !important; /* Indigo accent color */
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important; /* Soft indigo focus ring */
}

/* 4. Elegant Tables Refinements */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

.table th {
    background-color: #f8fafc !important;
    color: #475569 !important; /* Slate-600 */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.05em !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
}

.table td {
    padding: 16px 16px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important; /* Slate-700 */
    font-size: 0.88rem !important;
}

.table tbody tr {
    transition: background-color 0.2s ease !important;
}

.table tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.015) !important; /* Soft hover row */
}

/* 5. MNC Premium Rounded Buttons */
.btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 10px 20px !important;
    border-radius: 8px !important; /* Modern rounded-lg */
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
}

.btn-primary {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    transform: translateY(-1px) !important;
}

.btn-secondary {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
}

.btn-secondary:hover {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

/* 6. Premium Glassmorphic Modals & Popups */
.modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden !important;
}

.modal-header {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 1.25rem 1.5rem !important;
}

.modal-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 1.1rem !important;
}

.modal-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 1.25rem 1.5rem !important;
}

/* 7. Low-Opacity Minimalist Badges */
.badge {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em !important;
}

.bg-primary.bg-opacity-10, 
.badge.bg-primary {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: #6366f1 !important;
    border: 1px solid rgba(99, 102, 241, 0.08) !important;
}

.badge.bg-success, 
.badge.bg-success-subtle,
.badge[class*="success"] {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.08) !important;
}

.badge.bg-danger,
.badge.bg-danger-subtle,
.badge[class*="danger"] {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.08) !important;
}

.badge.bg-warning,
.badge.bg-warning-subtle,
.badge[class*="warning"] {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.08) !important;
}

