/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

h1, h2 {
    color: #0047ab;
    margin-bottom: 15px;
    text-align: center;
}

h3, h4 {
    color: #007bff;
}

/* Container for registration form */
.registration-container {
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Form Labels and Inputs */
form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    color: #333;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
}

form select{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;

}

form input[type="checkbox"] {
    margin-right: 10px;
}

form textarea {
    resize: vertical;
}

/* Participant Details Styling */
.participant-form {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 5px;
    border: 1px solid #eaeaea;
}

.participant-form h3 {
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Category Section */
.age-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.age-groups label {
    width: 48%;
    margin-bottom: 10px;
}

/* Fee display */
.fee-amount {
    font-size: 1.1rem;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 20px;
}

.total_fee {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #ffffff;
    color: #0047ab;
    border: none;
    border-radius: 5px;
}

/* Submit Button */
button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.1rem;

    border-radius: 5px;
    width: 100%;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0b6610;
    cursor: pointer;
}

/* Miscellaneous */
.form-group {
    margin-bottom: 20px;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #888;
}

small {
    font-size: 0.9rem;
    color: #666;
}
.system-test-checkbox-text{
    font-size: smaller;
}

.contest_date{
    width: 200px;
    height: 30px;
    text-align: center;
    font-size:larger;
    background-color: #e0edf1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .registration-container {
        padding: 20px;
    }

    form label {
        font-size: 1rem;
    }

    .age-groups label {
        width: 100%;
    }

    button[type="submit"] {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .registration-container {
        margin: 20px auto;
    }

    h1 {
        font-size: 1.5rem;
    }

    form input,
    form textarea {
        font-size: 0.9rem;
    }

    button[type="submit"] {
        padding: 8px 12px;
    }
}
