
/* General Form Styling */
#ask-assessment-root {
    padding: 3%;
    border: 2px dashed #ccc;
    background: #f9f9f9;
    width: 100%;
    max-width: 65%;
    margin: 0 auto;
}

.ask-email-gate-form h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
    color: #0073aa;
}

/* Intro Text Styling */
.ask-email-gate-form .intro {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Responsive Form Fields */
.ask-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 10px;
}

.ask-form-row div {
    flex: 1;
    min-width: 48%;
}

/* Input Styling */
.ask-form-row input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.ask-form-column input {
    width: 95%;
}

/* Checkbox Styling */
.ask-form-row input[type="checkbox"] {
    margin-right: 10px;
    font-size: 0.7em;
    font-weight: normal;
    text-align: left;
    width: auto;
}

/* Button Styling */
.ask-form-row button {
    background-color: #0073aa;
    color: white;
    padding: 12px 20px;
    font-size: 1.3em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 80%;
    margin: 0 auto;
    display: block;
    font-weight: bold;
}

/* Button Styling for Navigation */
.prev-btn,
.next-btn,
.submit-json-btn,
.ask-assessment-download-pdf {
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 48%;
    margin: 20px 1%;
    font-weight: bold;
    background-color: #0073aa;
    color: white;
}
.ask-assessment-download-pdf {
    font-size:26px;
}

.prev-btn:hover,
.next-btn:hover,
.submit-json-btn:hover,
.ask-assessment-download-pdf:hover {
    opacity: 0.9;
}

.prev-btn:disabled,
.next-btn:disabled,
.submit-json-btn:disabled {
    background-color: #c6c6c6;
    cursor: not-allowed;
}

/* Button Layout */
.ask-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.ask-navigation button:disabled {
    background-color: #c6c6c6;
    cursor: not-allowed;
}

/* Styling for Final Submit */
.ask-submit-button {
    background-color: #28a745; /* Green */
    color: white;
    padding: 12px 24px;
    font-size: 1.3em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 80%;
    margin: 20px auto;
    display: block;
    font-weight: bold;
}
.ask-question-block {
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.ask-question-block p {
    font-weight: bold;
    margin-bottom: 10px;
}

.likert-scale {
    margin: 1rem 0;
}

.likert-labels,
.likert-options {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 10px;
}

.likert-labels span {
    flex: 1;
    font-size: 0.9em;
}

.likert-options label {
    flex: 1;
    background: #fff;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 5px;
}

.likert-options label:hover {
    background: #f0f0f0;
}

/* Testing Styles */ 

.result-card {
    padding: 40px;
    background: #fff;
    border: 1px dotted #666;
    margin-top: 20px;
    box-shadow: 2px 2px 4px #ccc;
}
.result-card h2 {
    font-size: 2em;
    text-transform: uppercase;
    font-weight: 600;
}
.result-card h3 {
    color: darkseagreen;
    font-size: 1.5em;
    font-weight: 600;
    border-bottom: 2px dotted;
}


#json-radio-form label {
    text-transform: capitalize;
    font-size: 17px;

}
.item-title {
    font-size: 22px;
    padding: 10px 0px;
    color: #020381;
}
button.submit-json-btn {
    background: chocolate;
}

/* Results Page */ 
.ask-assessment-results-container {
    background: #fff;
    border: #ccc 2px dotted;
    padding: 2% 5%;
    margin: 2% 0%;
}
.ask-assessment-results-container h4 {
    font-size: 1.3em;
}
.ask-assessment-results-container h5 {
    color: darkseagreen;
    font-size: 1.5em;
    padding: 0px;
    margin: 0px;
}


/* Styling for Radio Buttons */
.ask-radio input[type="radio"] {
    margin-right: 10px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .ask-form-row div {
        min-width: 100%; /* Stack columns on mobile */
    }

    .likert-options {
        flex-direction: column; /* Stack radio buttons vertically on mobile */
    }
    #json-radio-form label {
    display: block;
    padding: 5px;
}
.ask-assessment-download-pdf {
    font-size:18px;
    width: 100%;
}
}
