/* General styles for the error message */
#error-message {
    color: red;
    font-weight: bold;
    margin-bottom: 1rem;
    display: none; /* This will be shown when there's an error */
}
button.single_add_to_cart_button.button.alt {
    padding: 13px 25px;
    margin-top: 20px;
}
/* Form styles */
#join_form_rvsn {
    background-color: #f9f9f9; /* Light background for the form */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Inner spacing */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 400px; /* Max width for form */
    margin: 0 auto; /* Center the form */
}

/* Label styles - using parent to target children */
#join_form_rvsn label {
    display: block; /* Make labels block-level elements */
    margin: 10px 0 5px; /* Margin for spacing */
    font-weight: 600; /* Bold for visibility */
}

/* Input and select styles - using parent to target children */
#join_form_rvsn input[type="text"],
#join_form_rvsn input[type="email"],
#join_form_rvsn input[type="date"],
#join_form_rvsn select {
    width: 100%; /* Full width */
    padding: 10px; /* Inner spacing */
    border: 1px solid #ccc; /* Border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
    transition: border-color 0.3s; /* Smooth border color change */
}

#join_form_rvsn input[type="text"]:focus,
#join_form_rvsn input[type="email"]:focus,
#join_form_rvsn input[type="date"]:focus,
#join_form_rvsn select:focus {
    border-color: #007bff; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

/* Checkbox styles */
#join_form_rvsn input[type="checkbox"] {
    margin-right: 5px; /* Space between checkbox and label */
}

/* Button styles */
#join_form_rvsn button[type="submit"],
#group-participants #increment_participants {
    background-color: #007bff; /* Primary color for buttons */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px; /* Inner spacing */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background color change */
    margin-top: 10px; /* Margin for spacing */
}

#join_form_rvsn button[type="submit"]:hover,
#group-participants #increment_participants:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Participants container styles */
#group-participants {
    margin-top: 15px; /* Space above container */
}

/* Hide input number field initially */
.hidden_field {
    display: none; /* Hide by default */
}
