body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f6f8;
}

header {
    background: #1f2937;
    color: white;
    padding: 20px;
}

header h1 {
    margin: 0;
}

nav {
    background: white;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

nav button {
    margin-right: 10px;
    padding: 10px 18px;
    cursor: pointer;
}

main {
    padding: 25px;
}

section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.hidden {
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background: #f3f4f6;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

input,
select,
textarea {
    width: 100%;
    max-width: 500px;
    padding: 8px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button {
    margin-top: 15px;
    padding: 9px 15px;
}

.form-card {
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.form-card input {
    margin-bottom: 8px;
}

td button {
    margin-right: 5px;
    margin-top: 3px;
}

#studentHistoryPanel {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

#lessonPreview,
#lessonResult {
    margin-top: 20px;
    padding: 15px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    white-space: pre-wrap;
}

#tutorHistoryPanel {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.dashboard-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit,
            minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0 30px 0;
}


.dashboard-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}


.dashboard-card h3 {
    margin-top: 0;
    font-size: 15px;
}


.dashboard-number {
    font-size: 30px;
    font-weight: bold;
    margin-top: 15px;
}


.report-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}


.report-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.login-page {
    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;
}


.login-card {
    width: 100%;

    max-width: 420px;

    background: white;

    padding: 30px;

    border-radius: 10px;

    border: 1px solid #ddd;
}


.login-card input {
    width: 100%;

    box-sizing: border-box;

    margin-bottom: 12px;
}


/* ==================================================
   LOGIN MAIN BUTTON
   ================================================== */

.login-card > button {
    width: 100%;

    margin-top: 20px;

    padding: 10px 12px;

    box-sizing: border-box;
}

.login-card > input {
    width: 100%;

    box-sizing: border-box;

    margin-bottom: 16px;

    padding: 9px 10px;
}


#loginResult {
    margin-top: 15px;
}

.user-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}


#users table,
#auditLogs table {
    width: 100%;
}


#auditLogs td {
    vertical-align: top;
}


#auditLogs pre {
    max-width: 350px;
    max-height: 150px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}


#resetPasswordPanel {
    margin-top: 25px;
}


.form-card hr {
    margin: 25px 0;
}

.section-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

/* ==================================================
   PASSWORD SHOW / HIDE
   ================================================== */

/* ==================================================
   PASSWORD FIELD
   ================================================== */

.password-field {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;
    margin-bottom: 12px;
}


/* 密码输入框占主要空间 */
.password-field input {
    flex: 1 1 auto;

    width: auto;
    min-width: 0;

    box-sizing: border-box;

    margin: 0;
}


/* Show / Hide 按钮固定小尺寸 */
.password-field .password-toggle {
    flex: 0 0 70px;

    width: 70px;
    min-width: 70px;

    margin: 0;

    padding: 8px 10px;

    white-space: nowrap;
}

/* ==================================================
   LOGIN PAGE FIX
   ================================================== */

.login-card {
    width: 100%;
    max-width: 420px;

    background: white;

    padding: 30px;

    border-radius: 10px;

    border: 1px solid #ddd;

    box-sizing: border-box;
}


/* Username */
.login-card > input {
    width: 100%;

    box-sizing: border-box;

    padding: 9px 10px;

    margin-top: 5px;
    margin-bottom: 16px;
}


/* Password row */
.login-card .password-field {
    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    margin-top: 5px;
    margin-bottom: 16px;
}


/* Password input */
.login-card .password-field input {
    flex: 1 1 auto;

    width: auto;
    min-width: 0;

    height: 38px;

    box-sizing: border-box;

    padding: 8px 10px;

    margin: 0;
}


/* Show / Hide */
.login-card .password-field .password-toggle {
    flex: 0 0 70px;

    width: 70px;
    min-width: 70px;

    height: 38px;

    padding: 0 10px;

    margin: 0;

    box-sizing: border-box;

    white-space: nowrap;
}


/* Login button */
.login-card > button {
    width: 100%;

    box-sizing: border-box;

    padding: 10px 12px;

    margin-top: 15px;
}

.form-help {
    margin-top: 4px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}


#hourAdjustments textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}


#hourAdjustmentsTable td {
    vertical-align: top;
}

/* ==================================================
   SEARCH / FILTER / PAGINATION
   ================================================== */


/* Search / Filter container */

.list-controls {

    display: flex;

    flex-wrap: wrap;

    align-items: flex-end;

    gap: 10px;

    margin-top: 10px;

    margin-bottom: 15px;
}


/* Each filter group */

.list-controls > div {

    display: flex;

    flex-direction: column;

    gap: 5px;
}


/* Inputs */

.list-controls input,
.list-controls select {

    min-width: 150px;

    box-sizing: border-box;
}


/* Search text input */

#adjustmentSearch {

    min-width: 240px;
}


/* ==================================================
   PAGINATION
   ================================================== */

.pagination-bar {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-top: 18px;

    margin-bottom: 25px;
}


/* Pagination buttons */

.pagination-bar button {

    width: auto;

    min-width: 90px;

    padding: 8px 14px;
}


/* Disabled Pagination Button */

.pagination-bar button:disabled {

    opacity: 0.45;

    cursor: not-allowed;
}


/* Page Information */

.pagination-bar span {

    min-width: 180px;

    text-align: center;

    font-weight: 600;
}

.adjustment-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.adjustment-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.adjustment-filter-row input,
.adjustment-filter-row select,
.adjustment-filter-row button {
    height: 38px;
    box-sizing: border-box;
}

.list-controls {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/* =========================================
   Hour Adjustment Search / Filter Alignment
   ========================================= */

.adjustment-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.adjustment-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.adjustment-filter-field label {
    margin: 0;
}

.adjustment-filter-field input,
.adjustment-filter-field select {
    height: 38px;
    box-sizing: border-box;
}

.adjustment-filter-buttons {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.adjustment-filter-buttons button {
    height: 38px;
    box-sizing: border-box;
}

/* ==================================================
   FIX SEARCH / FILTER ALIGNMENT
   ================================================== */

.list-controls {
    display: flex;
    flex-wrap: wrap;

    align-items: flex-end;

    gap: 10px;

    margin-top: 10px;
    margin-bottom: 15px;
}


/* 每一个 Search / Filter 项目 */

.list-controls > div {
    display: flex;
    flex-direction: column;

    justify-content: flex-end;

    gap: 5px;

    margin: 0;
}


/* 所有 Label */

.list-controls label {
    display: block;

    margin: 0;
    padding: 0;

    line-height: 20px;

    font-weight: normal;
}


/* ==================================================
   重点：
   Input / Select / Button 全部取消旧 margin
   并统一高度
   ================================================== */

.list-controls input,
.list-controls select,
.list-controls button {

    height: 38px;

    margin: 0;

    box-sizing: border-box;
}


/* Input */

.list-controls input {

    padding: 8px 10px;
}


/* Select */

.list-controls select {

    padding: 6px 8px;
}


/* Button */

.list-controls button {

    width: auto;

    min-width: 75px;

    padding: 6px 14px;
}


/* Search 输入框稍微宽一点 */

#adjustmentSearch {

    width: 240px;
}


/* Status */

#adjustmentStatusFilter {

    min-width: 100px;
}


/* Sort By */

#adjustmentSort {

    min-width: 138px;
}


/* Order */

#adjustmentDirection {

    min-width: 112px;
}

/* ==================================================
   HOUR ADJUSTMENTS SEARCH / FILTER ALIGNMENT
   ================================================== */

.adjustment-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(220px, 1.8fr)
        minmax(100px, 0.8fr)
        minmax(140px, 1fr)
        minmax(120px, 0.9fr)
        80px
        80px;

    gap: 10px;

    align-items: end;

    width: 100%;

    margin-top: 10px;
}


/* ==================================================
   SEARCH / STATUS / SORT / ORDER FIELD
   ================================================== */

.adjustment-filter-field {
    display: grid;

    grid-template-rows:
        22px
        38px;

    row-gap: 5px;

    margin: 0 !important;
    padding: 0 !important;
}


/* Labels */

.adjustment-filter-field label {
    display: block;

    height: 22px;
    line-height: 22px;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;
}


/* Input and Select */

.adjustment-filter-field input,
.adjustment-filter-field select {
    display: block;

    width: 100% !important;

    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;

    padding: 7px 9px;

    box-sizing: border-box;
}


/* ==================================================
   SEARCH / CLEAR BUTTON WRAPPER
   ================================================== */

.adjustment-filter-action {
    display: flex;

    align-items: flex-end;

    height: 65px;

    margin: 0 !important;
    padding: 0 !important;
}


/* Search / Clear Buttons */

.adjustment-filter-action button {
    width: 100% !important;

    height: 38px !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 6px 10px;

    box-sizing: border-box;
}


/* ==================================================
   SMALLER SCREEN
   ================================================== */

@media (max-width: 1000px) {

    .adjustment-filter-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(180px, 1fr)
            );
    }

    .adjustment-filter-action {
        height: 38px;
    }
}

/* ==================================================
   SYSTEM SETTINGS
   ================================================== */

#systemSettings .form-card {
    margin-bottom: 20px;
}


#systemSettings .form-card label {
    display: block;

    margin-top: 10px;
    margin-bottom: 5px;
}


#systemSettings .form-card input,
#systemSettings .form-card select {
    width: 100%;
    max-width: 400px;

    box-sizing: border-box;

    padding: 8px;
}


#systemSettingsResult {
    margin-top: 15px;

    font-weight: 600;
}

/* ==================================================
   STATUS BADGES
   ================================================== */

.status-badge {

    display: inline-block;

    min-width: 72px;

    padding: 4px 9px;

    border-radius: 999px;

    border: 1px solid;

    box-sizing: border-box;

    text-align: center;

    font-size: 12px;

    font-weight: 700;

    line-height: 1.2;
}


/* Pending */

.status-pending {

    background: #fff8dd;

    color: #7a5b00;

    border-color: #d8b94c;
}


/* Approved */

.status-approved,
.status-completed,
.status-active {

    background: #e9f7ee;

    color: #176b36;

    border-color: #72b98c;
}


/* Rejected */

.status-rejected {

    background: #fdecec;

    color: #9b1c1c;

    border-color: #d98282;
}


/* Cancelled */

.status-cancelled {

    background: #f2f2f2;

    color: #555;

    border-color: #aaa;
}


/* Inactive */

.status-inactive {

    background: #eeeeee;

    color: #666;

    border-color: #aaa;
}


/* Neutral */

.status-neutral {

    background: #f5f5f5;

    color: #444;

    border-color: #bbb;
}

/* ==================================================
   HTTP STATUS BADGES
   ================================================== */

.http-status-badge {

    display: inline-block;

    min-width: 48px;

    padding: 3px 7px;

    border-radius: 5px;

    text-align: center;

    font-weight: 700;

    border: 1px solid;
}


/* 2xx */

.http-success {

    background: #e9f7ee;

    color: #176b36;

    border-color: #72b98c;
}


/* 4xx */

.http-warning {

    background: #fff8dd;

    color: #7a5b00;

    border-color: #d8b94c;
}


/* 5xx */

.http-error {

    background: #fdecec;

    color: #9b1c1c;

    border-color: #d98282;
}


/* Other */

.http-neutral {

    background: #f2f2f2;

    color: #555;

    border-color: #aaa;
}

/* ==================================================
   TABLE ACTION BUTTONS
   ================================================== */

.table-wrapper button {

    width: auto;

    min-width: 70px;

    margin: 2px;

    padding: 6px 10px;

    box-sizing: border-box;
}

.table-wrapper th,
.table-wrapper td {

    vertical-align: top;
}


.table-wrapper th {

    white-space: nowrap;
}

/* =========================================
   STATUS BADGES
   ========================================= */

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}


/* Approved */
.status-approved {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}


/* Rejected */
.status-rejected {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


/* Pending */
.status-pending {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}


/* Completed */
.status-completed {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}


/* Cancelled */
.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


/* Active */
.status-active {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}


/* Inactive */
.status-inactive {
    background-color: #e5e7eb;
    color: #374151;
    border: 1px solid #d1d5db;
}


/* Unknown / Other */
.status-neutral {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* ==================================================
   IMPORT / EXPORT
   ================================================== */

#dataTools .form-card {

    margin-bottom: 20px;
}


/* ==================================================
   FILE INPUT
   ================================================== */

#studentCsvFile {

    width: 100%;

    max-width: 600px;

    box-sizing: border-box;

    padding: 8px;
}


/* ==================================================
   IMPORT RESULT
   ================================================== */

#studentImportResult {

    margin-top: 15px;

    font-weight: 600;
}


/* ==================================================
   IMPORT SUMMARY
   ================================================== */

#studentImportSummary {

    margin-bottom: 15px;

    padding: 10px;

    border: 1px solid #ddd;

    background: #f8f8f8;
}


/* ==================================================
   IMPORT ERRORS
   ================================================== */

.import-errors {

    margin-bottom: 15px;

    color: #9b1c1c;
}


.import-errors ul {

    margin-top: 8px;

    padding-left: 24px;
}


/* ==================================================
   EXPORT BUTTONS
   ================================================== */

.export-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 15px;
}


.export-buttons button {

    width: auto;

    min-width: 180px;
}


/* ==================================================
   DISABLED IMPORT BUTTON
   ================================================== */

#studentImportButton:disabled {

    opacity: 0.45;

    cursor: not-allowed;
}

/* ==================================================
   SYSTEM MESSAGE STYLES
   ================================================== */

.message-success {

    margin-top: 10px;

    padding: 10px 12px;

    border: 1px solid #72b98c;

    border-radius: 5px;

    background: #e9f7ee;

    color: #176b36;
}


.message-error {

    margin-top: 10px;

    padding: 10px 12px;

    border: 1px solid #d98282;

    border-radius: 5px;

    background: #fdecec;

    color: #9b1c1c;
}


.message-warning {

    margin-top: 10px;

    padding: 10px 12px;

    border: 1px solid #d8b94c;

    border-radius: 5px;

    background: #fff8dd;

    color: #7a5b00;
}

/* ==================================================
   SYSTEM CHECK
   ================================================== */

#systemCheckSummary {

    margin-top: 15px;

    padding: 12px;

    border: 1px solid #ddd;

    background: #f8f8f8;
}


/* PASS */

.system-check-pass {

    display: inline-block;

    min-width: 55px;

    padding: 4px 8px;

    border: 1px solid #72b98c;

    border-radius: 5px;

    background: #e9f7ee;

    color: #176b36;

    text-align: center;

    font-weight: 700;
}


/* FAIL */

.system-check-fail {

    display: inline-block;

    min-width: 55px;

    padding: 4px 8px;

    border: 1px solid #d98282;

    border-radius: 5px;

    background: #fdecec;

    color: #9b1c1c;

    text-align: center;

    font-weight: 700;
}

/* ==================================================
   SYSTEM INFORMATION
   ================================================== */

.system-info-grid {

    display: grid;

    grid-template-columns:
        180px
        minmax(250px, 1fr);

    gap: 12px 20px;

    max-width: 750px;

    margin-top: 15px;
}


.system-info-label {

    font-weight: 700;
}


@media (max-width: 700px) {

    .system-info-grid {

        grid-template-columns:
            1fr;
    }


    .system-info-label {

        margin-top: 8px;
    }
}

/* ==================================================
   STUDENT / TUTOR PORTAL
   ================================================== */

.portal-login-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;

    background: #f3f5f7;
}


.portal-page {

    margin: 0;

    background: #f3f5f7;
}


.portal-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 18px 25px;

    background: #1f2b3a;

    color: white;
}


.portal-header h1 {

    margin: 0 0 5px 0;
}


.portal-header button {

    width: auto;

    min-width: 90px;
}


.portal-main {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 20px;

    box-sizing: border-box;
}


.portal-card {

    background: white;

    border: 1px solid #ddd;

    border-radius: 8px;

    padding: 20px;

    margin-bottom: 20px;

    box-sizing: border-box;
}


.portal-card h2 {

    margin-top: 0;
}


.portal-info-grid {

    display: grid;

    grid-template-columns:
        180px
        1fr;

    gap: 12px;

    align-items: center;
}


.portal-balance {

    font-size: 30px;

    font-weight: 700;
}


.portal-warning {

    margin-bottom: 20px;

    padding: 12px;

    border: 1px solid #d8b94c;

    border-radius: 6px;

    background: #fff8dd;

    color: #7a5b00;

    font-weight: 600;
}


.portal-card label {

    display: block;

    margin-top: 12px;

    margin-bottom: 5px;
}


.portal-card input,
.portal-card select {

    width: 100%;

    max-width: 450px;

    height: 38px;

    box-sizing: border-box;

    padding: 7px 9px;
}


.portal-card button {

    width: auto;

    margin-top: 15px;

    padding: 8px 14px;
}


.portal-login-links {

    margin-top: 25px;

    line-height: 1.8;

    text-align: center;
}


#portalAccounts .form-card {

    margin-bottom: 20px;
}


/* ==================================================
   MOBILE
   ================================================== */

@media (
    max-width: 700px
) {

    .portal-header {

        padding: 15px;

        align-items: flex-start;
    }


    .portal-header h1 {

        font-size: 22px;
    }


    .portal-main {

        padding: 12px;
    }


    .portal-card {

        padding: 15px;
    }


    .portal-info-grid {

        grid-template-columns:
            1fr;
    }


    .portal-balance {

        font-size: 26px;
    }


    .table-wrapper {

        overflow-x: auto;
    }
}

/* ==================================================
   CLASS SETUP
   ================================================== */

#classSetup .form-card {

    margin-bottom: 24px;
}


#classSetup .form-card > label {

    display: block;

    margin-top: 12px;

    margin-bottom: 5px;

    font-weight: 600;
}


#classSetup .form-card > input,
#classSetup .form-card > select {

    width: 100%;

    max-width: 520px;

    min-height: 38px;

    box-sizing: border-box;
}


#classSetup .form-card > button {

    margin-top: 15px;
}


#classSetup .table-wrapper {

    margin-top: 20px;

    overflow-x: auto;
}

/* ==================================================
   LIVE CLASS
   ================================================== */

.live-class-status {

    margin-bottom: 20px;

    padding: 14px;

    border: 1px solid #75b889;

    border-radius: 8px;

    background: #eaf7ee;

    font-size: 20px;

    font-weight: 700;

    text-align: center;
}


.live-qr-card {

    text-align: center;
}


.qr-placeholder {

    width: 240px;

    height: 240px;

    margin: 20px auto;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border: 3px dashed #999;

    border-radius: 10px;

    background: #f5f5f5;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.6;
}


@media (
    max-width: 700px
) {

    .qr-placeholder {

        width: 210px;

        height: 210px;
    }
}

/* ==================================================
   STAGE 24 QR + CHECK-IN
   ================================================== */

.live-qr-image {

    display: block;

    width: 320px;

    max-width: 90%;

    height: auto;

    margin: 20px auto;

    border: 1px solid #ddd;

    border-radius: 8px;

    background: white;

    padding: 8px;

    box-sizing: border-box;
}


.live-attendance-summary {

    margin: 15px 0;

    font-size: 22px;

    font-weight: 600;
}


.qr-status {

    margin-top: 12px;

    font-weight: 600;
}


.student-checkin-status {

    padding: 15px;

    margin-bottom: 20px;

    border: 1px solid #ddd;

    border-radius: 8px;

    background: #f7f7f7;

    font-weight: 700;
}


.student-checkin-success {

    border-color: #72b98c;

    background: #e9f7ee;

    color: #176b36;
}


@media (
    max-width: 700px
) {

    .live-qr-image {

        width: 260px;
    }


    .live-attendance-summary {

        font-size: 20px;
    }
}

/* ==================================================
   STAGE 25 ATTENDANCE
   ================================================== */

.attendance-summary-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                130px,
                1fr
            )
        );

    gap: 10px;

    margin-bottom: 15px;
}


.attendance-summary-grid > div {

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 6px;

    background: #f8f8f8;

    text-align: center;
}


#liveExpectedStudentsTable select {

    min-width: 110px;
}


#liveExpectedStudentsTable input {

    min-width: 150px;

    box-sizing: border-box;
}


#attendanceReport .form-card label {

    display: block;

    margin-top: 10px;

    margin-bottom: 4px;
}


#attendanceReport .form-card input,
#attendanceReport .form-card select {

    width: 100%;

    max-width: 420px;

    box-sizing: border-box;
}

/* ==================================================
   STAGE 26 - END CLASS
   ================================================== */

#endClassReview {

    margin-top: 24px;
}


#endClassReview > label {

    display: block;

    margin-top: 12px;

    margin-bottom: 5px;

    font-weight: 600;
}


#endClassReview > input {

    width: 100%;

    max-width: 420px;

    min-height: 38px;

    box-sizing: border-box;
}


.end-class-summary {

    margin-top: 20px;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 8px;

    background: #f8f8f8;
}


.end-class-warning {

    margin-top: 15px;

    padding: 14px;

    border: 1px solid #d98282;

    border-radius: 8px;

    background: #fdecec;

    color: #8b1a1a;

    font-weight: 600;
}


#endClassStudentTable td {

    vertical-align: middle;
}