/* CSS Variables */
:root {
    /* Liturgical colours. Overridden at runtime by applyLiturgicalColor()
       in app.js; these are the Gold (ordinary) defaults. */
    --primary-color: #8a6d1f;
    --primary-dark: #5c4813;
    --secondary-color: #d4af37;
    --background-color: #faf8f5;
    --card-background: #ffffff;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0d5c8;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

header .subtitle {
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
}

/* Main Navigation (Prayer Book / Psalter) */
.main-nav {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.main-nav-tab {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.875rem 2.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.main-nav-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: white;
    transition: var(--transition);
}

.main-nav-tab:hover {
    color: white;
}

.main-nav-tab.active {
    color: white;
}

.main-nav-tab.active::after {
    width: 80%;
}

/* Main Sections */
.main-section {
    display: none;
}

.main-section.active {
    display: block;
}

/* Tradition Tabs (Main Navigation) */
.tradition-tabs {
    display: flex;
    justify-content: center;
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.tradition-tab {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tradition-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tradition-tab:hover {
    color: var(--primary-color);
}

.tradition-tab.active {
    color: var(--primary-color);
}

.tradition-tab.active::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Tradition Content Sections */
.tradition-content {
    display: none;
}

/* Background images for each tradition - flanking the content */
main {
    position: relative;
}

main::before,
main::after {
    content: '';
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}

main::before {
    left: 20px;
}

main::after {
    right: 20px;
}

/* Byzantine - Icon on both sides */
body.tradition-byzantine main::before,
body.tradition-byzantine main::after {
    background-image: url('images/icon.svg');
}

/* Hide side images on smaller screens */
@media (max-width: 1200px) {
    main::before,
    main::after {
        display: none;
    }
}

.tradition-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Topic Tabs (Secondary Navigation) */
.topic-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.topic-tab {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-background);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.topic-tab:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.topic-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Topic Content */
.topic-content {
    display: none;
}

.topic-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Prayer Cards */
.prayer {
    background: var(--card-background);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

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

.prayer h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    padding: 0.25rem 0;
}

.prayer h3::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.prayer.collapsed h3::after {
    transform: rotate(-45deg);
}

.prayer.collapsed h3 {
    margin-bottom: 0;
}

.prayer:not(.collapsed) h3 {
    margin-bottom: 1rem;
}

.prayer-body {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.prayer.collapsed .prayer-body {
    max-height: 0;
    opacity: 0;
}

.prayer:not(.collapsed) .prayer-body {
    max-height: 2000px;
    opacity: 1;
}

.prayer-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.prayer .attribution {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: right;
}

/* Music Controls */
.music-controls {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.music-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.music-btn.playing {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.music-btn.playing .music-label {
    display: none;
}

.music-btn.playing::after {
    content: 'Pause';
}

.music-icon {
    font-size: 1.1rem;
}

.music-select {
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
}

.music-select option {
    background: var(--primary-color);
    color: white;
}

/* Season Banner */
.season-banner {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    transition: var(--transition);
}

/* Office Hour Banner */
.office-banner {
    margin-top: 0.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    opacity: 0.9;
}

.office-banner .office-name {
    font-weight: 600;
}

.office-banner .office-desc {
    margin-left: 0.5rem;
    opacity: 0.8;
}

.office-banner .office-desc::before {
    content: '— ';
}

/* Current hour highlight in the Hours tab */
.current-hour-indicator:empty {
    display: none;
}

.current-hour-indicator {
    margin-top: 0.75rem !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-color) !important;
}

.hour-greek {
    font-family: 'Crimson Text', Georgia, serif;
    font-style: italic;
    opacity: 0.75;
}

.prayer.current-hour {
    border-left: 4px solid var(--primary-color);
    position: relative;
}

/* A floating badge rather than an h3::before. The heading is a flex row with
   space-between, so a ::before would become a third flex item and push the
   title into the centre, out of line with every other card. */
.prayer.current-hour::before {
    content: 'Now';
    position: absolute;
    top: -0.55rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
}

/* Calendar toggle (New / Old Calendar) */
.calendar-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.calendar-tab {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-background);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-tab:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.calendar-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Today panel */
.today-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.today-date {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.today-titles {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
}

.today-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.today-fact {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.fact-key {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.fact-value {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
}

.today-abstain {
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.today-list {
    list-style: none;
    padding: 0;
}

.today-list li {
    padding: 0.3rem 0 0.3rem 1.1rem;
    position: relative;
}

.today-list li::before {
    /* U+FE0E forces text presentation. Without it iOS renders the cross as a
       colour emoji, which arrives as a purple tile. */
    content: '✝\FE0E';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8em;
}

.today-section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin: 1.75rem 0 0.75rem;
    text-align: center;
}

/* Readings and saints' lives share the collapsible card pattern */
.reading {
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.reading h3 {
    font-size: 1.05rem;
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    cursor: pointer;
    position: relative;
    padding-right: 2.75rem;
}

.reading h3::after {
    content: '−';
    position: absolute;
    right: 1.5rem;
    color: var(--secondary-color);
    font-weight: 400;
}

.reading.collapsed h3::after {
    content: '+';
}

.reading-body {
    padding: 0 1.5rem 1.25rem;
}

.reading.collapsed .reading-body {
    display: none;
}

.reading .verse sup {
    color: var(--secondary-color);
    font-size: 0.7em;
    margin-right: 0.15em;
}

.reading .story p {
    margin-bottom: 0.9rem;
}

.reading .story p:last-child {
    margin-bottom: 0;
}

.today-colour-note {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.colour-swatch {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    margin-right: 0.45rem;
    vertical-align: -1px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* Prayer reminders */
.reminders {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.reminders-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.reminder-list {
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.reminder-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

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

.reminder-row input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.reminder-name {
    flex: 1;
    color: var(--primary-color);
    font-weight: 600;
}

.reminder-time {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reminders-status {
    margin-top: 0.9rem;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Status and credit lines */
.today-status {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem 1rem;
}

.today-error {
    color: #8b0000;
}

.today-stale {
    padding: 0.75rem;
    font-size: 0.9rem;
}

.today-credit {
    margin-top: 2rem;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.today-credit .cal-note {
    opacity: 0.8;
}

.today-credit a {
    color: var(--primary-color);
}

/* Office Content */
.office-intro {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(212, 165, 116, 0.1));
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.office-intro p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.office-section {
    background: var(--card-background);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.office-section h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.office-section .prayer-text {
    margin: 0;
}

/* Psalter Styles */
.psalter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.psalter-tab {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-background);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.psalter-tab:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.psalter-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.psalter-intro {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(212, 165, 116, 0.1));
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.psalter-intro p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.psalm-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.psalm-navigation label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.psalm-navigation select {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    min-width: 150px;
}

.psalm-navigation select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.psalm {
    background: var(--card-background);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

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

.psalm h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    padding: 0.25rem 0;
}

.psalm h3::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.psalm.collapsed h3::after {
    transform: rotate(-45deg);
}

.psalm.collapsed h3 {
    margin-bottom: 0;
}

.psalm:not(.collapsed) h3 {
    margin-bottom: 1rem;
}

.psalm-body {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.psalm.collapsed .psalm-body {
    max-height: 0;
    opacity: 0;
}

.psalm:not(.collapsed) .psalm-body {
    max-height: 5000px;
    opacity: 1;
}

.psalm-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    white-space: pre-line;
}

.psalm-lxx-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .main-nav-tab {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .tradition-tabs {
        justify-content: stretch;
    }

    .tradition-tab {
        flex: 1;
        padding: 0.875rem 0.5rem;
        font-size: 0.85rem;
    }

    .psalter-tabs {
        flex-wrap: wrap;
    }

    .psalter-tab {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .calendar-tab {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .today-titles {
        font-size: 1.2rem;
    }

    .today-facts {
        gap: 0.5rem;
    }

    .today-fact {
        flex: 1 1 auto;
        min-width: 30%;
        padding: 0.5rem 0.75rem;
    }

    .reading h3 {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
        padding-right: 2.5rem;
    }

    .reading h3::after {
        right: 1.25rem;
    }

    .reading-body {
        padding: 0 1.25rem 1rem;
    }

    .psalm-navigation {
        flex-wrap: wrap;
    }

    .psalm {
        padding: 1.25rem 1.5rem;
    }

    .psalm h3 {
        font-size: 1.1rem;
    }

    .psalm-text {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .topic-tabs {
        gap: 0.375rem;
    }

    .topic-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .prayer {
        padding: 1.25rem 1.5rem;
    }

    .prayer h3 {
        font-size: 1.1rem;
    }

    .prayer-text {
        font-size: 1rem;
    }

    .season-banner {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .office-banner {
        font-size: 0.8rem;
    }

    .office-section {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 1rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    .tradition-tab {
        font-size: 0.75rem;
        padding: 0.75rem 0.25rem;
    }

    .topic-tab {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .prayer {
        padding: 1rem 1.25rem;
        margin-bottom: 1rem;
    }

    .prayer-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

/* Print Styles */
@media print {
    header, footer, .tradition-tabs, .topic-tabs {
        display: none;
    }

    body {
        background: white;
        font-size: 12pt;
    }

    .tradition-content, .topic-content {
        display: block !important;
    }

    .prayer {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection Styling */
::selection {
    background-color: var(--secondary-color);
    color: white;
}

/* Footer links to the privacy policy and support page. */
.footer-links {
    margin-top: 0.4rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    opacity: 0.75;
}

.footer-links a {
    color: inherit;
}
