/**
 * Styling for multiple choice and selection form elements
 * For बड़े भाई साहब Interactive Module
 */

/* Reflection Options */
.reflection-options {
    margin: 20px 0;
}

.reflection-option {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s ease;
}

.reflection-option:hover {
    background-color: #f0f0f0;
    border-left-color: #4CAF50;
}

.reflection-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.reflection-option label {
    display: inline-block;
    width: calc(100% - 30px);
    vertical-align: middle;
    cursor: pointer;
}

.reflection-option input[type="radio"]:checked + label {
    font-weight: bold;
}

.reflection-option:has(input[type="radio"]:checked) {
    background-color: #e8f5e9;
    border-left-color: #2E7D32;
}

/* Listening Facts Options */
.listening-fact-options {
    margin: 20px 0;
}

.listening-fact-options h5 {
    margin: 15px 0 5px;
    font-weight: bold;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.option-item {
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-item:hover {
    background-color: #e8f5e9;
}

.option-item input[type="radio"] {
    margin-right: 5px;
}

.option-item:has(input[type="radio"]:checked) {
    background-color: #4CAF50;
    color: white;
}

/* Narrative Options */
.narrative-options {
    margin: 20px 0;
}

.narrative-option {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s ease;
}

.narrative-option:hover {
    background-color: #f0f0f0;
    border-left-color: #4CAF50;
}

.narrative-option input[type="radio"] {
    float: left;
    margin-right: 15px;
    margin-top: 3px;
    transform: scale(1.2);
}

.narrative-option label {
    display: block;
    margin-left: 30px;
    cursor: pointer;
}

.narrative-option:has(input[type="radio"]:checked) {
    background-color: #e8f5e9;
    border-left-color: #2E7D32;
}

/* Writing Options */
.writing-selection {
    margin: 20px 0;
}

.writing-selection h4 {
    margin-bottom: 15px;
    font-weight: bold;
    color: #2E7D32;
}

.writing-option {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s ease;
}

.writing-option:hover {
    background-color: #f0f0f0;
    border-left-color: #4CAF50;
}

.writing-option input[type="radio"] {
    float: left;
    margin-right: 15px;
    margin-top: 5px;
    transform: scale(1.2);
}

.writing-option label {
    display: block;
    margin-left: 30px;
    cursor: pointer;
}

.writing-option strong {
    display: block;
    margin-bottom: 8px;
    color: #2E7D32;
}

.writing-option:has(input[type="radio"]:checked) {
    background-color: #e8f5e9;
    border-left-color: #2E7D32;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .option-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .option-item {
        width: 100%;
    }
    
    .writing-option input[type="radio"],
    .narrative-option input[type="radio"],
    .reflection-option input[type="radio"] {
        transform: scale(1);
    }
}
