/* ==========================================
   HỒ SƠ HỌC VIÊN [student_profile]
   ========================================== */
.mdit-student-profile {
    background: var(--background-1);
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
}

.mdit-profile-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
}

.mdit-profile-row:last-of-type {
    border-bottom: none;
}

.mdit-profile-label {
    flex: 0 0 140px;
    font-weight: 700;
    color: var(--blue);
}

.mdit-profile-value {
    color: #363636;
    font-weight: 700;
}

.mdit-profile-edit-form input,
.mdit-profile-edit-form select {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    background: #FFF;
}

.mdit-profile-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.mdit-profile-edit-msg {
    margin-top: 10px;
    font-weight: 600;
}

/* ==========================================
   LỊCH SỬ BÀI THI [exam_history]
   ========================================== */
.mdit-exam-history {
    background: #f1f1f1;
    padding: 30px;
    border-radius: 8px;
    overflow-x: auto;
}

.mdit-exam-history h5 {
    margin-bottom: 20px;
}

.mdit-exam-history-table {
    width: 100%;
    border-collapse: collapse;
}

.mdit-exam-history-table th,
.mdit-exam-history-table td {
    text-align: left;
    padding: 12px 10px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

.mdit-exam-history-table th {
    color: #7f8c8d;
    font-size: 13px;
    text-transform: uppercase;
}

.mdit-exam-history-empty td {
    text-align: center;
    color: #999;
    white-space: normal;
}

.mdit-exam-history-actions {
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 600px) {
    .mdit-profile-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .mdit-profile-label {
        flex: none;
    }
}