/* css/admission.css */

body {
    font-family: sans-serif;
    background-color: #0f0258;
    margin: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure full viewport height */
}

.container {
    background-color: #00BFFF;
    max-width: 1200px; /* Increase width */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}


textarea {
    resize: vertical; /* Allow vertical resizing */
    height: 100px; /* Set a reasonable default height */
}

button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Make button full width */
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Style for file inputs (adjust as needed) */
input[type="file"] {
    padding: 5px; /* Smaller padding for file input */
    border: none; /* Remove default border */
}

/* Optional: Style error messages (if you add them) */
.error-message {
    color: red;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .container {
        padding: 15px; /* Reduce padding on smaller screens */
        width: 2000px;
    }

    h2 {
        font-size: 1.8em; /* Smaller heading */
    }

    label {
        font-size: 0.9em; /* Smaller label font */
    }

    input,
    select,
    textarea,
    button[type="submit"] {
        font-size: 0.9em; /* Smaller input font */
    }
}