:root {
    /* Brand Colors - Pulse Corporate */
    --brand-primary: #0052CC;
    /* Enterprise Blue */
    --brand-primary-soft: #EBF2FF;
    --brand-secondary: #091E42;
    /* Deep Navy */
    --brand-success: #00875A;
    --brand-warning: #FF9900;
    --brand-danger: #DE350B;

    /* Neutral Palette */
    --text-main: #172B4D;
    --text-muted: #6B778C;
    --bg-page: #F4F5F7;
    --bg-surface: #FFFFFF;
    --border-subtle: #DFE1E6;
    --border-strong: #C1C7D0;

    /* Typography - Microsoft Inspired (Segoe UI Stack) */
    --font-heading: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Roboto', sans-serif;
    --font-body: 'Segoe UI', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Inter', 'Roboto', sans-serif;
    
    /* Modular Font Scale */
    --fs-xs: 0.7rem;    /* 11.2px */
    --fs-sm: 0.8125rem; /* 13px */
    --fs-base: 0.875rem;/* 14px */
    --fs-md: 1rem;      /* 16px */
    --fs-lg: 1.125rem;  /* 18px */
    --fs-xl: 1.5rem;    /* 24px */
    --fs-xxl: 2rem;     /* 32px */

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(9, 30, 66, 0.08);
    --shadow-md: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31);
    --shadow-lg: 0 12px 24px -6px rgba(9, 30, 66, 0.2), 0 0 1px rgba(9, 30, 66, 0.31);
    --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    font-size: var(--fs-base);
    line-height: 1.5;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scale Classes */
.text-xs { font-size: var(--fs-xs) !important; }
.text-sm { font-size: var(--fs-sm) !important; }
.text-base { font-size: var(--fs-base) !important; }
.text-md { font-size: var(--fs-md) !important; }
.text-lg { font-size: var(--fs-lg) !important; }
.text-xl { font-size: var(--fs-xl) !important; }
.text-xxl { font-size: var(--fs-xxl) !important; }

/* Typography Overhaul */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--brand-secondary);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
}

.display-1,
.display-2,
.display-3 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Component Standardization */

/* Premium Cards */
.card-pro {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.card-pro:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

/* =============================================
   UNIFIED BUTTON SYSTEM
   ============================================= */

/* --- Base override: 0-radius Industrial Precision Engine --- */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: 0 !important;
    height: 42px;
    padding: 0 20px;
    transition: opacity 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1;
}

.btn:hover {
    opacity: 0.88;
}

.btn:active {
    opacity: 0.75;
}

/* Small variant */
.btn-sm {
    height: 32px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    gap: 4px !important;
}

/* Extra-small variant */
.btn-xs {
    height: 26px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    gap: 3px !important;
}

/* --- Bootstrap btn-primary override → Brand Blue --- */
.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 1px 3px rgba(0, 82, 204, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0747A6;
    border-color: #0747A6;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.32);
}

.btn-primary:active {
    background-color: #0040a0;
    border-color: #0040a0;
    box-shadow: none;
}

/* --- Bootstrap btn-outline-primary override --- */
.btn-outline-primary {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline-primary:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.22);
}

/* --- Bootstrap btn-secondary override --- */
.btn-secondary {
    background-color: var(--bg-page);
    border-color: var(--border-strong);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--border-subtle);
    border-color: var(--border-strong);
    color: var(--text-main);
}

/* --- Bootstrap btn-danger override --- */
.btn-danger {
    background-color: var(--brand-danger);
    border-color: var(--brand-danger);
    box-shadow: 0 1px 3px rgba(222, 53, 11, 0.18);
}

.btn-danger:hover {
    background-color: #b52c07;
    border-color: #b52c07;
    box-shadow: 0 4px 14px rgba(222, 53, 11, 0.3);
}

/* --- btn-pro aliases: backward compat, 0-radius normalized --- */
.btn-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0 !important;
}

.btn-pro-primary {
    background-color: var(--brand-primary);
    color: white;
    border: 1px solid var(--brand-primary);
}

.btn-pro-primary:hover,
.btn-pro-primary:focus {
    background-color: #0747A6;
    border-color: #0747A6;
    color: white;
}

.btn-pro-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-main);
}

.btn-pro-outline:hover {
    background: var(--brand-primary-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* btn-success override */
.btn-success {
    background-color: #059669;
    border-color: #059669;
    color: white;
}

.btn-success:hover {
    background-color: #047857;
    border-color: #047857;
    color: white;
}

.btn-outline-success {
    border-color: #059669;
    color: #059669;
}

.btn-outline-success:hover {
    background-color: #059669;
    border-color: #059669;
    color: white;
}

/* btn-light override */
.btn-light {
    background-color: var(--bg-page);
    border-color: var(--border-subtle);
    color: var(--text-main);
}

.btn-light:hover {
    background-color: var(--border-subtle);
    color: var(--text-main);
}

/* --- NEW: Ghost Button (transparent, hover fills soft brand bg) --- */
.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: var(--brand-primary-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: none;
    transform: translateY(-1px);
}

/* --- NEW: Danger Soft (red tint bg, for destructive secondary actions) --- */
.btn-danger-soft {
    background-color: rgba(222, 53, 11, 0.08);
    border: 1px solid rgba(222, 53, 11, 0.18);
    color: var(--brand-danger);
}

.btn-danger-soft:hover {
    background-color: var(--brand-danger);
    border-color: var(--brand-danger);
    color: white;
    box-shadow: 0 4px 12px rgba(222, 53, 11, 0.28);
}

/* --- NEW: Icon-Round Button (circle, icon-only) --- */
.btn-icon-round {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.btn-icon-round:hover {
    background: var(--brand-primary-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.btn-icon-round.btn-sm {
    width: 32px;
    height: 32px;
    min-width: 32px;
}

/* --- NEW: Action Group (flex row wrapper for paired buttons) --- */
.btn-action-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Executive aliases (product_detail uses these) --- */
.btn-executive {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 8px;
}

.btn-executive-primary {
    background-color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.22);
}

.btn-executive-primary:hover {
    background-color: #0747A6;
    color: white;
    box-shadow: 0 6px 18px rgba(0, 82, 204, 0.32);
}

.btn-executive-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-main);
}

.btn-executive-outline:hover {
    background: var(--brand-primary-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* Refined Form Elements */
.input-pro {
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    padding: 0.75rem 1rem;
    color: var(--text-main);
    transition: var(--transition-base);
}

.input-pro:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
    outline: none;
}

/* Professional Enterprise Tables */
.table-pro {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-main);
    vertical-align: middle;
    border-collapse: separate;
    border-spacing: 0;
}

.table-pro thead th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 16px 20px;
    border-top: none;
    border-bottom: 1px solid var(--border-subtle);
    border-right: none;
    white-space: nowrap;
}

.table-pro tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    background-color: var(--bg-surface);
    font-size: 13px;
    transition: var(--transition-base);
}

.table-pro tr:last-child td {
    border-bottom: none;
}

.table-pro.table-hover tbody tr:hover td {
    background-color: #f8fbff;
    color: var(--brand-secondary);
}

/* Table Utilities */
.table-sticky-header thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: inset 0 -1px 0 var(--border-subtle);
}

.cell-fit {
    width: 1%;
    white-space: nowrap;
}

.cell-truncate {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cell-pro-badge {
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 6px;
}

.table-card-header {
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

/* Navbar v3 - Enterprise Elevation */
.navbar-pro {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 0;

}

.nav-link-proV3 {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem !important;
    border-radius: 6px;
    transition: var(--transition-base);
}

.nav-link-proV3:hover {
    color: var(--brand-primary) !important;
    background: var(--brand-primary-soft);
}

.nav-link-proV3.active {
    color: var(--brand-primary) !important;
}

/* Utility Classes */
.bg-subtle {
    background-color: var(--bg-page) !important;
}

.text-pro-muted {
    color: var(--text-muted) !important;
}

.rounded-xl {
    border-radius: 16px !important;
}

.shadow-premium {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.transition-lift {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
    will-change: transform;
}

.transition-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}

.sticky-save-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    padding: 1rem 2rem;
    z-index: 1050;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.section-icon-box {
    width: 40px;
    height: 40px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.custom-cat-checkbox {
    position: relative;
}

.custom-cat-checkbox .btn-outline-secondary {
    border-color: #e2e8f0;
    color: #475569;
    background: #f8fafc;
}

.custom-cat-checkbox .btn-check:checked+.btn-outline-secondary {
    background: #eff6ff;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary);
}

.custom-cat-checkbox .check-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--brand-primary);
}

.custom-cat-checkbox .btn-check:checked+.btn-outline-secondary .check-icon {
    opacity: 1;
}

.ls-1 {
    letter-spacing: 0.1em;
}

.fw-800 {
    font-weight: 800 !important;
}


.font-900 {
    font-weight: 900 !important;
}

/* Dashboard Sidebar v2 */
.sidebar-pro {
    background-color: var(--brand-secondary) !important;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 4px 0 24px rgba(9, 30, 66, 0.05);
}

.sidebar-pro .nav-link-proV3 {
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 4px 16px;
    padding: 12px 16px !important;
    border-radius: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.sidebar-pro .nav-link-proV3:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.sidebar-pro .nav-link-proV3.active {
    background-color: var(--brand-primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

.sidebar-pro .nav-link-proV3 .material-icons-outlined {
    font-size: 20px;
    opacity: 0.8;
}

.sidebar-pro .nav-link-proV3.active .material-icons-outlined {
    opacity: 1;
}

/* Custom Scrollbar for Sidebar */
.sidebar-pro .position-sticky::-webkit-scrollbar {
    width: 4px;
}

.sidebar-pro .position-sticky::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-pro .position-sticky::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sidebar-pro .position-sticky::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Fix main content collision with sidebar shadow */
.main-content {
    position: relative;
    z-index: 0;
}

.ls-2 {
    letter-spacing: 0.1em !important;
}

/* Mobile Tweak */
@media (max-width: 991.98px) {
    .navbar-pro {
        padding: 0.5rem 0;

    }
}

/* Refined Header Elements */
.dropdown-notif-menu {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    width: 380px !important;
    max-width: 95vw;
}

.notif-header {
    background-color: #ffffff;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notif-footer {
    background-color: #f8fafc;
    padding: 12px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.user-pill {
    padding: 6px 12px 6px 6px !important;
    border-radius: 12px !important;
    /* Changed from pill to rounded square for professional look */
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 48px !important;
}

.user-pill:hover {
    border-color: rgba(0, 0, 0, 0.15) !important;
    background: #fafafa !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.user-pill.show {
    border-color: var(--brand-primary) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.08) !important;
    transform: translateY(-1px);
}

.avatar-premium {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #0042a5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* Matching the pill's new rounded square feel */
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 82, 204, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.notif-item {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background-color: #f8fbff;
}

.notif-item.unread {
    background-color: rgba(0, 82, 204, 0.03);
}

.notif-icon-box {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* ============================================
   MOBILE RESPONSIVENESS
   ============================================ */

/* Mobile-First Base Adjustments */
@media (max-width: 767.98px) {

    /* Ensure minimum touch target size (44x44px) */
    .btn,
    button,
    a.btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Full-width ONLY when explicitly marked — don't force all primary buttons */
    .btn.w-100 {
        width: 100%;
    }

    /* Standalone (not in a flex group) form submit buttons go full-width on mobile */
    form>.btn,
    .form-actions>.btn {
        width: 100%;
        padding: 12px 20px;
    }

    /* Responsive typography */
    body {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    h1,
    .display-1 {
        font-size: 2rem;
    }

    h2,
    .display-2 {
        font-size: 1.75rem;
    }

    h3,
    .display-3 {
        font-size: 1.5rem;
    }

    h4,
    .display-4 {
        font-size: 1.25rem;
    }

    h5,
    .display-5 {
        font-size: 1.1rem;
    }

    h6,
    .display-6 {
        font-size: 1rem;
    }

    /* Main content area adjustments */
    .main-content {
        padding: 1rem !important;
        margin-top: 60px;
    }

    /* Card spacing */
    .card-pro,
    .card {
        margin-bottom: 1rem;
    }

    /* Form inputs */
    input,
    select,
    textarea {
        font-size: 16px !important;
        min-height: 44px;
    }

    /* Tables - make scrollable */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        font-size: 14px;
    }

    /* Stack columns vertically */
    .row>[class*="col-"] {
        margin-bottom: 1rem;
    }

    /* Navbar adjustments */
    .navbar-pro {
        padding: 0.75rem 0 !important;

    }

    .navbar-brand {
        font-size: 1.25rem !important;
    }

    /* Offcanvas menu */
    .offcanvas {
        width: 85% !important;
        max-width: 320px;
    }

    /* Sidebar navigation in offcanvas */
    .nav-link-proV3 {
        padding: 12px 16px !important;
        font-size: 15px !important;
    }

    /* Stats cards */
    .stat-card {
        text-align: center;
        padding: 1.5rem 1rem;
    }

    /* Modal adjustments */
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 12px;
    }

    /* Reduce padding on containers */
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Dashboard specific */
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .dashboard-header .btn {
        width: 100%;
    }
}

/* Tablet adjustments (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .main-content {
        padding: 1.5rem !important;
    }
}

/* Small phones (< 576px) */
@media (max-width: 575.98px) {
    .main-content {
        padding: 0.75rem !important;
    }

    .card-pro {
        padding: 1rem !important;
    }

    /* Single column for everything */
    .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        padding: 14px 16px;
    }

    /* Remove hover effects on touch devices */
    .btn:hover,
    .card:hover {
        transform: none;
    }
}

/* CTA Section Enhancements */
.text-gradient-cyan {
    background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.transform-perspective {
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.5s ease;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* Skeleton Loader - Facebook Style */
.skeleton-loader {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #f6f7f8 4%, #edeef1 25%, #f6f7f8 36%);
    background-size: 1000px 100%;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton-card {
    height: 100%;
    border-radius: 12px;
    background-color: white;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.skeleton-image {
    height: 180px;
    width: 100%;
}

.skeleton-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}

/* =============================================
   PRO MODAL SUITE - Enterprise Edition
   ============================================= */

/* Glassmorphism & High-Density Containers */
.modal-pro-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1), 
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.modal-pro-header {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.03) 0%, rgba(0, 82, 204, 0.06) 100%);
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0, 82, 204, 0.08);
}

.modal-pro-icon-box {
    width: 48px;
    height: 48px;
    background: white;
    color: var(--brand-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.12);
    margin-right: 20px;
    flex-shrink: 0;
}

.modal-pro-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--brand-secondary);
    letter-spacing: -0.02em;
}

.modal-pro-header .modal-subtitle {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 2px;
}

.modal-pro-body {
    padding: 32px;
}

.modal-pro-footer {
    padding: 20px 32px;
    background: #f9fafb;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Enterprise Form Elements */
.modal-pro-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.modal-pro-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.modal-pro-input-group .material-icons-outlined {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.modal-pro-input {
    width: 100%;
    background: #f4f5f7;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 16px 12px 48px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.modal-pro-input:focus {
    background: white;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
    outline: none;
}

.modal-pro-input:focus + .material-icons-outlined {
    color: var(--brand-primary);
}

.modal-pro-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Modal Info Block */
.modal-pro-info-card {
    background: var(--brand-primary-soft);
    border: 1px solid rgba(0, 82, 204, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.modal-pro-info-card .info-icon {
    color: var(--brand-primary);
    font-size: 20px;
}

.modal-pro-info-card .info-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 0;
}

/* Animations */
.modal.fade .modal-pro-content {
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-pro-content {
    transform: scale(1) translateY(0);
}

/* Navbar Co-Branding Hub */
.navbar-partner-hub {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 4px;
}

.partner-divider {
    width: 1px;
    height: 18px;
    background: #e2e8f0;
    margin: 0 4px;
}

.partner-logo-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.partner-logo-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.partner-name {\r\n    font-family: var(--font-outfit);\r\n    color: var(--text-main);\r\n    line-height: 1.1;\r\n    max-width: 160px;\r\n    text-transform: uppercase;\r\n}\r\n\r\n/* =============================================\r\n   INDUSTRIAL ZERO-RADIUS MASTER OVERRIDE\r\n   All cards, panels, modals, inputs → sharp corners\r\n   Circular elements preserved via explicit 50%\r\n   ============================================= */\r\n\r\n/* Bootstrap Cards */\r\n.card,\r\n.card-body,\r\n.card-header,\r\n.card-footer,\r\n.card-img-top,\r\n.card-img-bottom { border-radius: 0 !important; }\r\n\r\n/* Custom Card Classes */\r\n.card-pro,\r\n.content-card,\r\n.modal-pro-content,\r\n.modal-pro-icon-box,\r\n.modal-pro-input,\r\n.modal-pro-info-card,\r\n.skeleton-card,\r\n.section-icon-box,\r\n.notif-icon-box,\r\n.card-head-icon { border-radius: 0 !important; }\r\n\r\n/* Bootstrap Modals */\r\n.modal-content,\r\n.modal-header,\r\n.modal-footer,\r\n.modal-body { border-radius: 0 !important; }\r\n\r\n/* Bootstrap Dropdowns */\r\n.dropdown-menu,\r\n.dropdown-notif-menu,\r\n.dropdown-item { border-radius: 0 !important; }\r\n\r\n/* Bootstrap Inputs & Forms */\r\n.form-control,\r\n.form-select,\r\n.input-group,\r\n.input-group-text,\r\n.input-pro { border-radius: 0 !important; }\r\n\r\n/* Bootstrap Badges & Alerts */\r\n.badge { border-radius: 0 !important; }\r\n.alert { border-radius: 0 !important; }\r\n\r\n/* Bootstrap List Groups */\r\n.list-group,\r\n.list-group-item { border-radius: 0 !important; }\r\n\r\n/* Rounded Bootstrap Utilities (override) */\r\n.rounded,\r\n.rounded-1,\r\n.rounded-2,\r\n.rounded-3,\r\n.rounded-4,\r\n.rounded-5,\r\n.rounded-xl,\r\n.rounded-top,\r\n.rounded-bottom,\r\n.rounded-start,\r\n.rounded-end { border-radius: 0 !important; }\r\n\r\n/* Sidebar nav links (flat style) */\r\n.nav-link-proV3,\r\n.nav-link-pro { border-radius: 0 !important; }\r\n\r\n/* User pill / partner logo box */\r\n.user-pill,\r\n.partner-logo-box { border-radius: 0 !important; }\r\n\r\n/* Progress bars */\r\n.progress,\r\n.progress-bar { border-radius: 0 !important; }\r\n\r\n/* Scrollbar thumb */\r\n.sidebar-pro .position-sticky::-webkit-scrollbar-thumb { border-radius: 0 !important; }\r\n\r\n/* PRESERVE: Circular elements (avatars, icon dots, ring SVGs) */\r\n.rounded-circle,\r\n.avatar-premium,\r\n.score-ring-svg circle,\r\n.ef-score-dot,\r\n.form-check-input[type=checkbox],\r\n.form-check-input[type=radio] { border-radius: 50% !important; }\r\n