/* Page */
.admission-section {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    background: url('/static/img/admission/bg.jpg') no-repeat center center/cover;
    padding: 60px 0;
}

.admission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 49, 119, 0.85) 0%, rgba(137, 92, 183, 0.75) 100%);
    z-index: 1;
}

.admission-section .container {
    position: relative;
    z-index: 2;
}

.vision {
    font-size: 3rem;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    font-weight: 800;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    margin-top: 15px;
}

/* Card - Glassmorphism */
.glass-form-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

/* Labels */
.form-group label {
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Inputs */
.form-control {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    padding: 8px 12px;
    height: 42px;
    transition: all 0.3s ease;
}

.mb-4 {
    margin-bottom: 15px !important;
}

.form-control:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(137, 92, 183, 0.15);
}

/* Custom Multi-Select Dropdown */
.multi-select-wrapper {
    position: relative;
    width: 100%;
}

.multi-select-display {
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    cursor: pointer;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.multi-select-display:focus-within {
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(137, 92, 183, 0.15);
}

.selected-tag {
    background: var(--purple);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.2s ease-out;
}

.selected-tag i {
    cursor: pointer;
    font-size: 0.75rem;
}

.selected-tag i:hover {
    color: #ffdada;
}

.multi-select-placeholder {
    color: #9ca3af;
    pointer-events: none;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    display: none;
}

.dropdown-menu-custom.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.dropdown-search-wrapper {
    position: sticky;
    top: 0;
    background: white;
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-search {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.875rem;
}

.dropdown-item-custom {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.95rem;
    color: #374151;
}

.dropdown-item-custom:hover {
    background: #f3f4f6;
}

.dropdown-item-custom.selected {
    background: rgba(137, 92, 183, 0.1);
    color: var(--purple);
    font-weight: 500;
}

/* Checkbox group (hidden but present) */
.hidden-checkbox-group {
    display: none;
}

/* Button */
.btn-admission {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #f7941d 0%, #faa61a 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.3);
}

.btn-admission:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.4);
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Checkbox consent */
.checkbox-flex {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-flex input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-flex label {
    margin-bottom: 0px !important;
    font-size: 0.85rem;
    color: #4b5563;
    cursor: pointer;
    line-height: 1.4;
}

/* Error Messages */
.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 3px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .admission-section {
        padding: 40px 0;
    }
    .vision {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 30px;
    }
    .subtitle {
        text-align: center;
        margin-bottom: 40px;
    }
}