/* Shared assessment popup frame, header and footer. */
.select-students-dialog.e-dialog {
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 2rem) !important;
}

.select-students-dialog .e-dlg-content {
    overflow-y: auto;
    padding: 2rem !important;
}

.select-students-dialog .student-list-shell {
    background: transparent;
    min-height: 0;
    padding: 0;
}

.select-students-dialog .e-dlg-header-content,
.select-students-dialog .e-footer-content {
    flex-shrink: 0;
}

.adjust-question-dialog.e-dialog,
.adjust-question-dialog.e-popup.e-dialog {
    border-radius: 1rem;
    overflow: hidden;
}

.adjust-question-dialog .e-dlg-header-content {
    background: #ffffff;
    border-bottom: 1px solid #e4eae6;
    display: block;
    padding: 0;
    position: relative;
}

.adjust-question-dialog .e-dlg-header {
    padding: 1.5rem 2rem;
    width: 100%;
}

.adjust-question-dialog-header {
    display: block;
    position: relative;
    width: 100%;
}

.adjust-question-dialog-title {
    align-items: center;
    display: inline-flex;
    gap: 0.75rem;
}

.adjust-question-dialog-title i {
    color: #0ea5a4;
    font-size: 1.35rem;
    line-height: 1;
}

.adjust-question-dialog-header span {
    color: #0f172a;
    font-family: "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.adjust-question-dialog-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0.5rem;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    padding: 0.25rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.16s ease, color 0.16s ease;
    width: 2.5rem;
}

.adjust-question-dialog-close i {
    font-size: 1.5rem;
    line-height: 1;
}

.adjust-question-dialog-close:hover {
    background: #eff5f1;
    color: #006b58;
}

.adjust-question-dialog .e-dlg-content {
    background: #eff5f1;
    padding: 0;
}

.adjust-question-dialog .e-footer-content {
    align-items: center;
    background: #ffffff;
    border-top: 1px solid rgba(188, 202, 195, 0.32);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    min-height: 4rem;
    padding: 0 2rem !important;
}

.adjust-question-dialog .e-footer-content .e-btn {
    border-radius: 0.55rem !important;
    box-shadow: none;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    min-height: 2.25rem !important;
    min-width: 8.75rem !important;
    padding: 0.325rem 1.5rem !important;
    text-transform: uppercase;
}

.adjust-question-dialog .e-footer-content .e-btn:not(.e-primary) {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #006b58 !important;
}

.adjust-question-dialog .e-footer-content .e-btn:not(.e-primary):hover {
    background: rgba(127, 248, 216, 0.14) !important;
}

.adjust-question-dialog .e-footer-content .e-btn.e-primary {
    background: linear-gradient(135deg, #006b58, #17a589) !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(0, 107, 88, 0.18) !important;
    color: #ffffff !important;
}

.adjust-question-dialog .e-footer-content .e-btn.e-primary:hover {
    opacity: 0.94;
}
