/* Common styles for all admission forms */
:root {
    --primary: #0A2845;
    --accent: #AF4D58;
    --orange: #D68F41;
    --cream: #F4EFE9;
    --error: #dc3545;
    --success: #28a745;
    --grey: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--primary);
    line-height: 1.6;
}

.vd-form-admission-header {
    margin-top: 5rem;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.vd-form-admission-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.vd-form-admission-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.vd-form-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.vd-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.vd-form-section.active {
    display: block;
}

.vd-form-section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cream);
}

.vd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.vd-form-group {
    margin-bottom: 1.5rem;
}

.vd-form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

label .required {
    color: var(--error);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(175, 77, 88, 0.1);
}

.vd-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.vd-form-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vd-form-btn-primary {
    background: var(--accent);
    color: white;
}

.vd-form-btn-primary:hover {
    background: #963c47;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(175, 77, 88, 0.3);
}

/* Modal Styles */
.vd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.vd-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.vd-modal-content h2 {
    color: var(--success);
    margin-bottom: 1.5rem;
}

.vd-modal-content p {
    margin-bottom: 1rem;
    color: var(--grey);
}

.vd-modal-content strong {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .vd-form-row {
        grid-template-columns: 1fr;
    }
    
    .vd-form-section {
        padding: 1.5rem;
    }
    
    .vd-form-admission-header h1 {
        font-size: 1.8rem;
    }
}
