/* Main Container */
.investment-questionnaire-container {
    
    margin: 0 auto;
    padding: 30px;
    font-family: "Aptos-SemiBold";
    color: #333;
    line-height: 1.6;
}
.form-footer {
    text-align: center;
}
.score-section h3 {
    display: none;
}
.results-content {
    margin-top: 0px !important;
    padding: 0px !important;
}
span.option-letter {
    display: none !important;
}
.option {
        padding: 8px !important;
    margin: 0px 0 !important;
}
.submit-btn {
    background: #091235 !important;
}
.risk-description {
    padding: 0px !important;
}
.user-selected-risk {
    border-left: 3px solid #091235 !important;
}
.next-steps {
    border-left: 3px solid #091235 !important;
}
.results-content {
    background: #fff !important;
}

/* Headings */
.investment-questionnaire-container h2 {
    color: #131f5b;
    margin-bottom: 20px;
    font-size: 32px;
    
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    font-weight: 600;
}

.investment-questionnaire-container h3 {
    color: #091235;
    text-align: left;
    margin: 15px 0 30px 0;
    font-size: 32px;
    font-weight: 600;
}

.investment-questionnaire-container h4 {
    color: #000000;
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 400;
    
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #000000;
    font-size: 16px;
}
.question-description {
    color: #666666;
    padding-top: 2px;
}
.form-footer button.submit-btn {
    border: 1px solid #ffffff !important;
    border-radius: 12px !important;
    color: #ffffff !important;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group .datepicker {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #060F34;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 13px;
}

/* Questions Section */
.questions-section {
    margin: 30px 0;
}
span.option-text {
    font-family: 'Aptos';
    font-size: 16px;
    color: #060F34;
}
.option.selected span.option-text {
    font-family: 'Aptos-SemiBold';
}

.question-text {
    margin-bottom: 15px;
}
.question-text h4 {
    font-family: "Aptos" !important;
    font-size: 16px;
}
.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: baseline;
    padding: 0px 15px;
    
    background: #fff;
    
    transition: all 0.2s;
    cursor: pointer;
}

.option:hover {
    border-color: #060F34;
    background-color: #f0f7fd;
}

.option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    cursor: pointer;
}

.option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #434343;
    flex: 1;
    font-family: "Aptos-SemiBold";
    line-height: 1.1;
}

.option-letter {

    line-height: 24px;
    margin-right: 10px;
}

.option-text {
    flex: 1;
}
.selected .option-letter {
    background-color: #2980b900 !important;
}

/* Submit Button */
.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 14px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: "Aptos-SemiBold";
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Results Container */
#results-container {
    margin-top: 0px;
    padding: 25px;
    background: #ffffff;
    border-radius: 6px;
    animation: fadeIn 0.5s ease-out;
}

#results-container h2 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
    font-family: "Aptos-SemiBold";
}

.score-section {
    margin-bottom: 20px;
}

.risk-category {
    font-size: 20px;
    font-weight: bold;
    color: #091235;
    margin-top: 10px;
    text-align: left;
}

.risk-description {
    background: white;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    line-height: 1.6;
}

.next-steps {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Form Notices */
.form-notices {
    margin-top: 20px;
}
h4.question-text strong {
    font-family: 'Aptos-SemiBold';
    color: #000 !important;
}

/* Style for checkbox options */
.option input[type="checkbox"] + label .option-letter {
    background-color: #e67e22; /* Different color for checkboxes */
}

.option input[type="checkbox"]:checked + label .option-letter {
    background-color: #27ae60; /* Green when checked */
}

/* Different styling for checkbox containers when selected */
.option input[type="checkbox"]:checked ~ .option-text {
    font-weight: bold;
} 

/* Responsive adjustments */
@media (max-width: 768px) {
    .investment-questionnaire-container {
        padding: 20px;
    }
    
    .question-group {
        padding: 0px;
    }
    
    .option label {
        font-size: 14px;
    }
    .investment-questionnaire-container {
    padding: 0px;
    }
    #results-container h2 {
    font-size: 18px;
    }
    .results-content {
    padding: 0px;
    }
    .investment-questionnaire-container h3 {
    color: #091235;
    text-align: left;
    margin: 0px 0 10px 0;
    font-size: 21px;
    font-weight: 600;
}
input.dob-box
 {
    padding: 0px !important;
}
            .questions-section {
    margin: 20px 0;
}
}

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