/* Enroll Page Styles */

body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100vh;
}

/* Reusing Header from header.css - ensuring it sits on top */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Hero Section */
.enroll-hero {
    margin-top: 100px; /* Space for fixed header */
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    color: white;
    margin-bottom: 40px;
}

.enroll-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.enroll-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Form Container */
.enroll-container {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.enroll-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
}

.enroll-header {
    text-align: center;
    margin-bottom: 40px;
}

.enroll-header h2 {
    font-size: 2rem;
    background: -webkit-linear-gradient(#ff9a9e, #fecfef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 10px;
}

.enroll-header p {
    color: #666;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
    background: #f9f9f9;
}

.form-control:focus {
    border-color: #a18cd1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(161, 140, 209, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Select Styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(120deg, #a18cd1 0%, #fbc2eb 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 140, 209, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .enroll-hero h1 {
        font-size: 2rem;
    }
    
    .enroll-card {
        padding: 20px;
    }
    
    .enroll-header h2 {
        font-size: 1.5rem;
    }
}
