body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
}

#sm-student-registration {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
    width: 100%; /* Responsive width */
}

#sm-board-registration-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
    width: 100%; /* Responsive width */
}

h2 {
    text-align: center;
    color: #333;
}

.form-row {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between; /* Space between items */
    margin-bottom: 15px 0;
}

.form-group {
    flex: 1 1 calc(50% - 10px); /* Two columns with space */
    margin-right: 10px;
}

.form-group:last-child {
    margin-right: 0; /* Remove margin for last item */
}

.form-group.full-width {
    flex: 1 1 100%; /* Full width for specific items */
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Include padding in width */
    height: 45px;    
}
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Include padding in width */
    height: 90px;
}

.form-group input[type="file"] {
    padding: 5px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.submit-button {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%; /* Make button full width */
}

.submit-button:hover {
    background-color: #4cae4c;
}

textarea {
    resize: vertical;
    height: 100px;
}

#fee-details {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%; /* Stack items on smaller screens */
        margin-right: 0; /* Remove margin */
    }
}
.req {
    color: red;
}