.students-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.students-header h1 {
    font-size: 22px;
    font-weight: 600;
}

/* Modal dialog or simple overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal {
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-medium);
    padding: 24px;
    width: 480px;
    box-shadow: 0 4px 12px rgba(15, 15, 15, 0.1);
}

.modal-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}

/* Student detail panels */
.student-profile {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    width: 100%;
}

.student-info-panel {
    width: 340px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.student-mailboxes-panel {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
}

.mailbox-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.mailbox-item:last-child {
    margin-bottom: 0;
}

.mailbox-address {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}
