/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    background-image: url(/assets/images/mobilesubmit2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
}

:root {
    --primary-color: #b37801;
    --secondary-color: #8d0000;
}

/* Container Styles */
.container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background-image: url(/assets/images/VIEW.png);
    background-color: #640a0a;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: auto 100vh;
}

/* Form Container */
.form-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    position: relative;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
    left: 80px;
}

.form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.form-content h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.form-content h3 span{
    color: #900843;
}

.input-width {
    width: 100% !important;
}

.form-wrapper {
    padding: 20px;
    border-radius: 10px;
    width: 100%;
	max-width: 380px;
    margin-left: 150%;
    margin-top: 30%;
    background: linear-gradient(to bottom right,var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-container input, 
.form-container button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container button {
    background-color: #df9112;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #f3a74a;
}

.error-warning-padding {
    padding: 5px;
    background-color: pink;
    border: 3px solid #fd0000;
}

.error-warning-message {
    color: red;
    display: none;
    font-weight: bold;
    font-size: small;
}

.disabled-button {
    background-color: grey !important;
    color: white;
    border: none;
    cursor: not-allowed;
}

.tacbox {
    display:block;
    padding: 10px;
    margin: 10px;
    background-color: #eee;
    max-width: auto;
    max-height: auto;
}

.tacbox label {
    font-size: x-small;
}

.tacbox p {
    font-size: x-small;
    margin-top: 8px;
}

.tacbox input[type="checkbox"],
.tacbox input[type="radio"] {
    vertical-align: middle;
}

label.cameraButton {
    display: inline-block;
    margin: 1em 0;
    /* Styles to make it look like a button */
    padding: 0.5em;
    border: 2px solid #666;
    border-color: #EEE #CCC #CCC #EEE;
    background-color: #DDD;
}

/* Look like a clicked/depressed button */
label.cameraButton:active {
    border-color: #CCC #EEE #EEE #CCC;
}

/* This is the part that actually hides the 'Choose file' text box for camera inputs */
label.cameraButton input[accept*="camera"] {
    display: none;
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    width: 300px;
    border: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-wrapper .file-upload-input {
    flex-grow: 1;
    padding: 8px;
    border: none;
    outline: none;
}

.file-upload-wrapper .file-upload-button {
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
    position: relative;
}

.icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        position: relative;
    }

    .form-container {
        justify-content: center;
        background-image: url(/assets/images/mobile2.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        right: 0;
        left: 0;
    }

    .form-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1;
        padding-top: 60px;
    }

    .form-wrapper {
        margin-right: 0%;
        margin-top: 20%;
    }

    .poster-container {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .poster-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        position: relative;
    }

    .form-container {
        justify-content: center;
        background-image: url(/assets/images/mobile.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }


    .form-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1;
        padding-top: 60px;
    }

    .form-content h3 {
        font-size: 14px;
    }

    .form-wrapper {
        margin-left: 0%;
        margin-top: 20%;
    }

    .poster-container {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    input[type="text"]
    {
        font-size:14px;
    }

    .poster-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 1920px){
    .form-wrapper {
        margin-left: 180%;
    }
}


/* FAQ Button */
.btn.btn-primary {
    display: inline-block;
    padding: 10px 30px;
    width: 100%;
    background-color: #df1212;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    text-decoration: none;
    text-align: center;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background-color: #ff2b2b;
    color: #fff;
    text-decoration: none;
}

#radioContactDiv.tacbox {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 15px;
    color: #333;
}
#radioContactDiv label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
#radioContactDiv .radio-options {
    display: flex;
    gap: 16px;
    align-items: center;
}
#radioContactDiv .radio-options label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    font-weight: 400;
}