﻿/* Custom radio button style */
.custom-radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.custom-radio:checked::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.custom-radio:focus {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .25);
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Custom checkbox style */
.custom-checkbox {
    width: 20px;
    height: 20px;
}

    .custom-checkbox .e-frame {
        width: 20px;
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .custom-checkbox .e-frame::before {
            font-size: 12px;
        }

/* File upload */
.file-upload-container {
    min-width: 6rem;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #0078D4;
    border-bottom: 1px solid #0078D4;
    padding-bottom: 1px;
}

.file-icon {
    font-size: 16px;
    margin-right: 5px;
}

.file-upload-text {
    font-size: 14px;
}

.file-input {
    display: none; /* Hide the default file input */
}

.file-count-text {
    margin-top: 5px;
}

/* Page Header */
.pre-questions h1 {
    padding-bottom: 1rem;
    border-bottom: 2px solid #112C9F;
}

/* Card Header */
.container-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 16px;
}

    .container-heading h2 {
        font-size: 1.5rem;
        margin: 0;
    }

.container-heading-icon {
    cursor: pointer;
}

/* Question Item */
.question-item {
    margin-top: 12px;
    padding: 1rem;
    background-color: #f3f3f3;
    border-radius: 10px;
}

.question-text {
    font-size: 1rem; /* Regular font size */
    color: #333; /* Medium gray text */
    line-height: 1.5; /* Improved readability */
}

/* Yes/No Question */
.question-text-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.question-text-container p {
    margin-bottom: 0; 
    line-height: 1.5rem;
}

.question-answer-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.5rem;
    margin-left: 3rem;
}

/* Choice Question */
.choice-answer-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    background-color: white;
    margin-top: 0.5rem;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.choice-answer-text-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.choice-answer-text {
    flex: 1;
    display: flex;
    gap: 0.5rem;
}

.choice-answer-container.checked {
    background-color: #edf5fd;
    border-color: #0078d4;
}

/* Choices */
.choice-question {
    padding: 0.5rem 0;
    background-color: #f4f4f4;
}

.choice-help-icon {
    min-width: 24px;
    height: 24px;
    fill: #0078d4;
}

.question-help-icon {
    height: 28px;
    min-width: 28px;
}

.answer-help-icon {
    height: 24px;
    min-width: 24px;
}

/* Prose */
h1{
    margin-bottom:.5rem;
}
h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}

p {
    font-size:1rem;
    line-height: 1.625;
    margin-bottom: 0.5rem;
}

ul li{
    margin-bottom:0.5rem;
}

/* Disable this setting for syncfusion controls that renders lists*/
/* Override margins for Syncfusion list components */
.e-listview .e-list-item,
.e-listbox-wrapper .e-list-item,
.e-dropdownbase .e-list-item,
.e-ddl .e-list-item,
.e-multiselect .e-list-item {
    margin-bottom: 0 !important;
}

/* Also target any nested lists inside Syncfusion components */
[class*="e-"] ul li {
    margin-bottom: 0;
}

.highlight-text {
    background: #e7eefd;
    padding:1rem;
    border-radius:1rem;
    margin:1.5rem 0;
}

.max-w-prose-md{
    max-width:580px;
}
.max-w-prose-lg {
    max-width: 750px;
}

/* Button */
.e-btn {
    padding: .5rem 1.25rem;
    font-weight: 600;
    letter-spacing: .05em;
    border: 1px solid #0d6efd;
    background: #ffffff;
    color: #0d6efd;
}
.e-btn:hover {
    border: 1px solid #0d6efd;
    background: #ffffff;
    color: #0d6efd;
}

.button-container {
    max-width: initial;
    margin: 30px 0;
}

/* Flow */
.content-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1440px;
    padding: 50px 35px 50px 35px;
    margin: 50px auto 0px auto;
    background-color: white;
    border-radius: 20px;
}

/* Tabs */
.e-tab .e-tab-header.e-vertical.e-vertical-left .e-toolbar-item {
    padding: 15px 2px;
    height: 60px;
}

.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover {
    border-color: transparent;
}

.e-toolbar-item e-template e-ileft:hover {
    border: 1px solid #dee2e6;
}

.e-tab .e-tab-header .e-toolbar-items:not(.e-tbar-pos) .e-toolbar-item:last-child {
    margin: 0 !important;
}

.e-tab .e-tab-header.e-vertical .e-toolbar-item:not(.e-separator) {
    margin: 0 !important;
}

.e-content h6 {
    margin-bottom: .25rem;
}

.e-tab .e-content .e-item {
    padding: 10px 25px !important;
}

/* columns */
.column-border-left {
    border-right: 1px solid #dee2e6;
    padding-right: 1.5rem !important;
    padding-top: 0;
}

.column-right {
    padding-left: 1.5rem !important;
    padding-top: 0;
}

.column-border-left .stack-vertical, .column-right .stack-vertical{
    height:100%;
}

.column-border-left .stack-vertical .e-btn, .column-right .stack-vertical .e-btn {
    margin-top: auto;
}