.openticket-container {
    background-color: #ffffff;
    padding: 5rem 0 5rem 0;
}

.openticket-container .openticket-form {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    padding: 15px;
}

/* New Container */
@media (max-width: 1024px) {

    .openticket-container .openticket-form {
        width: 100%;
        box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        box-sizing: border-box;
    }

    /* Stretch ONLY text fields */
    .openticket-container .openticket-form
    input:not([type="submit"]):not([type="reset"]):not([type="button"]),
    .openticket-container .openticket-form textarea,
    .openticket-container .openticket-form select {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }

    /* Keep buttons unchanged */
    .openticket-container .openticket-form
    input[type="submit"],
    .openticket-container .openticket-form
    input[type="reset"],
    .openticket-container .openticket-form
    input[type="button"] {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    /* Allow wrapping without overflow */
    .openticket-container .openticket-form > * {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/*end*/

.openticket-container .openticket-form h1 {
    color: #7b1113;
}


.openticket-container img {
    width: 100vw;
    height: auto;
    margin-top: 2rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.openticket-container .captcha img,
.openticket-container img.captcha,
.openticket-container img.captcha-img {
    width: 280px !important;
    height: 100px !important;
    margin: 0 !important;
    float: left;
    display: block;
    max-height: 200%; 
}

