/* 1. Import Inter font from Google Fonts (replacing the <link> tag) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* 2. Apply the custom font globally (retaining original style) */
body {
    font-family: 'Inter', sans-serif;
}

/* --- Headings and Text --- */
page-header {
    color: var(--text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    font-size: 2.0rem;
    font-weight: 700;
    text-align: center;
    /*display: block;*/
}

section-header {
    color: var(--text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
}

header {
    text-align: center;
    margin-bottom: 2em;
}

header page-header {
    margin-bottom: 0.2em;
}

.data-table-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse; /* Essential for clean borders */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners look correct */
}
.data-table-container th, 
.data-table-container td {
    padding: 12px 15px;
    text-align: left;
    /* THIS IS THE KEY STYLE: 
        Applying a bottom border to every cell 
    */
    border-bottom: 1px solid #e0e0e0; 
    font-size: 14px;
}
.data-table-container th {
    background-color: #f3f4f6;
    font-weight: bold;
    text-transform: uppercase;
}
/* Style for the last row to remove the extra bottom border */
.data-table-container tbody tr:last-child td {
    border-bottom: none;
}
.data-table-container td:first-child {
    font-weight: 600;
}
/* Specific style for the Personal Data column for clarity */
.personal-data-status {
    text-align: center;
    font-weight: bold;
}

/* --- Buttons --- */
.button-group {
    margin-top: 0.5rem;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px var(--shadow-light);
    min-width: 200px;
    max-width: 100%;
}

.button-border {
    border: 2px solid secondary-brown;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button:active {
    transform: translateY(0);
}

.button {
    background-color: #FFF4E3;
    color: var(--text-dark);
}

.button:hover {
    background-color: main-beige;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

@media (min-width: 600px) {
    .button-group {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .button-group {
        flex-direction: column;
    }
}

.checkmark-icon {
    color: #92400e; /* secondary-brown */
    margin-right: 0.8em; /* Add some space after the icon */
}

/* --- Quiz Button Feedback Styles --- */
.correct {
    /* Tailwind Green-500/600 equivalent */
    background-color: #10B981 !important; 
    color: white !important;
    border: 2px solid #059669 !important; 
    /* Required to ensure previous background styles are fully overwritten */
    background-image: none !important;
}
.incorrect {
    /* Tailwind Red-500/600 equivalent */
    background-color: #EF4444 !important; 
    color: white !important;
    border: 2px solid #DC2626 !important; 
    /* Required to ensure previous background styles are fully overwritten */
    background-image: none !important;
}