* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

header {
    background-color: #015551;
    color: white;
    padding: 25px 30px;
    text-align: center;
}

header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

header p {
    font-size: 16px;
    opacity: 0.9;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    padding: 25px;
}

/* Left column with student image and basic info */
.left-column {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-right: 1px solid #eee;
}

/* Right column with subjects and programs */
.right-column {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.section-title {
    font-size: 20px;
    color: #1a3c6e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    font-weight: 600;
}

.student-photo-section {
    text-align: center;
    margin-bottom: 30px;
}

.photo-upload-area {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f9f9f9;
    overflow: hidden;
}

.photo-upload-area:hover {
    border-color: #015551;
    background-color: #f0f4f9;
}

.photo-upload-area i {
    font-size: 50px;
    color: #aaa;
    margin-bottom: 10px;
}

.photo-upload-area span {
    color: #666;
    font-size: 14px;
}

#student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 15px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #015551;
}

.name-group {
    display: flex;
    gap: 15px;
    width: 100%;
}

.name-group .form-group {
    flex: 1;
}

.display-name-container {
    background-color: #f0f4f9;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
    min-height: 46px;
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: #4CAF50;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

/* Program sections */
.program-section {
    margin-bottom: 30px;
}

.program-header {
    background-color: #f0f4f9;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-left: 4px solid #015551;
    transition: all 0.3s;
}

.program-header:hover {
    background-color: #e4eaf3;
}

.program-header h3 {
    color: #1a3c6e;
    font-size: 18px;
}

.program-header i {
    color: #1a3c6e;
    transition: transform 0.3s;
}

.program-header.active i {
    transform: rotate(180deg);
}

.program-options {
    display: none;
    padding: 0 15px 15px;
}

.program-options.active {
    display: block;
}

.course-option {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-option:hover {
    background-color: #f5f7fa;
    border-color: #aaa;
}

.course-option.selected {
    background-color: #e8f0fe;
    border-color: #1a3c6e;
    color: #1a3c6e;
}

.selected-course-icon {
    color: #4CAF50;
    display: none;
}

.course-option.selected .selected-course-icon {
    display: inline-block;
}

.selected-courses {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #eaeaea;
}

.selected-courses h3 {
    color: #015551;
    margin-bottom: 15px;
}

.selected-course-item {
    padding: 10px 15px;
    background-color: white;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #015551;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    padding: 25px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #015551;
    color: white;
}

.btn-primary:hover {
    background-color: #015551;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .left-column, .right-column {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .name-group {
        flex-direction: column;
        gap: 0;
    }
}

.info-note {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.age-display {
    font-size: 14px;
    color: #015551;
    margin-top: 5px;
    font-weight: 500;
}