
/* Basic styling */
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f3f4f6;
}

#app {
    width: 100%;
    max-width: 800px;
    padding:16px;
}

form {
    background: white;
    padding: 20px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom:30px;
}

.form-header {
    text-align: left;
    margin-bottom: 40px;
    margin-top:30px;
}

.form-title {
    font-size: 4em;
    font-weight: bold;
    color: #333; /* Match color to your form theme */
    margin: 0;
}

.form-subheader {
    font-size: 1em;
    color: #555; /* Slightly lighter than title for contrast */
    margin-top: 5px;
    line-height: 1.5;
}


.upload_submit {
    margin-top:30px;
    background: white;
    padding: 20px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 4em;
    font-weight: bold;
    text-align: center;
    color: #333; /* Match color to your form theme */
}

.centered-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Make sure it appears above other elements */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); /* Optional: Light background for readability */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.centered-message h2 {
    font-size: 4em;
    font-weight: bold;
    color: #333;
    margin: 0;
}


fieldset {
    border: 1px solid #ccc; /* Lighter gray border */
    padding: 10px;
    border-radius: 5px; /* Slightly rounded corners */
    margin-bottom:10px;
}


label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.2em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="social"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

textarea {
    resize: vertical;
    height: 80px;
}

.radio-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}

#union-error, #agent-error {
padding-top:6px;
}

.parsley-errors-list {
    color: red;
    font-size: 0.8em;
    margin-top: -10px;
    margin-bottom: 10px;
    list-style-type: none;
    padding-left: 0;
}

.file-upload-container {
    margin-bottom: 20px;
    margin-top:50px;
}

.filepond--credits {
    display: none !important;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

.instructional-text {
    font-size: 1.2em;
    color: #000000;
    margin-top: 10px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 10px;
    border-left: 4px solid #4CAF50;
}

.instructional-text ul {
    padding-top: 0px; /* Adds space between bullets */
    margin:0px;
}

.instructional-text ul li {
    margin-bottom: -5px; /* Adds space between bullets */
    padding-bottom:0px;
    line-height: 1.1; /* Adjusts line height if the text inside is too spaced */
}

#alreadySubmited {
    position: relative;
    max-width: 95%;
    margin-left: 20px auto;
    margin-right:20px auto;
    margin-top:40px;
    color: #2a5c5c; /* Dark text color for readability */
    background-color: #c6eef6; /* Light background color */
    padding: 20px;
    border: 1px solid #a9cccc; /* Border in a slightly darker robin's egg blue */
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 0.95em;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards; /* Adds fade-up effect */
}

/* Fade-up animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    /* Alert Styling */
    .upload_alert, .submit_alert {
        display: none; /* Initially hidden */
        color: #2a5c5c; /* Dark text color for readability */
        background-color: #c6eef6; /* Light background color */
        border: 1px solid #a9cccc; /* Border in a slightly darker robin's egg blue */
        border-radius: 8px; /* Rounded corners */
        padding: 10px 15px; /* Padding inside the alert */
        font-weight: 500; /* Medium font weight */
        font-size: 0.9em; /* Slightly smaller font size for elegance */
        max-width: 400px; /* Limit width for readability */
        margin: 10px auto 20px; /* Centered with spacing */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
        text-align: center; /* Center the text */
    }

.guide-track-btn {
    background-color: #333333; /* Dark grey for a neutral tone */
    color: #f4f4f4; /* Light grey for readable contrast */
    padding: 10px 20px;
    border: 1px solid #444444; /* Slightly lighter grey for subtle border */
    border-radius: 4px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
}

.guide-track-btn:hover {
    background-color: #555555; /* Darken on hover */
    color: #ffffff; /* Brighter text for contrast on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.upload-limit-text {
    font-size: 0.8em; /* Smaller font size */
    color: #6c757d; /* Gray color for a subtle look */
    margin-top: 5px; /* Small spacing from the input */
    font-style: italic;
}

.form-footer {
    height: 100px; /* Adjust the height as needed */
    margin-top: 20px; /* Adds space between the form and the footer */
}

#hidden_contact {

    display:none;
}



/* Mobile phone breakdpoint css */

@media (max-width: 576px) {
  
    .form-header {

text-align:center;

    }

    textarea {
        resize: vertical;
        height: 100px;
    }
}