/* Student Modal Design */
.student-modal-container {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* No shadow needed as it's inside a dialog overlay usually */
    font-family: 'Inter', sans-serif;
}

/* Header */
.student-modal-header {
    background-color: #C62E10;
    /* Match the red/orange from image */
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.student-modal-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.student-modal-close {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0;
    display: flex;
}

.student-modal-close:hover {
    opacity: 1;
}

/* Body */
.student-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    /* Dark gray */
}

.required-mark {
    color: #C62E10;
    margin-left: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #9CA3AF;
    /* Light gray icon */
    font-size: 1rem;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    /* Left padding for icon */
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--sb-neutral-800);
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: #9CA3AF;
}

.form-input:focus {
    background-color: white;
    border-color: #C62E10;
    box-shadow: 0 0 0 3px rgba(198, 46, 16, 0.1);
}

.form-input.error {
    border-color: var(--sb-red-500);
    background-color: var(--sb-red-50);
}

.error-message {
    font-size: 0.75rem;
    color: var(--sb-red-500);
    margin-top: 4px;
}

/* Footer */
.student-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #F3F4F6;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.btn-cancel {
    background: none;
    border: none;
    color: #4B5563;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 16px;
    transition: color 0.2s;
}

.btn-cancel:hover {
    color: var(--sb-neutral-900);
}

.btn-submit {
    background-color: #C62E10;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(198, 46, 16, 0.3);
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background-color: #A5250D;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(198, 46, 16, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}


/* Override Radzen Dialog specific styles for this modal */
.student-modal-dialog .sb-dialog-body {
    padding: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.student-modal-dialog .sb-dialog-header {
    display: none !important;
}