/* ✅ Main Section Styling */
main {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: linear-gradient(to right, #FDF7E6, #E8D8C4);
    /* Artistic gradient */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: "Poppins", sans-serif;
}

/* ✅ Main Heading */
main h1 {
    font-size: 26px;
    font-weight: bold;
    color: #8B4513;
    /* Deep artistic brown */
    margin-bottom: 15px;
}
/* ✅ Form Styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ✅ Labels */
label {
    font-size: 16px;
    font-weight: 600;
    color: #5C4033;
    display: block;
    margin-top: 10px;
}

/* ✅ Input Fields */
input[type="text"],
input[type="email"],
input[type="file"] {
    width: 90%;
    max-width: 400px;
    padding: 10px;
    font-size: 14px;
    border: 2px solid #8B4513;
    border-radius: 6px;
    background-color: #FFF7E6;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}

/* ✅ Input Focus Effect */
input:focus {
    border-color: #D2691E;
}

/* ✅ File Upload Styling */
input[type="file"] {
    cursor: pointer;
    padding: 8px;
}

/* ✅ Enrollment Button */
#enrollButton {
    margin-top: 15px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #D2691E;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* ✅ Button Hover Effect */
#enrollButton:hover {
    background-color: #8B4513;
    transform: scale(1.05);
}

/* ✅ Disabled Button */
#enrollButton:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* ✅ Popup Message Styling */
.popup {
    display: none;
    padding: 10px;
    background: rgba(255, 200, 150, 0.9);
    color: #5C4033;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    main {
        width: 90%;
    }

    input[type="text"],
    input[type="email"],
    input[type="file"] {
        width: 100%;
    }
}

/* ✅ Done Button Styling */
.done-btn {
    background-color: #f44336; /* Vibrant red to match theme */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(255, 0, 0, 0.3);
}

/* ✅ Hover Effect */
.done-btn:hover {
    background-color: #d32f2f; /* Darker red */
    box-shadow: 0px 6px 12px rgba(255, 0, 0, 0.5);
    transform: scale(1.05);
}

/* ✅ Active (Click Effect) */
.done-btn:active {
    transform: scale(0.95);
    background-color: #b71c1c;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
    .done-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}
