/* css/style.css */
#quiz-logo {
    display: block; /* Makes the image behave like a block, allowing margins */
    margin-left: auto; /* Centers the block horizontally */
    margin-right: auto; /* Centers the block horizontally */
    margin-bottom: 15px; /* Adds some space below the logo */
    max-width: 100px; /* Optional: Limit the maximum width of the logo */
    height: auto; /* Maintain aspect ratio */
}
/* ========================= */


 
body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #ffffff;
}
#quiz-container {
    background: #000000;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: auto;
}
h1, h2 {
    text-align: center;
    color: #ffffff;
}
h3 {
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.question-block {
    margin-bottom: 20px;
}
.question-text {
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}
.options label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.2s;
    color: #ffffff;
}
.options label:hover {
    background-color: #f0f0f0;
    color: #000000;
}
.options input[type="radio"] {
    margin-right: 10px;
}
button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #4cae4c;
}
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
#results-container, #recommendations-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #e9f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 5px;
}
 #recommendations-container {
     background-color: #e3f2fd;
     border: 1px solid #bbdefb;
 }
.result-item, .recommendation-item {
    margin-bottom: 10px;
}
.unfortunately {
    font-style: italic;
    color: #d9534f; /* Optional: color for emphasis */
}
/* Progress Bar Styles */
#progress-container {
    margin-bottom: 20px;
}
#progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}
#progress-bar-fill {
    height: 20px;
    width: 0%;
    background-color: #4caf50;
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 12px;
    transition: width 0.3s ease;
}
#progress-text {
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
    color: white;
}

#health-map-container {
    margin: 20px auto;
    max-width: 700px; /* Significantly increased from 550px */
    text-align: center;
    padding: 30px; /* Increased padding */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: visible !important; /* Force content to not be clipped */
}

#health-map-chart {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
}