/* form.css - Custom Styles for East West College Admission Form */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container.form-top {
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.panel {
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
}

.panel-body {
    padding: 25px;
    border-radius: 8px;
}

/* Button Styling - Material-inspired */
.btn-raised {
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-raised:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-danger {
    background-color: #d9534f;
    color: #fff;
    border-color: #d9534f;
}

.btn-danger:hover {
    background-color: #c9302c;
    border-color: #c9302c;
}

/* Input & Form Controls */
.form-control {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 10px 14px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #d9534f;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25);
    outline: none;
}

/* Labels with Icons */
label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

label i {
    color: #d9534f;
    margin-right: 6px;
}

/* Select Dropdowns */
select.form-control, select {
    height: 45px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Date Input */
input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
}

input[type="date"]:focus {
    border-color: #d9534f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25);
}

/* File Upload */
input[type="file"] {
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 10px;
    background-color: #fdfdfd;
}

input[type="file"]:focus {
    border-color: #d9534f;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.15);
}

/* Alerts & Messages */
.alert {
    border-radius: 8px;
    font-weight: 500;
}

#success_message, #error_message {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 15px;
}

#success_message h2 {
    color: #3c763d;
}

#error_message h4 {
    color: #a94442;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container.form-top {
        margin-top: 15px;
        padding: 10px;
    }

    .panel-body {
        padding: 15px;
    }

    .btn-raised {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* Optional: Animation on success/error */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#success_message, #error_message {
    animation: fadeIn 0.8s ease-in;
}