.fox-lms-lesson-settings-modal-button{
    width: 100%;
    justify-content: center;
}

.fox-lms-lesson-settings-modal{
    width: calc(100% - 32px)!important;
    height: 100%;
    max-height: 90% !important;
}
.fox-lms-lesson-settings-modal .modal-body{
    padding:  1rem 0;
}

.fox-lms-lesson-settings-modal .modal-text{
    font-weight: 500;
    font-size: 16px;
}

.switch-checkbox-wrap {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    cursor: pointer;
    display: inline-block;
    height: 24px;
    outline: none;
    position: relative;
    vertical-align: middle;
    width: 50px;
    z-index: 0;
}
.switch-checkbox-track {
    -webkit-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    border: 12px solid #E6E6E6;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    position: absolute;
    /* top: 3px; */
    width: 30px;
    box-sizing: content-box;
}

input.ays-switch-checkbox:checked + .switch-checkbox-wrap .switch-checkbox-track {
    border-color: #626EE3;
}

.switch-checkbox-ink {
    -webkit-transform: scale(2.5);
    transform: scale(2.5);
    -webkit-transition: opacity 0.15s ease, left 0.3s ease;
    transition: opacity 0.15s ease, left 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 100%;
    border-radius: 100%;
    height: 20px;
    left: 0;
    opacity: 0;
    outline: 0.1px solid transparent;
    pointer-events: none;
    position: absolute;
    width: 20px;
    z-index: -1;
}

input.ays-switch-checkbox:checked + .switch-checkbox-wrap .switch-checkbox-ink {
    left: 20px;
    -webkit-transform: scale(2);
    transform: scale(2);
    background-color:#626EE3;
}
.switch-checkbox-circles {
    -webkit-transition: -webkit-transform 0.06s ease;
    transition: -webkit-transform 0.06s ease;
    -webkit-transition: transform 0.06s ease;
    transition: transform 0.06s ease;
}

input.ays-switch-checkbox:checked + .switch-checkbox-wrap .switch-checkbox-circles {
    -webkit-transform: translate(25px);
    transform: translate(25px);
}
.switch-checkbox-thumb {
    -webkit-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    border: 10px solid #ffffff;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    position: absolute;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    top: 2px;
    left: 2px;
}

.fox-lms-add-attachment-style{
    color: #4F59BB;
    font-weight: 600;
    text-decoration: none;
}
.fox-lms-add-attachment-style:hover{
    color: #4F59BB;
    font-weight: 600;
    text-decoration: none;
}
.fox-lms-add-attachment-style:focus{
    color: #4F59BB;
    box-shadow: none ;
    outline: none;
}

.fox-lms-attachment-select {
    
    width: 100%;
    min-width: 100%;
    color: #2A306A !important;
    border-color: #2A306A !important;
}

.fox-lms-attachment-select option {
    color: #2A306A !important;
}


.fox-lms-file-upload {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 13px !important;
    font-size: 16px;
    color: #6366F1 !important;
    background-color: #f8f9ff !important;
    border: 1px solid #d1d5ff !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background 0.3s, border 0.3s;
}

.fox-lms-file-upload:hover {
    background-color: #eceeff;
    border-color: #6366F1 !important;
}

.fox-lms-file-upload svg {
    stroke: #6366F1;
}

/* File name display */
#fileName {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.fox-lms-add-attach{
    margin-top: 10px;
}

.fox-lms-lessons-icons{
    width: 20px;
    height: 20px;
}

.fox-lms-selected-image{
    cursor: pointer;
}

.fox-lms-attachment-type-name{
    font-size: 16px;
    font-weight: 600;
    margin-left: 5px;
}
.fox-lms-lesson-attachment-type{
    margin: 10px 0;
}
.fox-lms-lessons-info{
    font-size: 14px;
    font-weight: 400;
    text-align: end;
    color: #767676;
}
.fox-lms-lesson-settings-container label{
    font-size: 14px;
    font-weight: 400;
    margin: 0;

}

.fox-lms-answer-dlg-dragHandle img{
    cursor: grab;
}

.fox-lms-lesson-settings-modal-footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    bottom: 0;
    padding: 10px;
    position: sticky;
    z-index: 999;
}

.fox-lms-lesson-settings-modal .components-modal__content{
    padding-bottom: 0 !important;
}
.fox-lms-lesson-settings-modal .modal-body{
    min-height: calc(100vh - 296px);
}

.fox-lms-image-info{
    margin-left: 3px;
    cursor: pointer;
}
.fox-lms-image-info p{
    margin-bottom: 1px;
    word-break: break-word;
} 

.fox-lms-image-image{
    margin: auto;
}

.fox-lms-image-image .fox-lms-img{
    width: 110px;
    height: auto;
    object-fit: contain;
}
.fox-lms-modal-applay{
    background-color: #626EE3;
    color: #ffffff;
}

.fox-lms-modal-close{
    background-color: #ffffff;
    color: #626EE3;
}

.fox-lms-modal-buttons{
    border-radius: 4px;
    padding: 5px 20px;
    border: 2px solid #626EE3;
}

.fox-lms-tooltip img{
    width: 15px;
    height: auto;
    object-fit: contain;
    margin-bottom: 6px;
}

.tooltip {
    z-index: 100000!important; 
}

.components-modal__screen-overlay:has(> .fox-lms-lesson-settings-modal) {
    z-index: 99998;
}
