/* ==========================================================================
   Invoice Dom - MAIN STYLESHEET
   Font: Poppins (Regular 400, Medium 500, SemiBold 600, Bold 700)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT FACE DEFINITIONS (REMOVED, NOW USING GOOGLE FONTS INTER)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   2. CSS VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
    --primary-color: #1665ff;
    --primary-light: #eff6ff;
    --primary-hover: #0052e0;

    --sidebar-color: #0b192c;
    --sidebar-hover: #17263d;
    --sidebar-active-bg: #1665ff;
    --sidebar-text: #8e9bba;
    --sidebar-text-hover: #ffffff;
    --sidebar-text-active: #ffffff;
    --sidebar-section-title: #4b5563;

    --background-color: #f3f8fd;
    --card-background: #ffffff;

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;

    --border-color: #e5e7eb;
    --border-light: #f3f4f6;

    --success-color: #10b981;
    --success-light: #d1fae5;
    --success-text: #047857;

    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --warning-text: #b45309;

    --danger-color: #ef4444;
    --danger-light: #fee2e2;

    --purple-color: #8b5cf6;
    --purple-light: #ede9fe;

    --teal-color: #14b8a6;
    --teal-light: #ccfbf1;

    --shadow-card:
        0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-hover:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-dropdown:
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    --sidebar-width: 260px;
    --sidebar-collapsed-width: 76px;
    --header-height: 96px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    width: 100%;
    min-height: 100vh;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   GLOBAL COMPONENT UTILITIES (BUTTONS, BADGES, TABLES, SELECTS)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 1px 2px rgba(22, 101, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #bfdbfe;
    box-shadow: var(--shadow-card);
}

.btn-outline-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}

.badge-success {
    background-color: var(--success-light);
    color: var(--success-text);
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning-text);
}

.badge-danger {
    background-color: var(--danger-light);
    color: #991b1b;
}

.badge-primary {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-info {
    background-color: #e0f2fe;
    color: #0369a1;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dashboard-table th {
    background-color: #f8fafc;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.dashboard-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    white-space: nowrap;
}

.dashboard-table tr:hover td {
    background-color: #f8fafc;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.filter-select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    background-color: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-icon,
.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
    pointer-events: none;
}

.search-input-wrapper,
.filter-search-wrapper,
.filter-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input-icon,
.filter-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.filter-search-input,
.filter-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.filter-date-btn,
.date-filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.doughnut-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    flex-shrink: 0;
}

.doughnut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    text-align: center;
}

.doughnut-amount {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.doughnut-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. LAYOUT STRUCTURE
   -------------------------------------------------------------------------- */
.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: var(--background-color);
    position: relative;
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-container.sidebar-collapsed .main-wrapper {
    margin-left: var(--sidebar-collapsed-width);
}

.dashboard-container.sidebar-collapsed .dashboard-sidebar {
    width: var(--sidebar-collapsed-width);
}

.dashboard-container.sidebar-collapsed .sidebar-header {
    padding: 0 5px;
    justify-content: center;
}

.dashboard-container.sidebar-collapsed .logo-link {
    justify-content: center;
}

/* --------------------------------------------------------------------------
   4. SIDEBAR
   -------------------------------------------------------------------------- */
.dashboard-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background-color: var(--sidebar-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
}

.sidebar-header {
    height: var(--header-height);
    padding: 0 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
    overflow: hidden;
    justify-content: center;
}

.logo-full {
    height: 88px;
    max-height: 88px !important;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition-speed);
}

.logo-icon {
    height: 66px;
    max-height: 66px !important;
    width: 66px;
    object-fit: contain;
    display: none;
    transition: opacity var(--transition-speed);
}

.dashboard-container.sidebar-collapsed .logo-full {
    display: none;
}

.dashboard-container.sidebar-collapsed .logo-icon {
    display: block;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

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

.sidebar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.nav-section {
    margin-top: 20px;
}

.nav-section:first-child {
    margin-top: 0;
}

.nav-section-title {
    display: block;
    padding: 0 24px 8px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--sidebar-section-title);
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity var(--transition-speed);
}

.dashboard-container.sidebar-collapsed .nav-section-title {
    opacity: 0;
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    margin: 2px 14px;
    border-radius: var(--radius-md);
    color: #fff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-item:hover {
    color: var(--sidebar-text-hover);
    background-color: var(--sidebar-hover);
}

.nav-item.active {
    background-color: var(--sidebar-active-bg);
    color: var(--sidebar-text-active);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(22, 101, 255, 0.35);
}

.nav-icon {
    font-size: 16px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    margin-right: 14px;
}

.dashboard-container.sidebar-collapsed .nav-item {
    padding: 0;
    justify-content: center;
    margin: 4px 12px;
}

.dashboard-container.sidebar-collapsed .nav-icon {
    margin-right: 0;
}

.dashboard-container.sidebar-collapsed .nav-text {
    display: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-full);
    padding: 3px 8px;
    margin-left: auto;
    transition: opacity var(--transition-speed);
}

.badge-danger {
    background-color: var(--danger-color);
    color: #ffffff;
}

.badge-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.dashboard-container.sidebar-collapsed .badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 5px;
    font-size: 9px;
    margin-left: 0;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: opacity var(--transition-speed);
}

.sidebar-footer p {
    color: #475569;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
}

.dashboard-container.sidebar-collapsed .sidebar-footer {
    display: none;
}

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.dashboard-header {
    height: var(--header-height);
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    max-width: 650px;
}

.hamburger-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hamburger-btn:hover {
    background-color: var(--border-light);
    color: var(--text-primary);
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border-radius: var(--radius-full);
    padding: 0 18px;
    height: 42px;
    width: 100%;
    max-width: 520px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.search-container:focus-within {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 101, 255, 0.15);
}

.search-icon {
    color: var(--text-muted);
    font-size: 14px;
    margin-right: 12px;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    width: 100%;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: var(--border-light);
    color: var(--text-primary);
    border-color: #cbd5e1;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--danger-color);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
}

.user-profile-btn:hover {
    background-color: var(--border-light);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.user-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.user-role {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 400;
}

.dropdown-arrow {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
}

/* --------------------------------------------------------------------------
   6. DROPDOWN MENUS
   -------------------------------------------------------------------------- */
.notification-dropdown-wrapper,
.user-dropdown-wrapper,
.date-selector-wrapper,
.card-filter-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dropdown);
    z-index: 200;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* User Menu */
.user-menu {
    width: 240px;
    padding: 8px 0;
}

.user-menu-header {
    padding: 12px 16px;
}

.user-menu-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-menu-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.dropdown-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 6px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.dropdown-item:hover {
    background-color: var(--border-light);
}

.dropdown-item i {
    font-size: 14px;
    width: 16px;
    color: var(--text-secondary);
}

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

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

/* Notification Menu */
.notification-menu {
    width: 320px;
}

.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-header h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.dropdown-body {
    max-height: 280px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.15s ease;
}

.notification-item:hover {
    background-color: var(--border-light);
}

.notification-item.unread {
    background-color: #f8fafc;
}

.notification-item i {
    margin-top: 3px;
    font-size: 15px;
}

.notification-text .title {
    font-size: 12.5px;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.notification-text .time {
    font-size: 11px;
    color: var(--text-muted);
}

.dropdown-footer {
    padding: 10px 16px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.dropdown-footer a {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   7. PAGE HEADER & DATE SELECTOR
   -------------------------------------------------------------------------- */
.dashboard-body {
    padding: 28px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header-details {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 400;
}

.date-selector-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.date-selector-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.date-icon {
    color: var(--primary-color);
    font-size: 15px;
}

.arrow-icon {
    color: var(--text-muted);
    font-size: 12px;
}

.date-menu {
    width: 220px;
    right: 0;
}

.date-option {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.date-option:hover {
    background-color: var(--border-light);
}

.date-option.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   8. TOP STATISTIC CARDS (5 CARDS ROW)
   -------------------------------------------------------------------------- */
.stat-cards-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.buyers-stat-cards {
    grid-template-columns: repeat(4, 1fr);
}

.details-stat-cards {
    grid-template-columns: repeat(5, 1fr);
}

.stat-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-card);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.stat-card:hover {
    box-shadow: var(--shadow-hover);
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.stat-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-bg-blue {
    background-color: #e0f2fe;
}

.icon-blue {
    color: #0284c7;
}

.icon-bg-green {
    background-color: #dcfce7;
}

.icon-green {
    color: #16a34a;
}

.icon-bg-purple {
    background-color: #f3e8ff;
}

.icon-purple {
    color: #9333ea;
}

.icon-bg-orange {
    background-color: #ffedd5;
}

.icon-orange {
    color: #ea580c;
}

.stat-icon {
    font-size: 16px;
}

.stat-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.2;
}

.stat-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.trend-positive {
    color: var(--success-color);
}

.stat-period {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 2px;
}

/* --------------------------------------------------------------------------
   9. DASHBOARD CARDS & GRIDS
   -------------------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    gap: 20px;
}

.grid-row-3 {
    grid-template-columns: 320px 1fr 300px;
}

.grid-row-2-1 {
    grid-template-columns: 1fr 360px;
}

.grid-row-2-equal {
    grid-template-columns: 1fr 1fr;
}

.grid-row-3-details {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-row-bottom-details {
    grid-template-columns: 1.35fr 1.15fr 1fr;
}

.dashboard-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.card-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    gap: 12px;
}

.card-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.card-title-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.text-primary {
    color: var(--primary-color);
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: normal;
    text-wrap: balance;
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.view-all-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap !important;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.view-all-link:hover {
    color: var(--primary-hover);
}

.card-body {
    padding: 20px;
    flex: 1;
    min-width: 0;
}

.card-body.p-0 {
    padding: 0;
}

/* --------------------------------------------------------------------------
   10. ORGANIZATION STATUS (DOUGHNUT CHART)
   -------------------------------------------------------------------------- */
.doughnut-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.chart-wrapper-doughnut {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto;
}

.doughnut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.center-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.center-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

.doughnut-legend {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}

.legend-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot-active {
    background-color: var(--teal-color);
}
.dot-pending {
    background-color: var(--warning-color);
}
.dot-suspended {
    background-color: var(--danger-color);
}
.dot-rejected {
    background-color: var(--text-muted);
}
.dot-gray {
    background-color: #94a3b8;
}

.legend-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.legend-value {
    color: var(--text-primary);
    font-weight: 600;
}

.legend-percent {
    color: var(--text-muted);
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   11. PLATFORM ACTIVITY (LINE CHART)
   -------------------------------------------------------------------------- */
.filter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--border-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 5px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}

.filter-dropdown-btn:hover {
    background-color: var(--border-color);
}

.chart-wrapper-line {
    position: relative;
    width: 100%;
    height: 250px;
}

/* --------------------------------------------------------------------------
   12. REQUESTS AWAITING APPROVAL
   -------------------------------------------------------------------------- */
.request-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    min-width: 0;
    transition:
        transform 0.15s ease,
        background-color 0.15s ease;
}

.request-item:hover {
    background-color: #f1f5f9;
}

.request-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.bg-light-orange {
    background-color: #ffedd5;
}
.text-orange {
    color: #ea580c;
}

.bg-light-purple {
    background-color: #f3e8ff;
}
.text-purple {
    color: #9333ea;
}

.bg-light-blue {
    background-color: #e0f2fe;
}
.text-blue {
    color: #0284c7;
}

.bg-light-teal {
    background-color: #ccfbf1;
}
.text-teal {
    color: #0d9488;
}

.request-title {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    line-height: 1.35;
    white-space: normal !important;
    text-wrap: wrap !important;
    min-width: 0;
    word-break: break-word;
}

.request-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap !important;
}

/* --------------------------------------------------------------------------
   13. TABLES & BADGES
   -------------------------------------------------------------------------- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.registration-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.registration-table th {
    background-color: #f8fafc;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.registration-table td {
    padding: 14px 20px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.registration-table tr:last-child td {
    border-bottom: none;
}

.registration-table tr:hover td {
    background-color: #f8fafc;
}

.org-name {
    font-weight: 600;
    color: #2563eb;
}

.org-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.org-link:hover {
    text-decoration: underline;
}

.org-type {
    color: var(--text-secondary);
}

.org-date {
    color: var(--text-secondary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
}

.badge-pending {
    background-color: var(--warning-light);
    color: var(--warning-text);
}

.badge-approved {
    background-color: var(--success-light);
    color: var(--success-text);
}

.badge-inactive {
    background-color: #e2e8f0;
    color: #475569;
}

.badge-repaid {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-overdue {
    background-color: #fee2e2;
    color: #991b1b;
}

.action-btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-review {
    background-color: #ffffff;
    border: 1px solid #3b82f6;
    color: #2563eb;
}

.btn-review:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-view {
    background-color: transparent;
    border: none;
    color: #2563eb;
    padding: 5px 10px;
}

.btn-view:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   14. RECENT PLATFORM ACTIVITY TIMELINE
   -------------------------------------------------------------------------- */
.activity-timeline {
    position: relative;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.activity-timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.dot-purple {
    background-color: var(--purple-color);
}
.dot-red {
    background-color: var(--danger-color);
}
.dot-teal {
    background-color: var(--teal-color);
}
.dot-green {
    background-color: var(--success-color);
}
.dot-blue {
    background-color: var(--primary-color);
}

.timeline-text {
    font-size: 12.5px;
    color: var(--text-primary);
    line-height: 1.4;
}

.font-semibold {
    font-weight: 600;
}

.timeline-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. INVOICE & RECEIVABLE OVERVIEW
   -------------------------------------------------------------------------- */
.sub-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.sub-stat-card {
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.sub-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   16. PLATFORM HEALTH
   -------------------------------------------------------------------------- */
.health-icon-bg {
    background-color: var(--primary-light);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.status-operational {
    background-color: var(--success-light);
    color: var(--success-text);
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--success-color);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

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

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-check-icon {
    color: var(--success-color);
    font-size: 15px;
}

.service-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Off-canvas Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   17. BUYERS SCREEN STYLES
   -------------------------------------------------------------------------- */
.filter-bar-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 14px;
}

.filter-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
}

.filter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 101, 255, 0.12);
}

.filter-input::placeholder {
    color: var(--text-muted);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.filter-select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    background-color: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 101, 255, 0.12);
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
    pointer-events: none;
}

.date-filter-wrapper {
    width: 100%;
}

.date-filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-filter-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

/* Buyers Table Details */
.buyers-table .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.buyers-table .contact-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.buyers-table .contact-email {
    font-size: 11.5px;
    color: var(--text-secondary);
}

.buyers-table .number-cell {
    font-weight: 500;
    color: var(--text-primary);
}

.buyers-table .value-cell {
    font-weight: 600;
    color: var(--text-primary);
}

/* Pagination Footer */
.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    background-color: #ffffff;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.page-btn:hover:not(.active) {
    background-color: var(--border-light);
    border-color: #cbd5e1;
}

.page-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   18. BUYER DETAILS SCREEN STYLES
   -------------------------------------------------------------------------- */
.breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
}

.breadcrumb-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: #94a3b8;
}

.breadcrumb-current {
    color: #64748b;
    font-weight: 500;
}

.page-title-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.details-title {
    margin-bottom: 0;
}

.status-badge-lg {
    font-size: 12.5px;
    padding: 4px 12px;
    gap: 6px;
}

/* Details Key-Value List */
.details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.details-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.details-value {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}

.text-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

/* Receivable Exposure Progress & Metrics */
.exposure-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    margin-bottom: 18px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.exposure-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.exposure-progress-bar {
    flex: 1;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: var(--radius-full);
    display: flex;
    overflow: hidden;
}

.progress-segment {
    height: 100%;
}

.seg-paid {
    background-color: var(--teal-color);
}
.seg-outstanding {
    background-color: var(--warning-color);
}
.seg-overdue {
    background-color: var(--danger-color);
}

.progress-pct-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.exposure-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-row {
    display: flex;
    align-items: center;
    font-size: 12.5px;
}

.legend-txt {
    color: var(--text-secondary);
    margin-left: 8px;
    flex: 1;
}

.legend-num {
    font-weight: 600;
    color: var(--text-primary);
}

/* Right Stack Column */
.right-stack-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.doc-name {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
}

.doc-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-action-link {
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.doc-action-link:hover {
    text-decoration: underline;
}

.action-divider {
    color: #cbd5e1;
    font-size: 11px;
}

.details-table td {
    padding: 12px 16px;
}

.details-table th {
    padding: 10px 16px;
}

/* --------------------------------------------------------------------------
   19. FINANCIAL INTERMEDIARIES UTILITIES
   -------------------------------------------------------------------------- */
.badge-rejected,
.badge-suspended {
    background-color: #fee2e2;
    color: #dc2626;
}

.icon-bg-red {
    background-color: #fee2e2;
}

.icon-red {
    color: #ef4444;
}

.df-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-icon-left {
    color: var(--primary-color);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   20. FINANCIAL INTERMEDIARY DETAILS SCREEN STYLES
   -------------------------------------------------------------------------- */
.fi-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.fi-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fi-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pending-approval-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    color: #ea580c;
    font-weight: 700;
    font-size: 15px;
}

.clock-icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #ffedd5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #ea580c;
}

.account-status-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.account-status-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.fi-details-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
}

.fi-grid-col-left,
.fi-grid-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.details-table {
    min-width: 620px;
    width: 100%;
}

.fi-card {
    height: fit-content;
}

.org-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 11.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}

.text-bold {
    font-weight: 600;
}

.text-blue-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.text-blue-link:hover {
    text-decoration: underline;
}

.btn-group-sm {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-uploaded {
    background-color: #e0f2fe;
    color: #0284c7;
}

.doc-file-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.doc-file-link:hover {
    text-decoration: underline;
}

.admin-notes-textarea {
    width: 100%;
    height: 96px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
    resize: vertical;
}

.admin-notes-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 101, 255, 0.12);
}

.admin-notes-textarea::placeholder {
    color: var(--text-muted);
}

.char-count {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
}

.empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 36px 20px;
    gap: 8px;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: #f1f5f9;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 4px;
}

.empty-state-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.empty-state-desc {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 260px;
    line-height: 1.4;
}

.bottom-decision-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.decision-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    font-size: 13px;
    color: #92400e;
    flex: 1;
}

.warning-icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    font-weight: bold;
}

.decision-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-approve {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 28px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(22, 101, 255, 0.25);
}

.btn-approve:hover {
    background-color: var(--primary-hover);
}

.btn-reject {
    background-color: #ffffff;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: var(--radius-md);
    padding: 10px 28px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-reject:hover {
    background-color: #fee2e2;
}

/* --------------------------------------------------------------------------
   21. PENDING APPROVALS SCREEN STYLES
   -------------------------------------------------------------------------- */
.pending-stat-cards {
    grid-template-columns: repeat(3, 1fr);
}

.pending-filter-card {
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
}

.date-time-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cell-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.cell-time {
    font-size: 11.5px;
    color: var(--text-secondary);
}

.age-cell {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   22. REGISTRY MONITORING SCREEN STYLES
   -------------------------------------------------------------------------- */
.monitoring-stat-cards {
    grid-template-columns: repeat(6, 1fr);
}

.monitoring-charts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.monitoring-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.badge-overdue-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background-color: #fee2e2;
    color: #dc2626;
    font-weight: 700;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   23. INVOICE & RECEIVABLES OVERSIGHT SCREEN STYLES
   -------------------------------------------------------------------------- */
.oversight-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
    background-color: var(--card-background);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-icon {
    font-size: 14px;
}

.icon-bg-teal {
    background-color: #ccfbf1;
}

.icon-teal {
    color: #0d9488;
}

.invoice-filter-card {
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr 1.2fr;
}

.receivables-sub-stats {
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   24. FINANCING & PAYMENTS OVERSIGHT SCREEN STYLES
   -------------------------------------------------------------------------- */
.financing-filter-card {
    grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr 1.2fr;
}

/* --------------------------------------------------------------------------
   25. REGISTRY FEES SCREEN STYLES
   -------------------------------------------------------------------------- */
.registry-fees-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-banner-blue {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 18px 24px;
}

.info-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #1665ff;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.info-banner-content {
    flex: 1;
}

.info-banner-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
}

.info-banner-subtext {
    font-weight: 400;
    font-size: 13.5px;
    color: #475569;
    margin: 2px 0 0 0;
    line-height: 1.4;
}

.fees-filter-card {
    padding: 20px 24px;
}

.fees-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 2.5fr;
    gap: 16px;
    align-items: flex-end;
}

/* --------------------------------------------------------------------------
   26. REPORTS & ANALYTICS SCREEN STYLES
   -------------------------------------------------------------------------- */
.reports-filter-card {
    padding: 16px 20px;
    /* margin-bottom: 20px; */
}

.reports-filter-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, 1fr);
    gap: 12px;
    align-items: flex-end;
}

.report-shortcuts-row {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
}

.report-shortcut-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.report-shortcut-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
}

.shortcut-title {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shortcut-arrow {
    font-size: 10px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.reports-middle-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.1fr;
    gap: 20px;
    /*    */
}

.chart-summary-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.chart-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.dual-summary {
    display: flex;
    gap: 24px;
    align-items: baseline;
}

.summary-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.flex-doughnut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 6px;
}

.side-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.legend-color-dot.dot-teal {
    background-color: #00bba7;
}

.legend-color-dot.dot-orange {
    background-color: #f97316;
}

.reports-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.chart-wrapper-small {
    position: relative;
    height: 160px;
    width: 100%;
}

.aging-distribution-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 6px;
}

.aging-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.aging-label {
    width: 90px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 12px;
}

.aging-bar-container {
    flex: 1;
    height: 12px;
    background-color: #f1f5f9;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.aging-bar {
    height: 100%;
    border-radius: var(--radius-full);
}

.bar-teal {
    background-color: #00bba7;
}
.bar-blue {
    background-color: #2563eb;
}
.bar-orange {
    background-color: #f97316;
}
.bar-red {
    background-color: #ef4444;
}
.bar-slate {
    background-color: #64748b;
}

.aging-value {
    width: 110px;
    text-align: right;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   27. AUDIT LOGS SCREEN STYLES
   -------------------------------------------------------------------------- */
.audit-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.audit-filter-card {
    padding: 16px 20px;
}

.audit-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.3fr;
    gap: 12px;
    align-items: flex-end;
}

.user-actor-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.actor-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.actor-email {
    font-size: 11.5px;
    color: var(--text-muted);
}

code {
    font-family: "Courier New", Courier, monospace;
    background-color: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #334155;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   28. DOCUMENTS SCREEN STYLES
   -------------------------------------------------------------------------- */
.documents-screen .documents-stat-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.documents-screen .stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.documents-screen .stat-card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.documents-screen .stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.documents-screen .stat-icon {
    font-size: 20px;
}

.documents-screen .stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.documents-screen .stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

.documents-screen .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

/* Card Containers */
.documents-screen .documents-filter-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    padding: 16px 20px;
}

.documents-screen .documents-table-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    overflow: visible;
    margin-bottom: 32px;
}

.documents-screen .documents-table-card .table-responsive {
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
}

.documents-screen .documents-filter-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 14px;
    align-items: flex-end;
}

.documents-screen .filter-group {
    display: flex;
    flex-direction: column;
}

.documents-screen .filter-label {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 6px;
}

/* Inputs & Selects */
.documents-screen .form-control {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.documents-screen .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.documents-screen .form-select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.documents-screen .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.documents-screen .select-wrapper {
    position: relative;
    width: 100%;
}

.documents-screen .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 12px;
    pointer-events: none;
}

.documents-screen .input-icon-wrapper {
    position: relative;
    width: 100%;
}

.documents-screen .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 13px;
    pointer-events: none;
}

.documents-screen .date-picker-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    gap: 8px;
    transition: border-color 0.2s ease;
}

.documents-screen .date-picker-btn:hover {
    border-color: #94a3b8;
}

.documents-screen .date-picker-btn .date-icon {
    color: #2563eb;
}

/* Table Styling */
.documents-screen .documents-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    text-align: left;
}

.documents-screen .documents-table th {
    background-color: #f8fafc;
    padding: 14px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.documents-screen .documents-table th .sort-icon {
    color: #2563eb;
    margin-left: 4px;
    font-size: 12px;
}

.documents-screen .documents-table td {
    padding: 14px 16px;
    font-size: 13px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    white-space: nowrap;
}

.documents-screen .documents-table tr:hover td {
    background-color: #f8fafc;
}

.documents-screen .documents-table tr:last-child td {
    border-bottom: none;
}

.documents-screen .doc-name-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.documents-screen .doc-name-link:hover {
    text-decoration: underline;
}

.documents-screen .org-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.documents-screen .org-link:hover {
    text-decoration: underline;
}

.documents-screen .text-muted-code {
    color: #64748b;
    font-size: 13px;
}

.documents-screen .file-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

.documents-screen .badge-pdf {
    background-color: #fee2e2;
    color: #dc2626;
}

.documents-screen .badge-jpg {
    background-color: #ffedd5;
    color: #ea580c;
}

.documents-screen .badge-png {
    background-color: #dcfce7;
    color: #16a34a;
}

.documents-screen .action-cell {
    display: flex;
    gap: 8px;
    align-items: center;
}

.documents-screen .btn-outline-action {
    background-color: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.documents-screen .btn-outline-action:hover {
    background-color: #eff6ff;
    border-color: #2563eb;
}

/* Footer / Pagination */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.footer-info {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn.active {
    background-color: #1665ff;
    border-color: #1665ff;
    color: #ffffff;
    font-weight: 600;
}

.page-btn:hover:not(.active) {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.page-dots {
    color: #94a3b8;
    padding: 0 4px;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   29. NOTIFICATIONS & AUDIT LOGS SCREEN STYLES
   -------------------------------------------------------------------------- */
.notifications-screen .top-nav-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.notifications-screen .top-tab-btn {
    background: none;
    border: none;
    padding: 10px 4px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.notifications-screen .top-tab-btn.active {
    color: #1665ff;
    font-weight: 600;
}

.notifications-screen .top-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #1665ff;
    border-radius: 3px 3px 0 0;
}

/* Card Containers */
.notifications-screen .card,
.notifications-screen .notifications-card,
.notifications-screen .audit-recent-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);

    overflow: hidden;
}

.notifications-screen .card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.notifications-screen .header-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notifications-screen .header-icon {
    font-size: 18px;
    color: #1665ff;
}

.notifications-screen .card-header-row h2 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.notifications-screen .mark-all-read-btn {
    font-size: 13px;
    padding: 7px 14px;
}

/* Filter Pills */
.notifications-screen .filter-pills-row {
    display: flex;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.notifications-screen .pill-btn {
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid transparent;
    padding: 7px 16px;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notifications-screen .pill-btn.active {
    background-color: #eff6ff;
    color: #1665ff;
    border-color: #bfdbfe;
    font-weight: 600;
}

.notifications-screen .pill-btn:hover:not(.active) {
    background-color: #e2e8f0;
    color: #0f172a;
}

/* Notification List Items */
.notifications-screen .notifications-list {
    display: flex;
    flex-direction: column;
}

.notifications-screen .notification-row {
    display: grid;
    grid-template-columns: 24px 48px 1fr 180px 100px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
    transition: background-color 0.15s ease;
}

.notifications-screen .notification-row:hover {
    background-color: #f8fafc;
}

.notifications-screen .notification-row:last-child {
    border-bottom: none;
}

.notifications-screen .unread-dot-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notifications-screen .blue-dot {
    color: #1665ff;
    font-size: 14px;
}

.notifications-screen .notif-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.icon-bg-orange {
    background-color: #ffedd5;
}
.icon-orange {
    color: #ea580c;
}

.icon-bg-green {
    background-color: #dcfce7;
}
.icon-green {
    color: #16a34a;
}

.icon-bg-red {
    background-color: #fee2e2;
}
.icon-red {
    color: #dc2626;
}

.icon-bg-purple {
    background-color: #f3e8ff;
}
.icon-purple {
    color: #9333ea;
}

.icon-bg-teal {
    background-color: #ccfbf1;
}
.icon-teal {
    color: #0d9488;
}

.icon-bg-blue {
    background-color: #eff6ff;
}
.icon-blue {
    color: #2563eb;
}

.notifications-screen .content-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notifications-screen .notif-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.notifications-screen .notif-desc {
    font-size: 13px;
    color: #64748b;
}

.notifications-screen .time-col {
    font-size: 12.5px;
    color: #64748b;
    text-align: right;
}

.notifications-screen .action-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.notifications-screen .btn-more-dots {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    font-size: 14px;
}

.notifications-screen .btn-more-dots:hover {
    color: #0f172a;
    background-color: #e2e8f0;
}

/* Audit Logs Recent Activity */
.notifications-screen .audit-recent-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-end;
}

.notifications-screen .audit-recent-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.notifications-screen .audit-recent-table th {
    background-color: #f8fafc;
    padding: 12px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.notifications-screen .audit-recent-table td {
    padding: 14px 16px;
    font-size: 13px;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    white-space: nowrap;
}

.notifications-screen .audit-recent-table tr:hover td {
    background-color: #f8fafc;
}

.notifications-screen .status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.notifications-screen .badge-success {
    background-color: #dcfce7;
    color: #16a34a;
}

/* Form Controls & Inputs for Notifications Screen */
.notifications-screen .filter-group {
    display: flex;
    flex-direction: column;
}

.notifications-screen .filter-label {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 6px;
}

.notifications-screen .form-select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.notifications-screen .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.notifications-screen .select-wrapper {
    position: relative;
    width: 100%;
}

.notifications-screen .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 12px;
    pointer-events: none;
}

.notifications-screen .date-picker-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    gap: 8px;
    transition: border-color 0.2s ease;
}

.notifications-screen .date-picker-btn:hover {
    border-color: #94a3b8;
}

.notifications-screen .date-picker-btn .date-icon {
    color: #2563eb;
}

.notifications-screen .btn-outline-action {
    background-color: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notifications-screen .btn-outline-action:hover {
    background-color: #eff6ff;
    border-color: #2563eb;
}

.notifications-screen .org-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.notifications-screen .org-link:hover {
    text-decoration: underline;
}

.notifications-screen .text-muted-code {
    color: #64748b;
    font-size: 13px;
}

.notifications-screen .text-muted-time {
    color: #64748b;
    font-size: 12.5px;
}

.audit-logs-screen .form-select,
.audit-logs-screen select {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.audit-logs-screen .btn-outline-action,
.audit-logs-screen .btn-view-log {
    background-color: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.audit-logs-screen .btn-outline-action:hover,
.audit-logs-screen .btn-view-log:hover {
    background-color: #eff6ff;
    border-color: #2563eb;
}

/* ==========================================================================
   SECTION 30 - SYSTEM SETTINGS SCREEN
   ========================================================================== */

/* --- Page-level Scoping --- */
.system-settings-screen {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* --- Top Tabs --- */
.ss-top-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0;
    border-bottom: 2px solid #e2e8f0;
}

.ss-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px 12px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.ss-tab-btn.active {
    color: #1665ff;
    font-weight: 600;
}

.ss-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1665ff;
    border-radius: 2px 2px 0 0;
}

.ss-tab-btn:hover:not(.active) {
    color: #0f172a;
}

/* --- Two Column Layout --- */
.ss-two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* --- Left Column --- */
.ss-left-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Section Cards --- */
.ss-section-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.ss-section-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.ss-section-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1665ff;
    font-size: 15px;
}

.ss-section-title-group {
    flex: 1;
}

.ss-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.4;
}

.ss-section-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.ss-section-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* --- Form Elements --- */
.ss-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ss-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ss-form-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.ss-form-input {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.ss-form-input:focus {
    border-color: #1665ff;
    box-shadow: 0 0 0 3px rgba(22, 101, 255, 0.08);
}

.ss-select-wrapper {
    position: relative;
}

.ss-form-select {
    width: 100%;
    height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.ss-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 11px;
    pointer-events: none;
}

/* --- Toggle Switch --- */
.ss-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}

.ss-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ss-toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
}

.ss-toggle-desc {
    font-size: 11.5px;
    color: #64748b;
}

.ss-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.ss-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ss-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 24px;
    transition: background-color 0.2s ease;
}

.ss-toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ss-toggle-switch input:checked + .ss-toggle-slider {
    background-color: #1665ff;
}

.ss-toggle-switch input:checked + .ss-toggle-slider::before {
    transform: translateX(20px);
}

/* --- Fee Display --- */
.ss-fee-display-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ss-fee-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
}

.ss-fee-label {
    display: block;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 6px;
}

.ss-fee-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ss-fee-big {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.ss-fee-sub {
    font-size: 11px;
    color: #64748b;
}

/* --- Locked Notice --- */
.ss-locked-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
}

.ss-lock-icon {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ss-locked-notice p {
    font-size: 11.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* --- Security Grid --- */
.ss-security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ss-reauth-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ss-reauth-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ss-reauth-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
    padding-top: 2px;
}

/* --- Action Buttons --- */
.ss-action-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.ss-save-btn {
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
}

.ss-cancel-btn {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ss-cancel-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* --- Right Column: Users & Access Card --- */
.ss-left-col,
.ss-right-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ss-users-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.ss-users-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    gap: 12px;
}

.ss-users-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ss-users-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1665ff;
    font-size: 15px;
    flex-shrink: 0;
}

.ss-users-title-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ss-users-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.ss-users-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.ss-add-user-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 6px;
}

/* --- Users Table --- */
.ss-users-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}

.ss-users-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 13px;
}

.ss-users-table thead tr {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ss-users-table th {
    padding: 10px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    text-align: left;
    white-space: nowrap;
}

.ss-users-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

.ss-users-table tbody tr:hover {
    background-color: #f8fafc;
}

.ss-users-table tbody tr:last-child {
    border-bottom: none;
}

.ss-users-table td {
    padding: 10px 12px;
    color: #0f172a;
    vertical-align: middle;
    font-size: 12.5px;
}

.ss-td-name {
    font-weight: 500;
    white-space: nowrap;
}

.ss-td-email {
    color: #64748b;
    font-size: 12px;
}

.ss-td-role {
    color: #374151;
    font-size: 12px;
    line-height: 1.4;
}

.ss-td-date {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.ss-td-action {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Status Badges --- */
.ss-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.ss-active {
    background-color: #dcfce7;
    color: #15803d;
}

.ss-inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* --- Edit Access & Activate Buttons --- */
.ss-btn-edit {
    background-color: #ffffff;
    color: #1665ff;
    border: 1px solid #bfdbfe;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ss-btn-edit:hover {
    background-color: #eff6ff;
    border-color: #1665ff;
}

.ss-btn-activate {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ss-btn-activate:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.ss-btn-dots {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.ss-btn-dots:hover {
    color: #64748b;
    background-color: #f1f5f9;
}

/* --- Info Note --- */
.ss-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #eff6ff;
    border-top: 1px solid #dbeafe;
    padding: 14px 20px;
}

.ss-info-icon {
    color: #1665ff;
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ss-info-note p {
    font-size: 12px;
    color: #374151;
    margin: 0;
    line-height: 1.55;
}
p {
    text-wrap: wrap;
}
button {
    text-wrap: nowrap;
}
input {
    text-wrap: nowrap;
}
label {
    text-wrap: nowrap;
}
.registration-table th {
    text-wrap: nowrap;
}
td {
    text-wrap: wrap !important;
}
.registration-table td {
    text-wrap: nowrap !important;
}
.ss-users-table td {
    text-wrap: nowrap !important;
}

/* ==========================================================================
   SECTION 31 - AUTHENTICATION SCREENS (LOGIN & CREATE ACCOUNT)
   ========================================================================== */

.auth-body {
    min-height: 100vh;
    background-color: #0b0f17;
    margin: 0;
    padding: 0;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background-color: #0b0f17;
}

/* --- Left Side: Hero Section --- */
.auth-left-hero {
    flex: 1;
    background:
        radial-gradient(
            circle at 15% 85%,
            rgba(29, 78, 216, 0.28) 0%,
            rgba(11, 15, 23, 0.95) 50%,
            #0b0f17 100%
        ),
        #0b0f17;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.auth-hero-header {
    margin-top: 20px;
}

.est-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #cbd5e1;
    text-transform: uppercase;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title .fluid-text {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 40px;
}

/* Feature Cards Grid */
.auth-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 480px;
    margin-top: auto;
}

.auth-feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 20px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.auth-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.feature-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #93c5fd;
    margin-bottom: 14px;
}

.feature-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

/* --- Right Side: Form Section --- */
.auth-right-form {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.auth-logo-header {
    text-align: center;
}

.auth-logo-img {
    height: 84px;
    width: auto;
    object-fit: contain;
}

.auth-heading-group {
    text-align: center;
}

.auth-title-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-main-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.auth-sub-title {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.step-indicator {
    font-size: 11px;
    color: #94a3b8;
    position: absolute;
    right: 0;
    top: 4px;
    font-weight: 500;
}

/* Auth Form Controls */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.auth-forgot-link {
    font-size: 11.5px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

.auth-input,
.auth-select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13.5px;
    color: #0f172a;
    background-color: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.auth-input:focus,
.auth-select:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-select-wrap {
    position: relative;
    width: 100%;
}

.auth-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 36px;
}

.auth-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 12px;
    pointer-events: none;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.auth-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    accent-color: #0b1727;
}

.auth-checkbox-label {
    font-size: 12.5px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.auth-btn-primary {
    width: 100%;
    height: 46px;
    border-radius: 23px;
    background-color: #0b1727;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
    margin-top: 6px;
    text-decoration: none;
}

.auth-btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
    color: #ffffff;
}

.auth-footer-text {
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 22px;
}

.auth-footer-link {
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.auth-footer-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive Grid Utilities */
.responsive-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.responsive-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.responsive-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1rem;
}
.table-responsive table {
    width: 100%;
    min-width: 800px;
}
.flex-stack-mobile {
    display: flex;
}

.responsive-grid-4 > *,
.responsive-grid-3 > *,
.responsive-grid-2 > * {
    min-width: 0;
}
/* ==========================================================================
   ABOUT US PAGE  (replace the old "About Us Page Styles" block with this)
   Everything is scoped under .about-page so it won't clash with other pages
   ========================================================================== */

.about-page {
    --ab-navy: #0b1f4d;
    --ab-text: #4a5a78;
    --ab-blue: #1665ff;
    --ab-green: #15803d;
    --ab-band: #e3eefa;
    --ab-card-border: #dfe9f5;
    --ab-shadow: 0 6px 20px rgba(22, 60, 120, 0.07);
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--ab-navy);
    background: linear-gradient(180deg, #e9f3fc 0%, #f4f9fe 40%, #eaf3fc 100%);
    overflow-x: hidden;
}

.about-page .section-inner {
    width: 100%;
    padding: 0 24px;
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-page .green {
    color: var(--ab-green);
}
.about-page .blue {
    color: var(--ab-blue);
}

/* ---------- Buttons ---------- */
.about-page .ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 42px;
    padding: 0 26px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.about-page .ab-btn-primary {
    background: var(--ab-blue);
    color: #fff;
    box-shadow: 0 6px 14px rgba(22, 101, 255, 0.28);
}
.about-page .ab-btn-primary:hover {
    background: #0052e0;
}
.about-page .ab-btn-outline {
    background: rgba(255, 255, 255, 0.6);
    color: var(--ab-blue);
    border-color: #8fb4ff;
}
.about-page .ab-btn-outline:hover {
    background: #fff;
}
.about-page .ab-btn-green {
    background: #16a34a;
    color: #fff;
    height: 44px;
    padding: 0 34px;
}
.about-page .ab-btn-green:hover {
    background: #15803d;
}
.about-page .ab-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    height: 44px;
    padding: 0 34px;
}
.about-page .ab-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ---------- Script (handwritten) tags ---------- */
.about-page .script-tag,
.about-page .hero-script-tag {
    font-family: "Caveat", "Segoe Script", cursive;
    font-weight: 700;
    line-height: 1;
}
.about-page .script-tag-green {
    color: #15803d;
}
.about-page .script-tag-white {
    color: #fff;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.about-hero {
    position: relative;
    padding: 34px 0 30px;
    background: url("../img/hero_background.png") no-repeat center 30% / cover;
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(233, 243, 252, 0.96) 0%,
        rgba(233, 243, 252, 0.82) 42%,
        rgba(233, 243, 252, 0.15) 100%
    );
}
.about-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 20px;
    min-height: 330px;
}
.about-hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ab-navy);
    margin: 0 0 16px;
}
.about-hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ab-text);
    max-width: 440px;
    margin: 0 0 24px;
}
.about-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Hero ecosystem graphic (pure CSS) ---------- */
.ecosystem-graphic {
    position: relative;
    width: 100%;
    max-width: 540px;
    height: 320px;
    margin-left: auto;
}
.hero-script-tag {
    position: absolute;
    top: 42px;
    right: -20px;
    font-size: 19px;
    color: #15803d;
    transform: rotate(-9deg);
    text-align: left;
    padding-bottom: 6px;
    border-bottom: 2px solid #22a559;
    border-radius: 0 0 30px 30px;
}
.eg-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 3;
}
.eg-circle {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow:
        0 10px 24px rgba(22, 101, 255, 0.22),
        0 0 0 6px rgba(255, 255, 255, 0.55);
}
.eg-label {
    background: #fff;
    color: var(--ab-navy);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 5px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(11, 31, 77, 0.12);
}
.eg-buyers {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.eg-sellers {
    top: 96px;
    left: 4px;
}
.eg-fi {
    top: 100px;
    right: 6px;
}

.eg-doc {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 118px;
    background: #fff;
    border-radius: 8px;
    padding: 14px 12px;
    box-shadow: 0 14px 30px rgba(11, 31, 77, 0.22);
    z-index: 2;
}
.eg-doc-lines span {
    display: block;
    height: 5px;
    background: #cbd8ea;
    border-radius: 3px;
    margin-bottom: 6px;
}
.eg-doc-lines span:first-child {
    background: #0f766e;
    width: 60%;
}
.eg-doc-amount {
    margin-top: 8px;
    font-size: 26px;
    font-weight: 800;
    color: #15803d;
    display: flex;
    gap: 4px;
    align-items: center;
}
.eg-doc-amount i {
    font-size: 12px;
    color: #94a3b8;
}
.eg-doc-check {
    position: absolute;
    right: -14px;
    bottom: -12px;
    width: 34px;
    height: 34px;
    background: #16a34a;
    color: #fff;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.eg-platform {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        #1e7bff 0%,
        #0b4fd6 55%,
        #0a3aa8 100%
    );
    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.55),
        0 0 0 20px rgba(120, 180, 255, 0.35),
        0 20px 40px rgba(11, 79, 214, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.eg-platform span {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    transform: rotate(-4deg) translateY(10px);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */
.about-features {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(190, 215, 240, 0.6);
    padding: 22px 0;
}
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.af-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.af-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--ab-blue);
    color: var(--ab-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    background: #fff;
}
.af-item h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0 0 2px;
}
.af-item p {
    font-size: 10.5px;
    color: #7b8aa5;
    margin: 0;
}

/* ==========================================================================
   GENERIC SECTION TYPOGRAPHY
   ========================================================================== */
.about-page .about-section {
    padding: 44px 0;
}
.about-page .about-blue-band {
    background: linear-gradient(180deg, #e4effa 0%, #ddebf8 100%);
}
.about-page .about-section-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ab-navy);
    margin: 0 0 6px;
}
.about-page .about-section-subtitle {
    font-size: 14px;
    color: var(--ab-text);
    margin: 0 0 22px;
}
.about-page .about-subsection-title {
    font-size: 19px;
    font-weight: 500;
    color: var(--ab-navy);
    margin: 0 0 12px;
}
.about-page .about-two-col {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-page .about-text-content {
    flex: 1;
}
.about-page .about-text-content p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ab-text);
    margin: 0;
}
.about-page .about-text-content p strong {
    color: var(--ab-navy);
}
.about-page .about-image-content,
.about-page .about-card-content {
    flex: 1;
}

/* ---------- Who We Are graphic ---------- */
.overview-graphic {
    position: relative;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--ab-card-border);
    box-shadow: var(--ab-shadow);
    padding: 8px 8px 0;
    overflow: hidden;
}
.overview-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.overview-graphic .script-tag {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 22px;
    text-align: right;
    transform: rotate(-7deg);
}
.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 14px 14px;
    margin-top: -34px;
    position: relative;
}
.oc-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(11, 31, 77, 0.1);
    border: 1px solid #eef3fa;
}
.oc-card i {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}
.oc-card p {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0;
    line-height: 1.25;
}

/* ---------- Why the registry exists ---------- */
.why-card {
    background: #fff;
    border: 1px solid var(--ab-card-border);
    border-radius: 12px;
    padding: 22px 34px;
    display: flex;
    align-items: center;
    gap: 26px;
    box-shadow: var(--ab-shadow);
    max-width: 440px;
    margin-left: auto;
}
.why-icon i {
    font-size: 54px;
}
.why-text h3 {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ab-navy);
    margin: 0;
}

/* ---------- The Problem ---------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.problem-card {
    background: #fff;
    border: 1px solid var(--ab-card-border);
    border-radius: 10px;
    padding: 20px 18px 22px;
    box-shadow: var(--ab-shadow);
    text-align: left;
}
.problem-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 14px;
}
.problem-icon.red {
    color: #ef4444;
}
.problem-icon.orange {
    color: #f59e0b;
    background: #fde9b8;
    border-radius: 50%;
    font-size: 26px;
}
.pi-badge {
    position: absolute;
    right: -4px;
    bottom: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.problem-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0 0 10px;
    line-height: 1.3;
}
.problem-card p {
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--ab-text);
    margin: 0;
}

/* ---------- The Approach ---------- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.approach-card {
    background: #fff;
    border: 1px solid var(--ab-card-border);
    border-radius: 10px;
    padding: 22px 14px;
    text-align: center;
    box-shadow: var(--ab-shadow);
}
.approach-icon {
    font-size: 28px;
    margin-bottom: 14px;
}
.approach-card h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}
.approach-card p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--ab-text);
    margin: 0;
}

/* ---------- Mission ---------- */
.mission-section {
    position: relative;
    padding: 68px 0 60px;
    text-align: center;
    background: url("../img/hero_background.png") no-repeat center 60% / cover;
}

.mission-section .section-inner {
    position: relative;
    z-index: 2;
}
.mission-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 18px;
}
.mission-label::before,
.mission-label::after {
    content: "";
    width: 34px;
    height: 1px;
    background: #8aa2c4;
}
.mission-label span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #4a5a78;
}
.mission-statement {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--ab-navy);
    margin: 0 auto 26px;
    max-width: 560px;
}
.mission-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--ab-text);
    margin: 0 auto;
    max-width: 600px;
}

/* ---------- Core principles ---------- */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.principle-card {
    background: #fff;
    border: 1px solid var(--ab-card-border);
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--ab-shadow);
}
.principle-icon {
    font-size: 26px;
    margin-bottom: 12px;
}
.principle-card h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0 0 8px;
}
.principle-card p {
    font-size: 10.5px;
    line-height: 1.5;
    color: var(--ab-text);
    margin: 0;
}

/* ---------- Connected ecosystem ---------- */
.ecosystem-flow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 26px 0 30px;
}
.eco-node {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}
.eco-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 14px;
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.7),
        0 8px 22px rgba(22, 101, 255, 0.15);
}
.eco-center-wrap {
    width: 150px;
    height: 110px;
    margin: -10px auto 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 55%, rgba(255, 255, 255, 0) 72%);
    box-shadow: 0 8px 22px rgba(22, 101, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}
.eco-center-img {
    max-width: 130px;
    max-height: 90px;
    object-fit: contain;
}
.eco-node h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0 0 8px;
}
.eco-node h4.green {
    color: var(--ab-green);
}
.eco-node p {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--ab-text);
    margin: 0 auto;
    max-width: 170px;
}
.eco-arrow {
    color: #16a34a;
    font-size: 26px;
    padding-top: 28px;
    flex-shrink: 0;
}

.stronger-env-banner {
    background: #fff;
    border: 1px solid var(--ab-card-border);
    border-radius: 10px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--ab-shadow);
}
.env-icon i {
    font-size: 42px;
}
.env-text {
    flex: 1;
}
.env-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ab-navy);
    margin: 0 0 6px;
}
.env-text p {
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--ab-text);
    margin: 0;
}
.env-list {
    padding-left: 28px;
    border-left: 1px solid #e3ebf5;
    min-width: 250px;
}
.env-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.env-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--ab-text);
    margin-bottom: 8px;
}
.env-list li:last-child {
    margin-bottom: 0;
}

/* ---------- Final CTA ---------- */
.about-cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 52px 0 48px;
    color: #fff;
    background: linear-gradient(180deg, #123a78 0%, #0e2f66 100%);
}
.about-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero_background.png") no-repeat center / cover;
    opacity: 0.12;
}
.about-cta-section .section-inner {
    position: relative;
    z-index: 2;
}
.about-cta-section .cta-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
}
.about-cta-section .cta-subtitle {
    font-size: 13px;
    color: #c7d7f0;
    margin: 0 0 24px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-script {
    position: absolute;
    right: 44px;
    bottom: 26px;
    font-size: 18px;
    text-align: left;
    transform: rotate(-8deg);
    z-index: 2;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
    }
    .ecosystem-graphic {
        margin: 20px auto 0;
    }
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-page .about-two-col {
        flex-direction: column;
        align-items: stretch;
    }
    .why-card {
        margin: 0;
        max-width: none;
    }
    .ecosystem-flow {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .eco-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }
    .stronger-env-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .env-list {
        border-left: none;
        padding-left: 0;
    }
}
@media (max-width: 600px) {
    .about-hero-title {
        font-size: 30px;
    }
    .about-features-grid,
    .problem-grid,
    .approach-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
    .ecosystem-graphic {
        transform: scale(0.72);
        transform-origin: top center;
        height: 240px;
    }
    .cta-script {
        display: none;
    }
}

/* ==========================================================================
   SOLUTIONS PAGE - FOR FINANCIAL INTERMEDIARIES
   Paste at the end of your main CSS (everything is scoped under .fi-page)
   ========================================================================== */

.fi-page {
    --fi-navy: #0b1f4d;
    --fi-text: #4a5a78;
    --fi-blue: #1665ff;
    --fi-green: #15803d;
    --fi-band: #e6f0fb;
    --fi-border: #dfe9f5;
    --fi-shadow: 0 4px 14px rgba(22, 60, 120, 0.06);
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--fi-navy);
    background: linear-gradient(180deg, #eaf3fc 0%, #f5f9fe 35%, #f0f6fd 100%);
    overflow-x: hidden;
}
.fi-page .fi-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ---------- Buttons ---------- */
.fi-page .fi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 26px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.fi-page .fi-btn-primary {
    background: var(--fi-blue);
    color: #fff;
    box-shadow: 0 6px 14px rgba(22, 101, 255, 0.28);
}
.fi-page .fi-btn-primary:hover {
    background: #0052e0;
}
.fi-page .fi-btn-outline {
    background: rgba(255, 255, 255, 0.7);
    color: var(--fi-blue);
    border-color: #8fb4ff;
}
.fi-page .fi-btn-outline:hover {
    background: #fff;
}
.fi-page .fi-btn-green {
    background: #16a34a;
    color: #fff;
    padding: 0 30px;
}
.fi-page .fi-btn-green:hover {
    background: #15803d;
}
.fi-page .fi-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
    padding: 0 46px;
}
.fi-page .fi-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.fi-page .fi-script-tag {
    font-family: "Caveat", "Segoe Script", cursive;
    font-weight: 700;
    line-height: 1;
}

/* ---------- Typography ---------- */
.fi-page .fi-h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--fi-navy);
    margin: 0 0 6px;
}
.fi-page .fi-h2-lg {
    font-size: 27px;
    line-height: 1.18;
    margin-bottom: 16px;
}
.fi-page .fi-sub {
    font-size: 14px;
    color: var(--fi-text);
    margin: 0 0 30px;
}
.fi-page .fi-section {
    padding: 46px 0;
}
.fi-page .fi-band {
    background: linear-gradient(180deg, #e6f0fb 0%, #e0edfa 100%);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.fi-hero {
    position: relative;
    padding: 34px 0 40px;
    background: url("../img/hero_background.png") no-repeat right 35% / cover;
}
.fi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(233, 243, 252, 0.97) 0%,
        rgba(233, 243, 252, 0.88) 45%,
        rgba(233, 243, 252, 0.1) 100%
    );
}
.fi-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.95fr 1.2fr;
    align-items: center;
    gap: 24px;
}
.fi-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--fi-navy);
    margin: 0 0 14px;
}
.fi-hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--fi-navy);
    margin: 0 0 18px;
    max-width: 420px;
}
.fi-hero-sub {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--fi-text);
    max-width: 440px;
    margin: 0 0 26px;
}
.fi-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Laptop mockup ---------- */
.fi-hero-visual {
    position: relative;
    padding-bottom: 6px;
}
.fi-laptop {
    max-width: 560px;
    margin-left: auto;
    transform: perspective(1400px) rotateY(-4deg);
}
.fi-screen {
    display: flex;
    height: 250px;
    background: #fff;
    border: 8px solid #1c2433;
    border-bottom-width: 10px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 31, 77, 0.3);
}
.fi-laptop-base {
    height: 12px;
    background: linear-gradient(180deg, #d5dbe4, #a9b2c0);
    border-radius: 0 0 14px 14px;
    margin: 0 -22px;
    box-shadow: 0 10px 20px rgba(11, 31, 77, 0.25);
}
.fi-scr-side {
    width: 26%;
    background: #f7f9fc;
    border-right: 1px solid #e6edf6;
    padding: 34px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fi-scr-side span {
    font-size: 6px;
    color: #64748b;
    padding: 4px 6px;
    border-radius: 3px;
    white-space: nowrap;
}
.fi-scr-side span.active {
    background: #dbeafe;
    color: #1665ff;
    font-weight: 700;
}
.fi-scr-main {
    flex: 1;
    padding: 10px 12px;
    min-width: 0;
}
.fi-scr-search {
    height: 12px;
    width: 60%;
    margin-left: auto;
    background: #f1f5f9;
    border-radius: 6px;
    margin-bottom: 8px;
}
.fi-scr-main h5 {
    font-size: 10px;
    font-weight: 800;
    color: var(--fi-navy);
    margin: 0 0 6px;
}
.fi-scr-tabs {
    display: flex;
    gap: 12px;
    font-size: 6px;
    border-bottom: 1px solid #e6edf6;
    padding-bottom: 4px;
    margin-bottom: 6px;
}
.fi-scr-tabs b {
    color: #1665ff;
    border-bottom: 2px solid #1665ff;
    padding-bottom: 3px;
}
.fi-scr-tabs i {
    font-style: normal;
    color: #94a3b8;
}
.fi-scr-main table {
    width: 100%;
    border-collapse: collapse;
    font-size: 5.5px;
}
.fi-scr-main th {
    text-align: left;
    color: #475569;
    font-weight: 700;
    padding: 4px 3px;
    background: #f8fafc;
}
.fi-scr-main td {
    padding: 6px 3px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}
.fi-scr-main em {
    font-style: normal;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    background: #dbeafe;
    color: #1e40af;
}
.fi-scr-main em.warn {
    background: #fef3c7;
    color: #b45309;
}
.fi-hero-script {
    position: absolute;
    right: 8px;
    bottom: 34px;
    font-size: 18px;
    color: #15803d;
    transform: rotate(-8deg);
    text-align: left;
    z-index: 3;
    padding-bottom: 5px;
    border-bottom: 2px solid #22a559;
    border-radius: 0 0 30px 30px;
}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */
.fi-bar {
    padding: 26px 0;
    background: rgba(255, 255, 255, 0.5);
}
.fi-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fi-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.fi-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--fi-blue);
    color: var(--fi-blue);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.fi-bar-item h4 {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--fi-navy);
}
.fi-bar-item p {
    font-size: 11px;
    line-height: 1.4;
    color: var(--fi-text);
    margin: 0;
}

/* ==========================================================================
   SUPPORTING GROWTH
   ========================================================================== */
.fi-two-col {
    display: flex;
    align-items: center;
    gap: 50px;
}
.fi-col-text {
    flex: 1;
}
.fi-col-card {
    flex: 1;
}
.fi-col-text p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--fi-text);
    margin: 0 0 18px;
    max-width: 470px;
}
.fi-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fi-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.fi-link:hover {
    text-decoration: underline;
}
.fi-note-card {
    background: #dff2e6;
    border: 1px solid #cfe9d8;
    border-radius: 6px;
    padding: 26px 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.fi-note-icon {
    font-size: 36px;
    color: var(--fi-green);
    flex-shrink: 0;
    padding-top: 4px;
}
.fi-note-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--fi-navy);
}
.fi-note-card p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #3b5b4a;
    margin: 0;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.fi-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.fi-step {
    flex: 1;
    text-align: center;
    padding: 0 6px;
    max-width: 150px;
}
.fi-step-circle {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d8e6f6;
    color: var(--fi-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.6),
        0 8px 20px rgba(22, 101, 255, 0.1);
}
.fi-step:nth-child(n + 3) .fi-step-circle {
    color: var(--fi-blue);
}
.fi-step:first-child .fi-step-circle {
    color: var(--fi-green);
}
.fi-step-num {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.fi-step:nth-child(n + 3) .fi-step-num {
    background: var(--fi-blue);
}
.fi-step:nth-child(3) .fi-step-num {
    background: #16a34a;
}
.fi-step h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--fi-navy);
    margin: 0 0 6px;
}
.fi-step p {
    font-size: 10.5px;
    line-height: 1.5;
    color: var(--fi-text);
    margin: 0;
}
.fi-step-arrow {
    color: #94a3b8;
    font-size: 12px;
    padding-top: 32px;
    flex-shrink: 0;
}

/* ==========================================================================
   PLATFORM FEATURES
   ========================================================================== */
.fi-feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.fi-feat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--fi-border);
    border-radius: 6px;
    padding: 18px 16px;
    box-shadow: var(--fi-shadow);
}
.fi-feat-icon {
    font-size: 25px;
    color: var(--fi-green);
    width: 34px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 2px;
}
.fi-feat-icon.blue {
    color: var(--fi-blue);
}
.fi-feat h4 {
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--fi-navy);
    margin: 0 0 8px;
}
.fi-feat p {
    font-size: 10.5px;
    line-height: 1.5;
    color: var(--fi-text);
    margin: 0;
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.fi-why {
    background: rgba(255, 255, 255, 0.55);
}
.fi-why .fi-h2 {
    margin-bottom: 26px;
}
.fi-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.fi-why-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d8e6f6;
    color: #1b6fd1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 0 0 6px rgba(230, 240, 251, 0.8);
}
.fi-why-icon.blue {
    color: var(--fi-blue);
}
.fi-why-icon.green {
    color: var(--fi-green);
}
.fi-why-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--fi-navy);
    margin: 0 0 8px;
}
.fi-why-item p {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--fi-text);
    margin: 0;
    max-width: 240px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.fi-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    padding: 46px 0 44px;
    background: linear-gradient(180deg, #1b4b8f 0%, #133c78 100%);
}
.fi-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero_background.png") no-repeat center / cover;
    opacity: 0.16;
}
.fi-cta .fi-inner {
    position: relative;
    z-index: 2;
}
.fi-cta h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
}
.fi-cta p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #d3e0f5;
    max-width: 470px;
    margin: 0 auto 26px;
}
.fi-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.fi-cta-script {
    position: absolute;
    right: 100px;
    bottom: 26px;
    font-size: 20px;
    text-align: left;
    color: #fff;
    transform: rotate(-9deg);
    z-index: 2;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .fi-feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fi-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fi-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px 6px;
    }
}
@media (max-width: 992px) {
    .fi-hero-grid {
        grid-template-columns: 1fr;
    }
    .fi-laptop {
        margin: 10px auto 0;
        transform: none;
    }
    .fi-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fi-two-col {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
    }
    .fi-cta-script {
        display: none;
    }
}
@media (max-width: 600px) {
    .fi-hero-title {
        font-size: 28px;
    }
    .fi-bar-grid,
    .fi-feat-grid,
    .fi-why-grid {
        grid-template-columns: 1fr;
    }
    .fi-step-arrow {
        display: none;
    }
    .fi-screen {
        height: 190px;
    }
    .fi-scr-side {
        display: none;
    }
    .fi-hero-script {
        display: none;
    }
}
