/* General padding for the event section */
.event_section {
    padding-top: 100px;
}

/* Base form styles */
form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background-color: #4a90e2;
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #357ab7;
}

/* Media Queries for Responsiveness */

/* For screens up to 768px (e.g., mobile devices) */
@media (max-width: 768px) {
    .event_section {
        padding-top: 50px; /* Reduce padding for smaller screens */
    }

    form {
        padding: 15px; /* Reduce form padding */
        max-width: 100%; /* Make form full width on small screens */
    }

    form h2 {
        font-size: 20px; /* Adjust font size */
    }

    .btn-submit {
        font-size: 16px; /* Make button text smaller */
        padding: 12px; /* Increase button padding for easier clicking on mobile */
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 14px; /* Make input text smaller on mobile */
        padding: 8px; /* Reduce padding for inputs */
    }
}

/* For screens between 768px and 1024px (tablets) */
@media (max-width: 1024px) and (min-width: 769px) {
    form {
        max-width: 80%; /* Use 80% width for tablet screens */
    }

    .btn-submit {
        font-size: 18px; /* Keep the button text the same size */
    }
}

/* For extra small devices (e.g., small mobile phones) */
@media (max-width: 480px) {
    form h2 {
        font-size: 18px; /* Reduce heading size for very small screens */
    }

    .btn-submit {
        font-size: 14px; /* Make button text smaller */
        padding: 10px; /* Reduce padding for smaller buttons */
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 12px; /* Make input text much smaller */
        padding: 6px; /* Reduce input padding */
    }
}

span.searchChkBox {
    margin-right: 30px;
}

#searchAddResults label{
    color: red;
}

form {
    border: none !important;
}
#msg {
    display: none;
}