body {
    font-family: Arial, sans-serif;
    background: #fff;
}

.layout-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-column {
    flex: 2;
    min-width: 300px;
}

.sidebar-column {
    flex: 1;
    min-width: 280px;
}

.form-wrapper {
    max-width: 100%;
    background: #ffffff;
    padding: 25px 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h3 {
    color: #b30000;
    margin-top: 25px;
    font-size: 18px;
    text-transform: uppercase;
}

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 220px;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: #0071b3 !important;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="file"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

textarea {
    height: 80px;
    resize: none;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.checkbox-item label {
    margin-bottom: 0 !important;
    font-weight: 400;
    color: #333 !important;
    cursor: pointer;
}

/* Integrated B.Ed checkbox label styling */
.bed-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.bed-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.bed-checkbox-item label {
    margin-bottom: 0 !important;
    font-weight: 600;
    color: #0071b3 !important;
    cursor: pointer;
    font-size: 13px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.btn-submit {
    background: #b30000;
    color: #fff;
    border: 1px solid #b30000;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 3px;
}

.btn-cancel {
    background: #f4f4f4;
    border: 1px solid #ccc;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 3px;
}

/* Student type selector highlight */
.student-type-row {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.student-type-row label {
    font-size: 14px !important;
    color: #b30000 !important;
}

.student-type-row select {
    max-width: 280px;
}

@media (max-width: 768px) {
    .layout-wrapper {
        flex-direction: column;
    }
    .form-wrapper {
        padding: 15px;
    }
    .form-group {
        min-width: 100%;
    }
    .form-actions {
        flex-direction: column-reverse;
    }
    .form-actions button {
        width: 100%;
    }
}