/* static/css/styles.css */

/* ==========================================================================
   Base Styles & Typography
   ========================================================================== */

/* --- NEW: CSS Variables for Theming --- */
:root {
    --page-bg: #f3f3f3;
    --content-bg: white;
    --text-color: #0b0c0c;
    --text-color-subtle: #505a5f;
    --border-color: #b1b4b6;
    --border-color-light: #e1e8;
    --focus-color: #ffdd00;
    --link-color: #1d70b8;
    --link-hover-color: #003078;
    --button-primary-bg: #00703c;
    --button-primary-text: white;
    --button-primary-shadow: #002d18;
    --input-border-color: #0b0c0c;
    --test-problem-text: #0b0c0c;
    --test-keypad-bg: #626a6e;
    --test-keypad-text: white;
}

body.theme-dark-mode {
    --page-bg: #1a1a1a;
    --content-bg: #2c2c2c;
    --text-color: #e0e0e0;
    --text-color-subtle: #a0a0a0;
    --border-color: #555555;
    --border-color-light: #444444;
    --focus-color: #ffdd00;
    --link-color: #5694ca;
    --link-hover-color: #8ab4f8;
    --button-primary-bg: #8ab4f8;
    --button-primary-text: #202124;
    --button-primary-shadow: #2c5a87;
    --input-border-color: #e0e0e0;
    --test-problem-text: #e0e0e0;
    --test-keypad-bg: #555555;
    --test-keypad-text: #e0e0e0;
}

body.theme-blue-yellow {
    --page-bg: #002548;
    --content-bg: #003078;
    --text-color: #ffdd00;
    --text-color-subtle: #d1e7fd;
    --border-color: #ffdd00;
    --border-color-light: #005a9c;
    --focus-color: #ffffff;
    --link-color: #f3f3f3;
    --link-hover-color: #ffffff;
    --button-primary-bg: #ffdd00;
    --button-primary-text: #0b0c0c;
    --button-primary-shadow: #b39b00;
    --input-border-color: #ffdd00;
    --test-problem-text: #ffdd00;
    --test-keypad-bg: #ffdd00;
    --test-keypad-text: #0b0c0c;
}


body {
    font-family: 'Roboto', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--page-bg);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#page-container {
    flex: 1 0 auto;
}

.main-container {
    max-width: 1020px;
    margin: 30px auto;
    padding: 30px;
    background-color: var(--content-bg);
    border: 1px solid var(--border-color);
}

/* This rule specifically targets the main container ONLY on pages that have the special test class on the body. */
body.test-interface-page .main-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}


h1, .page-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

h2, .page-subheading {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 2rem 0 1rem 0;
    color: var(--text-color);
}

h3, .panel-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem 0;
    color: var(--text-color);
}

p {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--text-color-subtle);
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

a.link {
    text-decoration: underline;
    font-weight: 700;
}

code {
    font-family: monospace;
    font-size: 0.9em;
    padding: 2px 5px;
    background-color: var(--border-color-light);
    border-radius: 3px;
    color: var(--text-color);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-header__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.centered-container {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.grid-container {
    display: grid;
    gap: 30px;
    margin-bottom: 2.5rem;
}

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

@media (max-width: 768px) {
    .grid-container--2-cols {
        grid-template-columns: 1fr;
    }
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    justify-content: center; 
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto;
    gap: 20px;
}

.hub-grid__button {
    display: block;
    padding: 25px;
    height: auto;
}
.hub-grid__button p {
    font-weight: 400;
}
.button--blue .hub-grid__button-subtext { color: #d1e7fd; }
.button--green .hub-grid__button-subtext { color: #e0f0e6; }
.button--yellow .hub-grid__button-subtext { color: #505a5f; }

.panel-heading--light { color: white; margin-top: 0; }
.panel-heading--dark { color: #0b0c0c; margin-top: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: auto;
    margin: 0;
    padding: 8px 15px;
    border: 2px solid transparent;
    border-radius: 0;
    color: var(--button-primary-text);
    background-color: var(--button-primary-bg);
    box-shadow: 0 2px 0 var(--button-primary-shadow);
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    text-decoration: none;
    -webkit-appearance: none;
}

.button:hover {
    filter: brightness(0.9);
    color: var(--button-primary-text);
}

.button:active {
    top: 2px;
}

.button:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 0;
    box-shadow: 0 2px 0 var(--button-primary-shadow);
}

.button--secondary {
    background-color: #f3f3f3;
    color: #0b0c0c;
    box-shadow: 0 2px 0 #b1b4b6;
}
.button--secondary:hover {
    background-color: #d8dada;
}
.button--secondary:focus {
     box-shadow: 0 2px 0 #b1b4b6;
}

.button--warning {
    background-color: #d4351c; /* GOV.UK Red */
    color: white;
    box-shadow: 0 2px 0 #57140c;
}
.button--warning:hover {
    background-color: #a02815;
}
.button--warning:focus {
    box-shadow: 0 2px 0 #57140c;
}

.button--blue {
    background-color: #1d70b8; /* GOV.UK Blue */
    color: white;
    box-shadow: 0 2px 0 #002548;
}
.button--blue:hover {
    background-color: #003078;
}
.button--blue:focus {
    box-shadow: 0 2px 0 #002548;
}

.button--yellow {
    background-color: #ffdd00; /* GDS Yellow */
    color: #0b0c0c; /* GDS Black text for accessibility on yellow */
    box-shadow: 0 2px 0 #b39b00; /* Darker yellow for shadow */
}
.button--yellow:hover {
    background-color: #f2d100; /* Slightly darker yellow */
}
.button--yellow:focus {
    box-shadow: 0 2px 0 #b39b00; /* Keep shadow on focus */
}

.button[disabled],
.button.disabled {
    opacity: 0.5;
    cursor: default;
}
.button[disabled]:hover {
    filter: none;
}
.button[disabled]:active {
    top: 0;
}

.button--large {
    font-size: 1.25rem;
    padding: 10px 20px;
}

.button--full-width {
    width: 100%;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-container {
    max-width: 600px;
    margin: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group--error {
    border-left: 5px solid #d4351c;
    padding-left: 15px;
    margin-left: -20px;
}

.form-label {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-hint {
    font-size: 1rem;
    color: var(--text-color-subtle);
    display: block;
    margin-top: -5px;
    margin-bottom: 5px;
}

.form-error-message {
    color: #d4351c;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.form-input,
.form-select {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
    padding: 8px;
    border: 2px solid var(--input-border-color);
    box-sizing: border-box;
    background-color: var(--content-bg);
    color: var(--text-color);
}

.form-input:focus,
.form-select:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 0;
    box-shadow: inset 0 0 0 2px;
}

.form-input--medium,
.form-select--medium {
    max-width: 100%;
}

.form-input--small-numeric {
    max-width: 100px;
    text-align: right;
}

.form-input--error {
    border: 2px solid #d4351c;
}

.form-input--error:focus {
    border-color: var(--input-border-color);
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color-light);
    border-radius: 5px;
}

.form-section legend {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 0.5em;
    margin-left: -0.5em;
    color: var(--text-color);
}

.form-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-color);
}

.data-table th {
    font-weight: 700;
}

.data-table tr.correct { background-color: #d4edda; }
.data-table tr.incorrect { background-color: #f8d7da; }

.data-table__actions {
    text-align: right;
    white-space: nowrap;
}

.data-table__empty-row td {
    text-align: center;
    padding: 40px;
    color: var(--text-color-subtle);
}

/* ==========================================================================
   Panels & Cards
   ========================================================================== */
.panel {
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--content-bg);
}

.panel--info {
    background-color: var(--content-bg);
    border-left-width: 5px;
    border-left-color: #1d70b8;
}

.panel--warning {
    background-color: #fff3cd;
    border-left-width: 5px;
    border-left-color: #ffdd00;
}
.login-error-panel {
    padding: 15px; 
    margin-bottom: 20px;
}

.card {
    border: 1px solid var(--border-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.card h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card p {
    flex-grow: 1;
    color: var(--text-color-subtle);
}

/* ==========================================================================
   Header & Site Navigation
   ========================================================================== */
.site-header {
    background-color: #0b0c0c;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header__title {
    font-weight: 700;
    font-size: 1.5rem;
}

.site-header__title a {
    text-decoration: none;
    color: white;
}

.site-header__center {
    color: #b1b4b6;
    font-size: 1.2rem;
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header__nav-greeting {
    color: #f3f3f3;
    margin-right: 1.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   Global Messages
   ========================================================================== */
.global-messages-container {
    padding: 0 30px;
    max-width: 1020px;
    margin: 0 auto;
}

.messages {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.messages li {
    padding: 15px;
    margin-bottom: 10px;
    border-left-width: 5px;
    border-left-style: solid;
    color: #0b0c0c;
}

.messages .alert-success { border-color: #00703c; background-color: #d4edda; }
.messages .alert-info { border-color: #1d70b8; background-color: #d1e7fd; }
.messages .alert-warning { border-color: #ffdd00; background-color: #fff3cd; }
.messages .alert-danger { border-color: #d4351c; background-color: #f8d7da; }

/* ==========================================================================
   Component-Specific Styles
   ========================================================================== */
/* Heatmap Report */
.heatmap-container { margin-bottom: 40px; overflow-x: auto; }
.heatmap-table { border: 1px solid #ccc; border-collapse: collapse; width: 100%; }
.heatmap-table th, .heatmap-table td { border: 1px solid #ddd; padding: 8px; text-align: center; min-width: 55px; }
.heatmap-table .student-name-header, .heatmap-table .student-name-cell { text-align: left; min-width: 150px; background-color: #f8f9fa; font-weight: bold; }
.heatmap-cell { font-weight: bold; color: white; text-shadow: 1px 1px 1px rgba(0,0,0,0.2); }
.heatmap-cell.green { background-color: #28a745; }
.heatmap-cell.orange { background-color: #fd7e14; }
.heatmap-cell.red { background-color: #dc3545; }
.heatmap-cell.grey { background-color: #e9ecef; color: #6c757d; text-shadow: none; }
.heatmap-cell .accuracy { display: block; font-size: 1.1em; }
.heatmap-cell .time { display: block; font-size: 0.8em; opacity: 0.9; }
.heatmap-cell .time.red { color: #d4351c; }
.heatmap-cell .time.white { color: #ffffff; }
.heatmap-table--speed th { background-color: #1d70b8; color: white; border-right: 2px solid white; }
.heatmap-table--speed td { border-right: 2px solid white; }

.generating-notice { text-align: center; padding: 50px; border: 2px dashed #ccc; border-radius: 8px; margin: 40px 0; }
.spinner { margin: 20px auto; width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* CSV Upload Page */
.upload-instructions { padding: 15px; margin: 1rem 0; background-color: #f3f3f3; border-left: 5px solid #1d70b8; }
.upload-instructions p { margin: 0.5rem 0; }
.drop-zone { border: 3px dashed #b1b4b6; border-radius: 8px; padding: 60px 20px; text-align: center; font-size: 1.2rem; color: #505a5f; cursor: pointer; transition: all 0.2s ease-in-out; margin-top: 2rem; }
.drop-zone.drag-over { border-color: #00703c; background-color: #e7f1eb; }
.drop-zone__text { font-weight: 700; color: #0b0c0c; }
.drop-zone__file-chosen { font-style: italic; display: block; margin-top: 10px; }
#csv_file { display: none; }

/* Learning Settings Page */
.input-with-suffix { display: flex; align-items: center; gap: 10px; }
.input-with-suffix__suffix { font-weight: 700; font-size: 1.2rem; }

/* Filters Panel */
.filters-panel { background-color: #f3f3f3; padding: 20px; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.filters-panel__left, .filters-panel__right { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end; }
.filters-panel .form-group { flex-grow: 1; margin-bottom: 0; }
.filters-panel .form-label { font-size: 1rem; }

.hub-container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hub-button { width: 250px; height: 100px; font-size: 1.5rem; display: flex; justify-content: center; align-items: center; text-align: center; }
.hub-container--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 800px; margin: auto; }
@media (max-width: 600px) { .hub-container--grid { grid-template-columns: 1fr; } }

/* Accessibility Suite */
.accessibility-suite-container { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.accessibility-controls { padding: 20px; border: 1px solid var(--border-color); background-color: var(--page-bg); }
.accessibility-controls h3 { margin-top: 0; }
.accessibility-preview { border: 2px dashed var(--border-color); padding: 20px; }
.theme-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
#preview-pane { transition: all 0.3s ease-in-out; }
#preview-pane .problem { font-size: 50px; color: var(--test-problem-text); margin-right: 15px; }
#preview-pane .keypad-button { background-color: var(--test-keypad-bg); color: var(--test-keypad-text); }


/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 20px 30px;
    background-color: #f3f3f3;
    border-top: 1px solid #b1b4b6;
    color: #505a5f;
    font-size: 0.9rem;
    text-align: center;
    flex-shrink: 0;
}
.site-footer a {
    color: #505a5f;
    font-weight: bold;
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Utility & Helper Classes
   ========================================================================== */
.page-header__heading-block { display: flex; align-items: center; gap: 1.25rem; }
.text-danger { color: #d4351c; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.margin-top-0 { margin-top: 0 !important; }
.margin-top-2 { margin-top: 2rem; }
.margin-left-1 { margin-left: 1rem; }
.margin-bottom-0 { margin-bottom: 0 !important; }
.flex-center-gap { display: flex; gap: 10px; justify-content: center; }
.flex-start { justify-content: flex-start; }

.page-container--hidden { visibility: hidden; }

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3f3f3;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-overlay__heading { color: #0b0c0c; }
.loading-overlay__text { color: #505a5f; }

.home-container {
    text-align: center;
    padding: 1.5em 1rem 1.5rem;
}


.home-container .page-subheading {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.login-choice-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

hr.separator {
    border: 0;
    border-top: 1px solid #e1e4e8;
    margin: 2rem 0;
}

/* --- High-Contrast Accessibility Themes --- */
body.theme-yob {
    --page-bg: #000000;
    --content-bg: #000000;
    --text-color: #ffff00;
    --text-color-subtle: #ffff00;
    --border-color: #ffff00;
    --border-color-light: #444444;
    --focus-color: #ffffff;
    --link-color: #ffff00;
    --link-hover-color: #ffffff;
    --button-primary-bg: #ffff00;
    --button-primary-text: #000000;
    --button-primary-shadow: #b3b300;
    --input-border-color: #ffff00;
    --test-problem-text: #ffff00;
    --test-keypad-bg: #ffff00;
    --test-keypad-text: var(--page-bg);
}
body.theme-yob .site-footer { background-color: #000; border-top-color: #ffff00; }
body.theme-yob .site-footer, body.theme-yob .site-footer a { color: #ffff00; }

body.theme-bob {
    --page-bg: #96adfc;
    --content-bg: #96adfc;
    --text-color: #000000;
    --text-color-subtle: #000000;
    --border-color: #000000;
    --border-color-light: #b0c1ff;
    --focus-color: #00008b;
    --link-color: #00008b;
    --link-hover-color: #000000;
    --button-primary-bg: #000000;
    --button-primary-text: #96adfc;
    --button-primary-shadow: #222222;
    --input-border-color: #000000;
    --test-problem-text: #000000;
    --test-keypad-bg: #000000;
    --test-keypad-text: var(--page-bg);
}
body.theme-bob .site-footer { background-color: #96adfc; border-top-color: #000; }
body.theme-bob .site-footer, body.theme-bob .site-footer a { color: #000; }


body.theme-bop {
    --page-bg: #edd1b0;
    --content-bg: #edd1b0;
    --text-color: #000000;
    --text-color-subtle: #000000;
    --border-color: #000000;
    --border-color-light: #f5e0c5;
    --focus-color: #a52a2a;
    --link-color: #a52a2a;
    --link-hover-color: #000000;
    --button-primary-bg: #000000;
    --button-primary-text: #edd1b0;
    --button-primary-shadow: #222222;
    --input-border-color: #000000;
    --test-problem-text: #000000;
    --test-keypad-bg: #000000;
    --test-keypad-text: var(--page-bg);
}
body.theme-bop .site-footer { background-color: #edd1b0; border-top-color: #000; }
body.theme-bop .site-footer, body.theme-bop .site-footer a { color: #000; }


body.theme-boc {
    --page-bg: #fff5cd;
    --content-bg: #fff5cd;
    --text-color: #00008b;
    --text-color-subtle: #00008b;
    --border-color: #00008b;
    --border-color-light: #fff9e0;
    --focus-color: #ffdd00;
    --link-color: #00008b;
    --link-hover-color: #000000;
    --button-primary-bg: #00008b;
    --button-primary-text: #fff5cd;
    --button-primary-shadow: #00003d;
    --input-border-color: #00008b;
    --test-problem-text: #00008b;
    --test-keypad-bg: #00008b;
    --test-keypad-text: var(--page-bg);
}
body.theme-boc .site-footer { background-color: #fff5cd; border-top-color: #00008b; }
body.theme-boc .site-footer, body.theme-boc .site-footer a { color: #00008b; }

.button--green {
    background-color: #00703c; /* Explicitly set the green background */
    color: white;
    box-shadow: 0 2px 0 #002d18;
}
.button--green:hover {
    background-color: #005a30; /* Darker green on hover */
}
.button--green:focus {
    box-shadow: 0 2px 0 #002d18;
}

/* Add these classes to the end of html_version/css/styles.css */
.page-container--hidden {
    visibility: hidden;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3f3f3;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.loading-overlay__heading { color: #0b0c0c; }
.loading-overlay__text { color: #505a5f; }


/* === Add these styles to the end of your styles.css file === */

.monthly-summary-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    text-align: center;
}

.monthly-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-card {
    width: 80px;
    height: 100px;
    padding: 10px;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    border-bottom: 3px solid rgba(0,0,0,0.2);
}

.score-card__score {
    font-size: 2rem;
}

.month-label {
    margin-top: 0.5rem;
    font-weight: bold;
    color: var(--text-color-subtle);
}

/* THE FIX: Replaced old class names with new ones */
.score-card--red { background-color: #d4351c; } /* Red */
.score-card--yellow { background-color: #ffdd00; color: #0b0c0c; } /* Yellow */
.score-card--orange { background-color: #fd7e14; } /* Orange */
.score-card--green { background-color: #00703c; } /* Green */
.score-card--nodata { background-color: #f3f3f3; color: #b1b4b6; border-bottom: 3px solid #b1b4b6;}

/* THE FIX: These new rules make the trend arrow chunkier */
.score-card__trend {
    font-size: 3rem; /* Increased font size */
    font-weight: 900; /* Made the font bolder */
    line-height: 1;
}
/* Styling for the VERTICAL button stack on the homepage */
.home-action-buttons {
    display: flex;
    flex-direction: column; /* This stacks items vertically */
    align-items: center;   /* This centers the column on the page */
    gap: 1rem;             /* This adds a consistent 1rem space between each button */
    max-width: 320px;      /* This prevents the buttons from becoming too wide on large screens */
    margin: 2rem auto 0;   /* This centers the container and adds space above it */
}

/* This rule makes all buttons inside the container take up the full available width */
.home-action-buttons .button {
    width: 100%;
    box-sizing: border-box; /* Ensures padding is included in the width, preventing overflow */
}
