:root {
    --primary-color: #006C35;
    /* Saudi Flag Green */
    --primary-light: #008a44;
    --primary-dark: #004d26;
    --secondary-color: #d4af37;
    /* Gold accent */
    --bg-color: #f4f9f7;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 108, 53, 0.08);
    --text-main: #1a2a24;
    --text-muted: #5c756c;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    font-size: 14px;
    /* Reduced overall font size */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, rgba(22, 139, 106, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(212, 175, 55, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
}

/* App Container */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-box {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
}

.sidebar-header h2 {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.sidebar-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.nav-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.9rem 1rem;
    border-radius: 10px;
    text-align: right;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.nav-btn i {
    width: 20px;
    height: 20px;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(-5px);
}

.nav-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sidebar-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: auto;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 3rem;
    overflow-y: auto;
    height: 100vh;
}

/* Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-title h1 {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.header-title .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.date-display {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(13, 92, 70, 0.1);
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.bg-primary-light {
    background: var(--primary-light);
}

.bg-danger-light {
    background: var(--danger);
}

.bg-warning-light {
    background: var(--warning);
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

/* Tabs */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
    display: block;
}

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

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

/* Glass Card Component */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 i {
    color: var(--primary-color);
}

.badge {
    background: rgba(13, 92, 70, 0.1);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Compact Upload Area */
.compact-upload {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem !important;
}

.upload-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(22, 139, 106, 0.03);
    border: 2px dashed rgba(22, 139, 106, 0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: var(--transition);
}

.upload-content:hover {
    background: rgba(22, 139, 106, 0.06);
    border-color: var(--primary-color);
}

.upload-icon-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.upload-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.upload-text {
    flex: 1;
    margin-right: 1.5rem;
}

.upload-text h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.upload-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Modern Table */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 0.5rem;
}

.modern-table th {
    background: transparent;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    text-align: right;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.modern-table td {
    background: white;
    padding: 1rem;
    color: var(--text-main);
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.modern-table tr td:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.modern-table tr td:last-child {
    border-left: 1px solid rgba(0, 0, 0, 0.02);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.modern-table tr:hover td {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transform: scale(1.002);
    z-index: 2;
    position: relative;
}

/* Buttons */
.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(13, 92, 70, 0.3);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #218838;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Utilities */
.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.hidden {
    display: none !important;
}

.w-100 {
    width: 100%;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.search-box input {
    border: none;
    outline: none;
    padding: 0 0.5rem;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-box i {
    color: var(--primary-light);
}

/* Grid Selections */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    max-height: 450px;
    overflow-y: auto;
    padding: 0.5rem;
}

.teacher-check-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.teacher-check-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.teacher-check-card.selected {
    border: 2px solid var(--primary-color);
    background: rgba(22, 139, 106, 0.04);
}

.teacher-check-card input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.teacher-check-card .info h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.1rem;
}

.teacher-check-card .info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Distribute Area */
.distribute-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

.absent-list-panel h4,
.distribution-panel h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

.absent-teacher-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-right: 4px solid var(--danger);
}

.absent-teacher-card h5 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.period-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.period-tag {
    background: rgba(22, 139, 106, 0.08);
    color: var(--primary-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(22, 139, 106, 0.2);
}

.period-tag button {
    background: white;
    border: none;
    color: var(--danger);
    cursor: pointer;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.distribution-board {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 400px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: var(--bg-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.dist-info {
    flex: 1;
}

.dist-info h5 {
    font-size: 1.05rem;
    color: var(--danger);
    margin-bottom: 0.2rem;
}

.dist-info p {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
}

.dist-select {
    flex: 2;
}

.modern-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: white;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
}

.modern-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 139, 106, 0.1);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    width: 450px;
    max-width: 90%;
    transform: scale(0.95);
    transition: var(--transition);
    background: white;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.modal-header h3 {
    color: var(--primary-dark);
}

.close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    background: var(--danger);
    color: white;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
}

.modern-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: #fdfdfd;
}

.modern-input:focus {
    border-color: var(--primary-color);
    background: white;
}

/* ========================================================================= */
/* Print Styles - NoteBook Physical Replication                              */
/* ========================================================================= */
.print-area {
    display: none;
    /* Hide when not printing or in preview if desired, but we show it in preview */
}

/* Display block in report tab so user can see it */
#tab-report.active .print-area {
    display: block;
    background: #ccc;
    padding: 2rem;
    border-radius: 8px;
}

.page-break {
    page-break-after: always;
}

.report-page {
    background: white;
    width: 21cm;
    min-height: 29.7cm;
    margin: 0 auto 2rem auto;
    padding: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Simulate notebook binder holes on the left/right if desired, but standard is fine */
}

/* Notebook Header (Dark Gray as seen in image) */
.notebook-header {
    background-color: #3f4244;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5cm 2cm 0.5cm 2cm;
    border-bottom: 8px solid #b8b8b8;
    position: relative;
}

/* Adding the subtle curve using pseudo element */
.notebook-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    right: 10%;
    height: 30px;
    background: #3f4244;
    border-radius: 0 0 50% 50%;
    z-index: 1;
}

.header-text-right {
    text-align: right;
}

.header-text-right h4 {
    font-size: 14pt;
    margin-bottom: 5px;
    font-weight: 700;
}

.header-text-right h5 {
    font-size: 11pt;
    font-weight: 600;
}

.header-text-left {
    text-align: left;
}

.header-text-left h4 {
    font-size: 14pt;
    margin-bottom: 5px;
    font-weight: 700;
}

.header-text-left h5 {
    font-size: 10pt;
    font-weight: 400;
    font-family: Arial, sans-serif;
}

/* School Name Banner */
.school-banner {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 20px;
    margin-top: 15px;
    font-size: 16pt;
    font-weight: 800;
}

/* Content Area */
.notebook-content {
    padding: 1cm 1.5cm 0 1.5cm;
}

.notebook-title {
    text-align: center;
    font-size: 16pt;
    font-weight: 800;
    margin-bottom: 1cm;
    color: var(--primary-color);
}

/* Sections for Absent Teachers */
.absent-block {
    margin-bottom: 1cm;
}

.greeting-text {
    font-size: 11pt;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5cm;
    line-height: 1.8;
}

.greeting-text .dotted-line {
    display: inline-block;
    border-bottom: 2px dotted #000;
    min-width: 250px;
    color: var(--primary-dark);
    text-align: center;
    padding: 0 10px;
    font-family: 'Tahoma', sans-serif;
}

.thanks-text {
    text-align: center;
    font-size: 11pt;
    font-weight: 700;
    margin: 0.3cm 0;
}

/* The Exact Table */
.notebook-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--primary-color);
    margin-bottom: 0.5cm;
}

.notebook-table th,
.notebook-table td {
    border: 1px solid var(--primary-color);
    padding: 4px 3px;
    text-align: center;
    font-size: 9pt;
    font-weight: 700;
    color: #000;
}

.notebook-table th {
    background-color: var(--primary-color);
    color: white;
}

.notebook-table td {
    color: var(--primary-dark);
    font-family: 'Tahoma', sans-serif;
}

/* Footer of the Page */
.notebook-page-footer {
    width: 100%;
    margin-top: 1.5cm;
    padding-bottom: 1cm;
}

.signatures-area {
    padding: 0 1.5cm;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1cm;
    font-size: 10pt;
    font-weight: 700;
    color: #000;
}



@media print {
    body {
        background: white !important;
        background-image: none !important;
        margin: 0;
        padding: 0;
    }

    .no-print,
    .sidebar,
    .top-header,
    .no-print-card,
    .dashboard-stats {
        display: none !important;
    }

    .main-content {
        padding: 0 !important;
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }

    .app-container {
        display: block !important;
    }

    .print-area {
        background: transparent !important;
        padding: 0 !important;
    }

    .report-page {
        box-shadow: none !important;
        margin: 0 !important;
        width: 210mm !important;
        min-height: 296mm !important;
        overflow: visible;
    }

    /* Ensure background colors are printed for the header/footer */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page {
        margin: 0;
        size: A4 portrait;
    }
}

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .distribute-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {

    /* Hide sidebar by default on mobile */
    .sidebar {
        position: fixed;
        right: -260px;
        top: 0;
        height: 100vh;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .sidebar.active {
        right: 0;
    }

    /* Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

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

    /* Header */
    .mobile-menu-btn {
        display: block !important;
        background: transparent;
        border: none;
        color: var(--primary-dark);
        cursor: pointer;
        padding: 5px;
    }

    .mobile-menu-btn i {
        width: 28px;
        height: 28px;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-title h1 {
        font-size: 1.5rem;
    }

    .header-title .subtitle {
        font-size: 0.85rem;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .main-content {
        padding: 1rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

    .compact-upload {
        padding: 1rem !important;
    }

    .upload-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .upload-text {
        margin-right: 0;
    }

    /* Modals */
    .modal-content {
        width: 90%;
        margin: 0 auto;
    }

    .dist-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .dist-select {
        width: 100%;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .card-header button {
        width: 100%;
    }
}

.mobile-menu-btn {
    display: none;
}

/* Custom PWA React-like Banners */
.fixed-bottom-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
}

.fixed-bottom-banner.text-center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.bg-saudi {
    background-color: var(--primary-color);
}

.bg-slate {
    background-color: #1e293b;
}

.banner-col {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.font-black {
    font-weight: 900;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-white {
    color: white;
}

.opacity-90 {
    opacity: 0.9;
}

.install-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 900;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
    white-space: nowrap;
}

.install-btn:hover {
    background-color: #f8fafc;
}

.leading-relaxed {
    line-height: 1.625;
}

.ios-badge {
    background-color: #334155;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    margin: 0 0.25rem;
    display: inline-block;
}

.dismiss-btn {
    margin-top: 0.5rem;
    font-size: 0.625rem;
    text-decoration: underline;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-15%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}