label {
    margin-top: 15px;
    text-align: right;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

#loading {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

#acknowledgment {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
}

input,
select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.event_detail {
    text-align: center;
    /* Centers the text horizontally */
    margin: 0 auto;
    /* Centers the div itself if it has a width */
    color: #C72B87;
}

.family_desc{
    text-align: center;
    /* Centers the text horizontally */
    margin: 0 auto;
    text-decoration: underline;
}

.activity_detail {
    text-align: center;
    /* Centers the text horizontally */
    margin: 0 auto;
    /* Centers the div itself if it has a width */
}

.activity_title {
    color: var(--bs-green) !important
}

input[type="radio"] {
    -webkit-appearance: none;
    /* Remove default radio button styling */
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    /* Set the width */
    height: 20px;
    /* Set the height */
    border: 1.5px solid #000;
    /* Add border */
    border-radius: 0;
    /* Make it square */
    outline: none;
    /* Remove outline */
    cursor: pointer;
    /* Pointer cursor */
}

input[type="radio"]:checked {
    background-color: #007bff;
    /* Background color when checked */
    border: 2px solid #007bff;
    /* Border color when checked */
}

.form-group {
    display: flex;
    /* Use Flexbox */
    align-items: start;
    /* Center vertical alignment */
    margin-bottom: 15px;
    /* Space between rows */
}

.form-group label {
    flex: 0;
    /* Allow label to take space */
    margin-right: 10px;
    /* Space between label and input */
    white-space: nowrap;
    /* Prevent label wrap */
    min-width: 500px;
}

.form-group input,
.form-group select {
    flex: 1;
    /* Allow input/select to take more space */
}

.tnc,
.terms-and-conditions {
    background-color: #f0f0f0;
    /* Light grey background */
    padding: 50px;
    /* Add some padding */
    border-radius: 5px;
    /* Optional: rounded corners */
    overflow: auto;
    /* Enable scrolling when content overflows */
    max-height: 400px;
    /* Limit height, adjust as needed */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: shadow for depth */
    margin-bottom: 20px;
    /* Space below this section */
}

.centered-button {
    padding: 10px 20px;
    /* Padding for the button */
    width: 200px;
    /* Set width to 200px */
    margin: 0 auto;
    /* Center the button */
    display: block;
    /* Make button a block element for auto margins */
    text-align: center;
    /* Align text in the button */
    border-radius: 30px;
    /* Optional: rounded corners */
    background-color: var(--bs-green) !important;
    border: 2px solid var(--bs-green);
    /* Add border of the same color as the background */
}

/*
.acknowledgment-section label{
    text-align: left;
    padding: 10px 10px;
}
*/
.acknowledgment-section {
display: grid;
grid-template-columns: repeat(2, 1fr);
/* Two equal columns /
gap: 15px;
/ Space between grid items */
}

.acknowledgment-section label {
display: flex;
align-items: flex-start; /* Align checkbox to the top */
/* Center checkbox with text */
text-align: left;
}

.acknowledgment-section label span {
padding-left: 10px;
/* Space between checkbox and text */
}

.acknowledgment-section input[type="checkbox"] {
    /* width: 20px;
    Adjust as needed /
    / height: 20px;
    Adjust as needed */
    margin-top: 5px;
}

.acknowledgment-section {
    grid-template-columns: 1fr;
/* Stack into a single column on mobile */
}
 
.star {
    color: red;
}

/* Mobile styles */
@media (max-width: 768px) {

    
    /* Adjust the max-width based on your design needs */
    .form-group {
        flex-direction: column;
        /* Stack elements vertically */
    }

    .form-group label {
        flex: 1 0 100%;
        /* Allow label to take full width */
        margin-right: 0;
        /* Remove margin for full-width labels */
        white-space: normal;
        /* Allow label text to wrap */
        width: 100%;
        text-align: left;
        /* Align text to the left */
    }

    .form-group input,
    .form-group select {
        flex: 1 0 100%;
        /* Allow input/select to also take full width */
        margin-top: 5px;
        /* Optional: add some spacing above inputs */
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
  
  /* CSS */

    .form-group {
        flex-direction: column;
    }

      .form-group label {
        flex: 1 0 100%;
        margin-right: 0;
        white-space: normal;
        width: 100%;
        text-align: left;
    }

        .form-group input, .form-group select {
        flex: 1 0 100%;
        margin-top: 5px;
        width: 100%;
    }
}