/*  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}
    */

.quiz-container {
    background-color: #ffffff;
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 30px;
    overflow: hidden;
    margin: 0 auto;
    button {
        display: block;
    width: 100%;
    background-color: #53b982;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 900;
    text-decoration: none;
    padding: 1.125rem;
    border: 4px solid #1e293b;
    border-radius: 12px;
    box-shadow: 4px 4px 0px #1e293b;
    transition: transform 0.1s, box-shadow 0.1s;
    }
}

/* Progress Tracking bar */
.progress-container {
    background-color: #e4e6eb;
    height: 8px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 25px;
}

.progress-bar {
    background-color: #53b982;
    height: 100%;
    width: 10%;
    border-radius: 4px;
    transition: width 0.3s ease-in-out;
}

/* Display Toggling logic rules */
.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.question-text {
    font-size: 1.4rem;
    color: #1c1e21;
    margin-bottom: 20px;
}

/* Layout for Choice Cards */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.option-card {
        display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    background-color: #f1f2f6;
    border-color: #bcc0c4;
}

/* Accent highlight when selected */
.option-card input[type="radio"]:checked + span {
    color: #70f7bd;
    font-weight: 600;
}

.option-card input[type="radio"] {
    margin-right: 14px;
    accent-color: #70f7bd;
    transform: scale(1.2);
}

/* Navigation buttons layout */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    border-top: 1px solid #e4e6eb;
    padding-top: 20px;
}

button {
    background-color: #70f7bd;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

button:hover {
    opacity: 0.9;
}

button:disabled {
    background-color: #e4e6eb;
    color: #bcc0c4;
    cursor: not-allowed;
}

/* Final Result Dashboard Styles */
.results-container {
    text-align: center;
    padding: 20px 0;
}

.results-container h2 {
    font-size: 2rem;
    color: #1c1e21;
    margin-bottom: 15px;
}

.percentage-badge {
    display: inline-block;
    background-color: rgba(113, 247, 189, 0.16);
    color: #000000;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

#resultDescription {
    font-size: 1.1rem;
    color: #606770;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hidden {
    display: none !important;
}