:root {
    --bg-outside: #6b778c;
    --bezel-color: #8c9bb4;
    --app-bg-1: #e9eff5;
    --app-bg-2: #c6d3e3;

    --text-main: #142a53;
    --text-muted: #576d8b;
    --blue-primary: #1952b7;
    --blue-bright: #2972eb;
    --blue-dark: #12337d;
    --white: #ffffff;

    --card-bg-top: #f5f8fc;
    --card-bg-bottom: #dde5ef;

    --nav-bg: #c9d2e1;
    --nav-item-bg-top: #fbfbfc;
    --nav-item-bg-bottom: #dee4eb;

    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-inset-card: inset 0 2px 3px rgba(255, 255, 255, 0.9);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--app-bg-1);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Removing tablet styling for full screen */
.device-bezel {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-window {
    background: linear-gradient(to bottom right, var(--app-bg-1), var(--app-bg-2));
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header */
/* Hamburger: hidden on desktop */
.hamburger {
    display: none;
}

.sidebar-overlay {
    display: none;
}

/* Logo area with desktop toggle */
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.desktop-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(130, 145, 170, 0.3);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-main);
    padding: 6px;
    transition: background 0.15s, border-color 0.15s;
}

.desktop-toggle:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(130, 145, 170, 0.5);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom right, var(--app-bg-1), var(--app-bg-2));
}

.logo {
    display: flex;
    align-items: center;
}

.img-logo {
    max-height: 36px;
    /* Adjust size based on standard header sizing */
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.install-btn {
    background: linear-gradient(to bottom, #2b69d1, #184db0);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 8px rgba(24, 77, 176, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.install-btn:hover {
    filter: brightness(1.1);
}

.install-icon {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

/* ── iOS Install Guide Modal ── */
.ios-install-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ios-install-overlay.open {
    display: flex !important;
}
.ios-install-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.ios-install-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}
.ios-install-close:hover {
    color: #475569;
}
.ios-install-icon {
    margin-bottom: 12px;
}
.ios-install-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.ios-install-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}
.ios-install-steps {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ios-install-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
}
.ios-step-num {
    width: 28px;
    height: 28px;
    background: #184db0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.share-btn {
    background: linear-gradient(to bottom, #2b69d1, #184db0);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(24, 77, 176, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: 'Inter', sans-serif;
}

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

.bell-icon {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

.notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 6px;
    background-color: #ff4757;
    border-radius: 50%;
    border: 2px solid #235cc0;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 30px 40px 40px;
    align-items: start;
    transition: grid-template-columns 0.3s ease;
}

.main-layout.sidebar-collapsed {
    grid-template-columns: 84px 1fr;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 110px;
}

/* Sidebar */
.nav-menu {
    background: var(--nav-bg);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 -1px 2px rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-item {
    background: linear-gradient(180deg, var(--nav-item-bg-top), var(--nav-item-bg-bottom));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.9), 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(130, 145, 170, 0.4);
    transition: transform 0.1s, box-shadow 0.1s;
}

.nav-item:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.9), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-item.active {
    background: linear-gradient(180deg, #1a4a9e, #0f2f6b);
    border: 1px solid #0d2558;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 3px 8px rgba(15, 47, 107, 0.4);
}

.nav-item.active .nav-text h3 {
    color: #ffffff;
}

.nav-item.active .nav-text p {
    color: rgba(255, 255, 255, 0.7);
}

.nav-item.active .nav-icon-wrapper {
    color: #ffffff;
}

.nav-item.active .nav-chevron {
    color: rgba(255, 255, 255, 0.6);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-icon-wrapper {
    color: var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.nav-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 2px;
}

.nav-text p {
    font-size: 11px;
    line-height: 1.3;
    color: var(--text-muted);
}

.nav-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

/* Collapsed Sidebar */
@media (min-width: 577px) {
    .sidebar {
        transition: width 0.3s ease;
    }

    .sidebar.collapsed .nav-menu {
        padding: 8px;
        gap: 6px;
    }

    .sidebar.collapsed .nav-text,
    .sidebar.collapsed .nav-chevron {
        display: none;
    }

    .sidebar.collapsed .nav-item {
        padding: 12px 0;
        justify-content: center;
        position: relative;
    }

    .sidebar.collapsed .nav-content {
        gap: 0;
        justify-content: center;
    }

    .sidebar.collapsed .nav-icon-wrapper i {
        width: 22px;
        height: 22px;
    }

    /* Tooltip on hover — auto-hide after 1.5s */
    .sidebar.collapsed .nav-item::after {
        content: attr(data-title);
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        background: #1a1a1a;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 12px;
        border-radius: 6px;
        white-space: nowrap;
        z-index: 999;
        pointer-events: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transition: opacity 0.2s;
    }

    .sidebar.collapsed .nav-item:hover::after {
        animation: tooltip-autohide 1.5s ease forwards;
    }

    @keyframes tooltip-autohide {
        0%   { opacity: 0; }
        10%  { opacity: 1; }
        70%  { opacity: 1; }
        100% { opacity: 0; }
    }
}

/* Content Area */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.content-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue-dark);
}

.content-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.filter-sep {
    color: rgba(0, 0, 0, 0.2);
}

.filter-item {
    cursor: pointer;
}

.filter-item.disabled {
    opacity: 0.6;
}

.filter-item.rate {
    display: flex;
    align-items: center;
    color: var(--blue-primary);
    font-weight: 600;
}

.filter-chevron {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

/* Users List */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 2px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.user-main {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: 48px;
}

.user-main-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 2px 2px rgba(255, 255, 255, 0.3);
}

.bg-blue {
    background: #1a56c7;
}

.bg-blue-light {
    background: #2a73e3;
}

.bg-blue-medium {
    background: #2566d5;
}

.user-info-full {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.user-info-full h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

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

.user-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

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

.text-dark {
    color: #152648;
}

.action-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Special Progress Bar styling inside User Info */
.progress-bar-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 22px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border-radius: 12px;
}

.progress-bar-track.dark-track {
    background-color: #283e65;
    /* Dark background for empty space in FN's row */
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #184cc8, #2a72e8);
    border-radius: 12px;
}

.progress-bar-fill.semi-fill {
    /* For FN's partial semi-transparent bar */
    background: linear-gradient(90deg, #184cc8, #2563d1);
}

.progress-bar-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 13px;
    color: var(--white);
    z-index: 2;
    pointer-events: none;
}

/* User Details Footer */
.user-details-footer {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    padding-top: 8px;
    margin-left: 64px;
    /* Align with text, not avatar */
    gap: 4px;
}

.detail-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.small-icon {
    width: 14px;
    height: 14px;
    color: var(--blue-primary);
    stroke-width: 2.5;
}

.margin-right-s {
    margin-right: 4px;
    /* subtle gap after corner down icon */
}

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

/* ══════════════════════════════════════════
   Dashboard Content Styles
   ══════════════════════════════════════════ */
.dashboard-content {
    padding-bottom: 20px;
}

.db-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.db-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
}

.db-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

/* Stats */
.db-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.db-stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.db-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 6px;
}

.db-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}

.db-stat-meta {
    font-size: 11px;
    color: #94a3b8;
}

.db-stat-meta span {
    color: #64748b;
}

.db-stat-meta .green {
    color: #22c55e;
}

.db-stat-meta .red {
    color: #ef4444;
}

.db-stat-icon {
    color: #cbd5e1;
    flex-shrink: 0;
}

.db-stat-icon i {
    width: 36px;
    height: 36px;
}

/* Quick Access */
.db-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.db-quick-grid:last-of-type {
    margin-bottom: 32px;
}

.db-quick-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
}

.db-quick-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.db-quick-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.db-quick-icon {
    color: #94a3b8;
}

.db-quick-icon i {
    width: 32px;
    height: 32px;
}

.db-quick-arrow {
    color: #cbd5e1;
}

.db-quick-arrow i {
    width: 18px;
    height: 18px;
}

.db-quick-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.db-quick-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.db-quick-stats {
    font-size: 12px;
    color: #64748b;
}

.db-quick-stats .val {
    font-weight: 600;
    color: #0f172a;
}

.db-quick-stats .val.green {
    color: #22c55e;
}

/* Alert */
.db-alert-section {
    margin-bottom: 32px;
}

.db-alert-banner {
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
}

.db-alert-icon {
    color: #f59e0b;
    flex-shrink: 0;
}

.db-alert-icon i {
    width: 20px;
    height: 20px;
}

/* Charts */
.db-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.db-chart-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.db-chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.db-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.db-donut {
    width: 180px;
    height: 180px;
}

.db-chart-legend {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.db-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
}

.db-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.db-chart-total {
    font-size: 13px;
    color: #64748b;
    margin-top: 10px;
}

.db-chart-total span {
    font-weight: 700;
    color: #0f172a;
}

.db-rate-summary {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 16px;
}

.db-rate-item {
    text-align: center;
}

.db-rate-value {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.db-rate-value.green {
    color: #22c55e;
}

.db-rate-label {
    font-size: 11px;
    color: #94a3b8;
}

/* Users */
.db-users-section,
.db-activities-section {
    margin-bottom: 32px;
}

.db-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.db-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.db-view-all:hover {
    text-decoration: underline;
}

.db-users-table,
.db-activities-list {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.db-user-row {
    display: flex;
    flex-direction: column;
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.db-user-row:last-child {
    border-bottom: none;
}

.db-user-row:hover {
    background: #f8fafc;
}

.db-user-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.db-avatar-blue {
    background: #3b82f6;
}

.db-avatar-indigo {
    background: #6366f1;
}

.db-avatar-purple {
    background: #8b5cf6;
}

.db-user-info {
    flex: 1;
    min-width: 0;
}

.db-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.db-user-email {
    font-size: 12px;
    color: #94a3b8;
}

.db-user-flow {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.db-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.db-progress-track {
    flex: 1;
    height: 7px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.db-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: #3b82f6;
}

.db-progress-pct {
    font-size: 14px;
    font-weight: 700;
    color: #3b82f6;
    min-width: 40px;
    text-align: right;
}

.db-user-arrow {
    color: #cbd5e1;
    flex-shrink: 0;
    cursor: pointer;
}

.db-user-arrow i {
    width: 18px;
    height: 18px;
}

.db-user-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding-left: 52px;
    font-size: 12px;
    color: #94a3b8;
}

.db-user-step {
    display: flex;
    align-items: center;
    gap: 5px;
}

.db-user-step i {
    width: 13px;
    height: 13px;
    color: #94a3b8;
}

.db-step-name {
    color: #64748b;
}

/* Activities */
.db-activity-row {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-start;
}

.db-activity-row:last-child {
    border-bottom: none;
}

.db-activity-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-activity-icon i {
    width: 15px;
    height: 15px;
    color: #64748b;
}

.db-activity-content {
    flex: 1;
}

.db-activity-badges {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 3px;
}

.db-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.db-badge-progress {
    background: #dbeafe;
    color: #1d4ed8;
}

.db-badge-login {
    background: #e0e7ff;
    color: #4338ca;
}

.db-badge-logout {
    background: #f1f5f9;
    color: #64748b;
}

.db-badge-type {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.db-activity-text {
    font-size: 13px;
    color: #334155;
    margin-bottom: 3px;
}

.db-activity-by {
    font-size: 11px;
    color: #94a3b8;
}

.db-activity-by strong {
    font-weight: 600;
    color: #64748b;
}

/* Footer */
.db-footer {
    border-top: 1px solid #e2e8f0;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

/* Dashboard Responsive */
@media (max-width: 576px) and (orientation: portrait) {

    .db-stats-grid,
    .db-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .db-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) and (orientation: portrait) {

    .db-stats-grid,
    .db-quick-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════
   Report / Live Overview Styles
   ══════════════════════════════════════════ */
.rp-wrap {
    padding: 0 0 20px;
}

.rp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.rp-header-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.rp-header-sub {
    font-size: 13px;
    color: #94a3b8;
}

.rp-livebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.rp-livebar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
}

.rp-livebar-left a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.rp-live-label {
    color: #22c55e;
    font-weight: 700;
    font-size: 12px;
}

.rp-livebar-right {
    font-size: 12px;
    color: #94a3b8;
}

.rp-status-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.rp-status-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.rp-status-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.rp-status-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.rp-status-value {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.rp-status-value.green {
    color: #22c55e;
}

.rp-status-value.orange {
    color: #f59e0b;
}

.rp-status-value small {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
}

.rp-status-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.rp-plan-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.rp-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rp-plan-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-plan-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.rp-plan-circles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px;
}

.rp-plan-item {
    text-align: center;
}

.rp-plan-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.rp-plan-circle-inner {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.rp-plan-circle-inner small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

.rp-plan-circle.blue {
    border: 4px solid #3b82f6;
}

.rp-plan-circle.red {
    border: 4px solid #ef4444;
}

.rp-plan-circle.green {
    border: 4px solid #22c55e;
}

.rp-plan-item-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.rp-plan-item-sub {
    font-size: 11px;
    color: #94a3b8;
}

.rp-mini-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.rp-mini-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 12px;
}

.rp-mini-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.rp-mini-label i {
    width: 14px;
    height: 14px;
}

.rp-mini-value {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.rp-mini-value.green {
    color: #22c55e;
}

.rp-mini-value.orange {
    color: #f59e0b;
}

.rp-mini-sub {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
}

.rp-charts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rp-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.rp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rp-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.rp-card-badge {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.rp-trend-chart {
    height: 140px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding-bottom: 24px;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.rp-trend-bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px 2px 0 0;
    min-height: 2px;
}

.rp-trend-bar.active {
    background: #3b82f6;
}

.rp-trend-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 6px;
}

.rp-staff-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rp-staff-donut {
    width: 140px;
    height: 140px;
}

.rp-staff-legend {
    margin-top: 14px;
    width: 100%;
}

.rp-staff-legend-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 3px 0;
}

.rp-staff-legend-label {
    color: #64748b;
}

.rp-staff-legend-val {
    font-weight: 600;
    color: #0f172a;
}

.rp-grid4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rp-reg-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding-bottom: 20px;
}

.rp-reg-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rp-reg-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: #c7d2fe;
    min-height: 2px;
}

.rp-reg-bar.top {
    background: #6366f1;
}

.rp-reg-label {
    font-size: 10px;
    color: #94a3b8;
}

.rp-type-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-type-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.rp-type-name {
    width: 60px;
    text-align: right;
    color: #64748b;
    font-weight: 500;
}

.rp-type-bar-wrap {
    flex: 1;
    height: 14px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.rp-type-bar-fill {
    height: 100%;
    border-radius: 4px;
}

.rp-type-val {
    font-weight: 700;
    color: #0f172a;
    min-width: 30px;
}

.rp-completion {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rp-completion-donut {
    width: 120px;
    height: 120px;
    position: relative;
}

.rp-completion-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.rp-completion-pct {
    font-size: 22px;
    font-weight: 800;
    color: #22c55e;
}

.rp-completion-stats {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    text-align: center;
}

.rp-completion-stat-val {
    font-size: 18px;
    font-weight: 700;
}

.rp-completion-stat-val.blue {
    color: #3b82f6;
}

.rp-completion-stat-val.orange {
    color: #f59e0b;
}

.rp-completion-stat-label {
    font-size: 10px;
    color: #94a3b8;
}

.rp-perf-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-perf-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.rp-perf-name {
    color: #64748b;
}

.rp-perf-val {
    font-weight: 700;
}

.rp-perf-val.red {
    color: #ef4444;
}

.rp-perf-val.orange {
    color: #f59e0b;
}

.rp-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rp-result-badge {
    font-size: 11px;
    color: #94a3b8;
}

.rp-result-empty {
    text-align: center;
    padding: 30px 0;
    color: #cbd5e1;
    font-size: 13px;
}

.rp-result-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 260px;
    overflow-y: auto;
}

.rp-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 8px;
}

.rp-result-item:last-child {
    border-bottom: none;
}

.rp-result-info {
    flex: 1;
    min-width: 0;
}

.rp-result-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.rp-result-desc {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rp-result-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rp-result-pct {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.rp-result-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.rp-tag-pass {
    background: #dcfce7;
    color: #16a34a;
}

.rp-tag-submitted {
    background: #fef3c7;
    color: #d97706;
}

.rp-result-date {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
}

.rp-bottom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rp-live-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 320px;
    overflow-y: auto;
}

.rp-live-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-start;
}

.rp-live-item:last-child {
    border-bottom: none;
}

.rp-live-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rp-live-icon.login {
    background: #dcfce7;
}

.rp-live-icon.progress {
    background: #f1f5f9;
}

.rp-live-icon i {
    width: 13px;
    height: 13px;
}

.rp-live-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 2px;
}

.rp-live-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.rp-live-badge.login {
    background: #dbeafe;
    color: #1d4ed8;
}

.rp-live-badge.progress {
    background: #e0e7ff;
    color: #4338ca;
}

.rp-live-badge.register {
    background: #fef3c7;
    color: #d97706;
}

.rp-live-type {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
}

.rp-live-text {
    font-size: 12px;
    color: #334155;
}

.rp-live-by {
    font-size: 11px;
    color: #94a3b8;
}

.rp-dot-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: rp-pulse 1.5s infinite;
}

@keyframes rp-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.rp-online-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #cbd5e1;
    font-size: 13px;
    gap: 12px;
}

.rp-online-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-online-avatar i {
    width: 20px;
    height: 20px;
    color: #cbd5e1;
}

.rp-onboard-badge {
    font-size: 11px;
    font-weight: 600;
    color: #3b82f6;
}

.rp-onboard-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rp-onboard-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.rp-onboard-item:last-child {
    border-bottom: none;
}

.rp-onboard-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-onboard-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.rp-onboard-info {
    flex: 1;
}

.rp-onboard-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.rp-onboard-flow {
    font-size: 11px;
    color: #94a3b8;
}

.rp-onboard-pct {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.rp-onboard-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    padding-left: 46px;
}

.rp-onboard-step {
    font-size: 11px;
    color: #94a3b8;
}

.rp-onboard-date {
    font-size: 11px;
    color: #94a3b8;
}

.rp-onboard-progress {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 4px;
    margin-left: 46px;
    overflow: hidden;
}

.rp-onboard-progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
}

.rp-footer {
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
}

/* Report Responsive */
@media (max-width: 576px) and (orientation: portrait) {
    .rp-status-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .rp-mini-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .rp-grid4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .rp-bottom-row {
        grid-template-columns: 1fr;
    }

    .rp-charts-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) and (orientation: portrait) {

    .rp-status-row,
    .rp-mini-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .rp-grid4 {
        grid-template-columns: 1fr;
    }

    .rp-plan-circles {
        gap: 30px;
    }
}

/* ══════════════════════════════════════════
   DocuGrader Styles
   ══════════════════════════════════════════ */
.dg-wrap {
    padding: 0;
    position: relative;
}

/* Blue alert bar */
.dg-alert {
    background: linear-gradient(to bottom, #2b69d1, #184db0);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #fff;
}

.dg-alert-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dg-alert-left i {
    width: 18px;
    height: 18px;
    color: #fff;
    flex-shrink: 0;
}

.dg-alert-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.dg-status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
}

.dg-status-badge.active {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Previewing header */
.dg-preview-bar {
    background: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dg-preview-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dg-preview-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dg-preview-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.dg-preview-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dg-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.dg-btn-green {
    background: #22c55e;
    color: #fff;
}

.dg-btn-green:hover {
    background: #16a34a;
}

.dg-btn-purple {
    background: #7c3aed;
    color: #fff;
}

.dg-btn-purple:hover {
    background: #6d28d9;
}

.dg-btn-close {
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
}

.dg-btn-close:hover {
    color: #0f172a;
}

/* Tab header (inside left panel) */
.dg-tabbar {
    display: none;
    /* hidden - now integrated into left panel */
}

.dg-left-header {
    background: linear-gradient(to bottom, #2b69d1, #184db0);
    border-radius: 16px 16px 0 0;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dg-left-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.dg-btn-play {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: background 0.2s;
}

.dg-btn-play:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Split layout */
.dg-split {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 24px;
    padding: 24px;
    background: #eef2f7;
    align-items: start;
}

/* Left: instructions */
.dg-left {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: sticky;
    top: 110px;
}

.dg-left-body {
    padding: 24px;
}

.dg-instructions-text {
    font-size: 13px;
    color: #334155;
    line-height: 1.8;
}

.dg-instructions-text p {
    margin-bottom: 20px;
}

/* Right: document */
.dg-right {
    padding: 0;
    overflow-y: auto;
}

.dg-doc {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
}

.dg-doc-img {
    width: 100%;
    height: auto;
    display: block;
}

.dg-doc-top {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
}

.dg-doc-logo-left {
    font-size: 16px;
    font-weight: 700;
    color: #1e40af;
}

.dg-doc-logo-left span {
    font-size: 11px;
    display: block;
    color: #64748b;
    font-weight: 400;
}

.dg-doc-logo-right {
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.dg-doc-logo-right small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #64748b;
}

.dg-doc-center-title {
    text-align: center;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.dg-doc-center-title small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #64748b;
    text-transform: none;
    margin-top: 2px;
}

/* Form fields in document */
.dg-doc-body {
    padding: 20px 32px;
    font-size: 11.5px;
    color: #334155;
    line-height: 1.8;
}

.dg-doc-body p {
    margin-bottom: 8px;
}

.dg-doc-body strong {
    color: #0f172a;
}

.dg-input {
    display: inline-block;
    border: 2px solid #ef4444;
    border-radius: 3px;
    padding: 2px 8px;
    min-width: 100px;
    font-size: 11px;
    color: #0f172a;
    background: #fff;
    font-weight: 600;
}

.dg-input.long {
    min-width: 200px;
}

.dg-input.xl {
    min-width: 300px;
}

.dg-input.short {
    min-width: 60px;
}

.dg-input.filled {
    background: #f0fdf4;
    border-color: #86efac;
    color: #16a34a;
}

/* Form row layout */
.dg-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.dg-form-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dg-form-label {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

/* Section numbering */
.dg-section {
    margin: 16px 0;
}

.dg-section-num {
    font-weight: 800;
    color: #0f172a;
}

/* Checkbox row */
.dg-check-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

.dg-checkbox {
    width: 14px;
    height: 14px;
    border: 1.5px solid #94a3b8;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Signature block */
.dg-sig-block {
    border-top: 2px solid #0f172a;
    margin-top: 24px;
    padding-top: 16px;
}

.dg-sig-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.dg-sig-line {
    border-bottom: 1px solid #0f172a;
    padding: 12px 0 4px;
    font-size: 10px;
    color: #64748b;
}

.dg-sig-line span {
    color: #0f172a;
    font-weight: 600;
}

/* Disclaimer */
.dg-disclaimer {
    font-size: 8px;
    color: #94a3b8;
    padding: 12px 32px 20px;
    line-height: 1.5;
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
}

/* Audio Player Bar */
.dg-player {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(to bottom, #2b69d1, #184db0);
    color: #fff;
    padding: 8px 20px;
    gap: 14px;
}

.dg-player-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dg-player-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.dg-player-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.dg-player-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.dg-player-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    padding: 6px 14px;
}

.dg-player-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.dg-player-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dg-player-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dg-player-seek {
    width: 180px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.dg-player-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.dg-player-seek::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
}

/* Close button sits outside the pill */
.dg-player-close-wrap {
    margin-left: 8px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dg-player {
        padding: 8px 12px;
        gap: 10px;
    }

    .dg-player-info {
        display: none;
    }

    .dg-player-seek {
        width: 100px;
    }
}

/* Grading overlay */
.dg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dg-overlay-content {
    text-align: center;
    max-width: 400px;
}

.dg-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid #e2e8f0;
    border-top: 5px solid #3b82f6;
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: dg-spin 1s linear infinite;
}

@keyframes dg-spin {
    to {
        transform: rotate(360deg);
    }
}

.dg-overlay-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.dg-overlay-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.dg-overlay-progress {
    width: 100%;
}

.dg-overlay-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.dg-overlay-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 5px;
    transition: width 0.4s ease;
}

.dg-overlay-chunk {
    font-size: 13px;
    color: #94a3b8;
}

/* Grading result */
.dg-result-grade {
    font-size: 72px;
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.dg-result-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #22c55e;
    border-radius: 50%;
}

.dg-result-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.dg-result-sub {
    font-size: 18px;
    color: #64748b;
}

/* iPad landscape & small desktop: Shrink text and buttons to fit */
@media (max-width: 1180px) {

    .dg-preview-title,
    .dg-left-header-title {
        font-size: 14px;
        /* Smaller text */
    }

    .dg-preview-label {
        font-size: 9px;
    }

    .dg-btn,
    .dg-btn-play {
        padding: 5px 8px;
        /* Even thinner buttons */
        font-size: 10.5px;
        /* Smaller button text */
        gap: 4px;
        /* Tighter icon-to-text gap */
    }

    /* Target the lucide icons specifically if they overflow */
    .dg-btn i,
    .dg-btn-play i {
        width: 12px !important;
        height: 12px !important;
    }

    .dg-preview-actions {
        gap: 5px;
        /* Tighter gap */
    }

    .dg-left-header {
        padding: 10px 14px;
        flex-direction: column;
        align-items: center;
        /* Centered */
        text-align: center;
        gap: 8px;
    }

    .dg-left {
        max-height: 55vh;
        display: flex;
        flex-direction: column;
        top: 90px;
        overflow: hidden;
    }

    .dg-left-body {
        padding: 14px;
        overflow-y: auto;
        flex: 1;
        /* Hide scrollbar but keep scroll functionality */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .dg-left-body::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    .dg-preview-bar {
        padding: 10px 14px;
    }

    /* Ensure title area handles overflow gracefully */
    .dg-preview-left {
        max-width: 40%;
        overflow: hidden;
    }

    .dg-preview-title {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }


    /* Prevent action buttons from cutting off */
    .dg-preview-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
        min-width: 0;
    }

    /* Shrink the instructions content as requested */
    .dg-instructions-text {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* ClickTrainer: 70% / 30% split on iPad */
    .ct-screen {
        flex: 0 0 70% !important;
    }

    .ct-sidebar {
        flex: 0 0 30% !important;
        width: 30% !important;
    }

    /* Shrink ClickTrainer sidebar content */
    .ct-steps-header {
        font-size: 13px !important;
        padding: 12px 14px 6px !important;
    }

    .ct-step-text {
        font-size: 11px !important;
        /* Smaller text */
        line-height: 1.25 !important;
    }

    .ct-sidebar-top,
    .ct-sidebar-bottom {
        padding: 8px 10px !important;
        /* Tighter padding */
    }

    .ct-btn-watch {
        font-size: 11px !important;
        padding: 8px !important;
    }

    .ct-btn-prev,
    .ct-btn-continue {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        font-size: 0 !important;
        flex: 0 0 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        /* Circular icons */
    }

    .ct-btn-prev i,
    .ct-btn-continue i {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
    }

    .ct-sidebar-bottom {
        display: flex;
        justify-content: space-between;
        padding: 10px 14px !important;
    }

    .ct-step-item {
        gap: 6px !important;
        padding: 6px 8px !important;
    }

    .ct-steps-list {
        padding: 0 10px 10px !important;
    }

    /* Give content area more room by reducing layout gaps/pads */
    .main-layout {
        gap: 15px !important;
        padding: 20px 24px 24px !important;
    }
}









/* Tablet portrait: 30% / 70% split */
@media (min-width: 577px) and (max-width: 1024px) and (orientation: portrait) {
    .dg-split {
        grid-template-columns: 30% 1fr;
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 576px) and (orientation: portrait) {
    .dg-split {
        grid-template-columns: 1fr;
    }

    .dg-left {
        border-right: none;
        border-bottom: 1px solid #e9d5ff;
    }
}

/* ══════════════════════════════════════════
   ClickTrainer Styles
   ══════════════════════════════════════════ */
.ct-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* Top bar */
.ct-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    color: #0f172a;
    flex-shrink: 0;
    border-bottom: 1px solid #e2e8f0;
}

.ct-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ct-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-topbar-info {
    display: flex;
    flex-direction: column;
}

.ct-topbar-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.ct-topbar-mode {
    font-size: 12px;
    color: #60a5fa;
    font-weight: 600;
}

.ct-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
}

.ct-topbar-counter {
    font-weight: 600;
    color: #64748b;
}

.ct-topbar-progress {
    width: 120px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.ct-topbar-progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Main split */
.ct-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left: screenshot area */
.ct-screen {
    flex: 1;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 12px;
}

.ct-screen-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

/* Right: steps sidebar */
.ct-sidebar {
    width: 320px;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.ct-sidebar-top {
    padding: 16px 20px;
}

.ct-btn-watch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.ct-btn-watch:hover {
    background: #2563eb;
}

.ct-steps-header {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding: 16px 20px 8px;
}

.ct-steps-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

.ct-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 2px;
}

.ct-step-item:hover {
    background: #f8fafc;
}

.ct-step-item.active {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.ct-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    background: #f1f5f9;
    color: #64748b;
}

.ct-step-item.active .ct-step-num {
    background: #3b82f6;
    color: #fff;
}

.ct-step-item.done .ct-step-num {
    background: #22c55e;
    color: #fff;
}

.ct-step-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
    padding-top: 3px;
}

.ct-step-item.active .ct-step-text {
    color: #0f172a;
    font-weight: 600;
}

/* Sidebar bottom buttons */
.ct-sidebar-bottom {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.ct-btn-prev {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.ct-btn-prev:hover {
    background: #f8fafc;
}

.ct-btn-prev.hidden {
    visibility: hidden;
}

.ct-btn-continue {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.ct-btn-continue:hover {
    background: #2563eb;
}

.ct-btn-continue.finish {
    background: #22c55e;
}

.ct-btn-continue.finish:hover {
    background: #16a34a;
}

/* Completion overlay */
.ct-complete-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-complete-card {
    text-align: center;
    width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.ct-complete-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.ct-complete-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.ct-modal-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 10px;
}

.ct-modal-btn:last-child {
    margin-bottom: 0;
}

.ct-modal-btn-primary {
    background: #3b82f6;
    color: #fff;
    border: none;
}

.ct-modal-btn-primary:hover {
    background: #2563eb;
}

.ct-modal-btn-secondary {
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.ct-modal-btn-secondary:hover {
    background: #f8fafc;
}

@media (max-width: 576px) and (orientation: portrait) {
    .ct-sidebar {
        width: 260px;
    }

    .ct-body {
        flex-direction: column;
    }

    .ct-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        max-height: 250px;
    }
}

/* ══════════════════════════════════════════
   MOBILE & TABLET (max-width: 576px) and (orientation: portrait)
   Desktop remains unchanged above
   ══════════════════════════════════════════ */
@media (max-width: 576px) and (orientation: portrait) {

    /* ── Hamburger button ── */
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        margin-right: 8px;
    }

    .hamburger-icon {
        width: 24px;
        height: 24px;
        color: var(--text-main);
    }

    /* ── Header ── */
    .app-header {
        padding: 14px 16px;
        gap: 8px;
    }

    .desktop-toggle {
        display: none !important;
    }

    .img-logo {
        max-height: 28px;
    }

    .share-btn {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .share-btn .bell-wrapper {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }

    .install-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 4px;
    }

    .install-icon {
        width: 14px;
        height: 14px;
    }

    /* ── Sidebar: off-canvas overlay ── */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 200;
    }

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

    .sidebar {
        position: fixed !important;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        z-index: 210;
        background: linear-gradient(to bottom right, var(--app-bg-1), var(--app-bg-2));
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px 12px;
        box-shadow: none;
    }

    .sidebar.open {
        left: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    /* ── Main layout: single column ── */
    .main-layout {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }

    /* ── Content area ── */
    .content-area {
        min-width: 0;
    }

    /* ── Dashboard ── */
    .db-title {
        font-size: 20px;
    }

    .db-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .db-section-title {
        font-size: 15px;
    }

    .db-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .db-stat-value {
        font-size: 26px;
    }

    .db-stat-icon i {
        width: 28px;
        height: 28px;
    }

    .db-quick-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }

    .db-charts-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .db-donut {
        width: 140px;
        height: 140px;
    }

    .db-user-row-top {
        gap: 10px;
    }

    .db-user-avatar {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .db-user-name {
        font-size: 13px;
    }

    .db-user-email {
        font-size: 11px;
    }

    .db-user-flow {
        font-size: 11px;
    }

    .db-user-meta {
        padding-left: 46px;
        font-size: 11px;
    }

    .db-progress-pct {
        font-size: 13px;
        min-width: 36px;
    }

    .db-activity-row {
        padding: 12px 14px;
    }

    .db-activity-text {
        font-size: 12px;
    }

    .db-view-all {
        font-size: 12px;
    }

    .db-footer {
        padding: 14px 0;
        font-size: 11px;
    }

    .db-rate-summary {
        gap: 20px;
    }

    .db-rate-value {
        font-size: 22px;
    }

    /* ── Report ── */
    .rp-header-title {
        font-size: 22px;
    }

    .rp-status-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .rp-status-value {
        font-size: 22px;
    }

    .rp-plan-circles {
        gap: 30px;
    }

    .rp-plan-circle {
        width: 64px;
        height: 64px;
    }

    .rp-plan-circle-inner {
        font-size: 18px;
    }

    .rp-plan-circle-inner small {
        font-size: 10px;
    }

    .rp-mini-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .rp-mini-value {
        font-size: 18px;
    }

    .rp-charts-row {
        grid-template-columns: 1fr;
    }

    .rp-grid4 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rp-bottom-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rp-card {
        padding: 16px;
    }

    .rp-card-title {
        font-size: 14px;
    }

    .rp-footer {
        padding: 12px 0;
    }

    /* ── DocuGrader ── */
    .dg-split {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 12px;
    }

    .dg-left {
        border-right: none;
        border-radius: 12px;
        margin-bottom: 12px;
        position: relative;
        top: auto;
    }

    .dg-left-header {
        border-radius: 12px 12px 0 0;
        padding: 14px 16px;
    }

    .dg-left-header-title {
        font-size: 16px;
    }

    .dg-left-body {
        padding: 16px;
    }

    .dg-instructions-text {
        font-size: 14px;
    }

    .dg-right {
        padding: 0;
    }

    .dg-preview-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }

    .dg-preview-title {
        font-size: 13px;
    }

    .dg-preview-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
    }

    .dg-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .dg-alert {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* ── ClickTrainer ── */
    .ct-wrap {
        height: calc(100vh - 100px);
    }

    .ct-topbar {
        padding: 10px 12px;
    }

    .ct-topbar-title {
        font-size: 13px;
    }

    .ct-guide-name {
        display: none;
    }

    .ct-body {
        flex-direction: column;
    }

    .ct-screen {
        min-height: 250px;
    }

    .ct-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        max-height: 220px;
        overflow-y: auto;
    }

    .ct-sidebar-bottom {
        padding: 10px 14px;
    }

    .ct-btn-prev,
    .ct-btn-continue {
        padding: 8px 14px;
        font-size: 12px;
    }

    .ct-complete-card {
        width: 90vw;
        max-width: 360px;
        padding: 28px 20px;
    }

    /* ── Modals: constrain to screen ── */
    .dg-overlay .dg-overlay-content {
        max-width: 90vw;
    }

    .ctt-modal {
        width: 90vw;
        max-width: 380px;
        padding: 28px 20px;
    }

    .ctt-modal-score {
        font-size: 36px;
    }

    .ctt-modal-title {
        font-size: 18px;
    }

    /* ── General touch targets ── */
    .nav-item {
        padding: 12px 14px;
        min-height: 44px;
    }

    .filter-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ══════════════════════════════════════
   Instant Courses – Image Slider
   ══════════════════════════════════════ */
.ic-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

.ic-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.ic-slide-container {
    width: 100%;
    min-height: 100%;
    position: relative;
}

.ic-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: none;
}

.ic-slide.active {
    display: block;
    position: relative;
}

/* Bottom bar */
.ic-bottom {
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0 40px;
}

.ic-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 18px;
}

.ic-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: all 0.15s;
}

.ic-btn-prev {
    background: #fff;
    border: 1.5px solid #d1d5db;
    color: #6b7280;
}

.ic-btn-prev:hover {
    background: #f9fafb;
}

.ic-btn-next {
    background: linear-gradient(to bottom, #2b69d1, #184db0);
    border: none;
    color: #fff;
}

.ic-btn-next:hover {
    filter: brightness(1.1);
}

.ic-btn-quiz {
    background: #22c55e;
    border: none;
    color: #fff;
}

.ic-btn-quiz:hover {
    background: #16a34a;
}

@media (max-width: 576px) and (orientation: portrait) {
    .ic-bottom {
        padding: 0 16px;
    }

    .ic-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}