/* Because the class on the form is colectingPersonalInformation, you then associate what element you are trying to style.
Example: .colectingPersonalInformation label  -- This targets the label in that class.
Example:.colectingPersonalInformation input[type="text"], -- This targets the text input box if it was a different kind of input box say for example
and email or date then you can add specific styling to that as well.
 */

/* Base styles for the form container */
.colectingPersonalInformation {
    font-family: sans-serif;
    max-width: 320px;
    padding: 15px;
    align-content: center;
}

/* Make labels sit cleanly on top of each text box */
.colectingPersonalInformation label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

/* Make the 4 text inputs look neat and uniform */
.colectingPersonalInformation input[type="text"],
.colectingPersonalInformation input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures the width fits perfectly */
}

/* Changes the input border color when clicked */
.colectingPersonalInformation input:focus {
    border-color: #007bff;
    outline: none;
}

/* Styles the submit button */
.colectingPersonalInformation input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* Darken the button slightly on hover */
.colectingPersonalInformation input[type="submit"]:hover {
    background-color: #0056b3;
}


/* Sleek container with a clean card style background */
.formContainerVariant {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 450px;
    padding: 25px;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Modern flat fieldsets with no borders except a clean bottom line */
.formContainerVariant fieldset {
    border: none;
    border-bottom: 2px solid #eaeaea;
    padding: 15px 0;
    margin: 0 0 15px 0;
}

/* Style the fieldset labels boldly */
.formContainerVariant legend {
    font-weight: 700;
    color: #2c3e50;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stacked labels for text fields and selectors */
.formContainerVariant label,
.formContainerVariant .label-title {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 6px;
    color: #555;
}

/* Rounded, light gray input fields */
.formContainerVariant input[type="text"],
.formContainerVariant select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

/* Emerald green focus ring instead of blue */
.formContainerVariant input[type="text"]:focus,
.formContainerVariant select:focus {
    border-color: #10b981;
    outline: none;
}

/* Multi-select box adjustments */
.formContainerVariant select[multiple] {
    height: 110px;
}

/* Row layout to keep radio buttons and checkboxes clean */
.formContainerVariant .row-layout {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

/* Inline labels sitting */
.formContainerVariant .row-layout label {
    display: inline-block;
    margin: 0 0 0 10px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.formContainerVariant .row-layout input[type="checkbox"],
.formContainerVariant .row-layout input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #10b981;
}

/*green button */
.formContainerVariant input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

/* Hover effect for the new button style */
.formContainerVariant input[type="submit"]:hover {
    background-color: #059669;
}
