/* 
==========================================================
  Application: Responsive Feedback Form
  Screenshot Style Update
  Existing HTML name / data-name attributes are preserved
==========================================================
*/

/* Form container */
.form-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Form layout */
.form-container form,
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
}

/* Input + Select fields */
.input-field,
.select-field {
    box-sizing: border-box;
    width: calc(50% - 12px);
    height: 60px;
    margin: 0 0 20px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 35px;
    outline: none;
    background: #f3f3f3;
    color: #4f5965;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 60px;
    transition: all 0.3s ease;
}

/* Placeholder */
.input-field::placeholder,
textarea::placeholder,
.select-field {
    color: #596575;
    opacity: 1;
}

.input-field:focus,
.select-field:focus,
textarea:focus {
    border-color: #e60000;
    background: #f7f7f7;
}

/* Full-width fields */
.input-field.full-width,
.select-field.full-width {
    width: 100%;
}

/* Textarea */
textarea,
.input-field.full-width[type="textarea"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 130px;
    margin: 0 0 20px;
    padding: 22px 20px;
    border: 1px solid transparent;
    border-radius: 22px;
    outline: none;
    background: #f3f3f3;
    color: #4f5965;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

textarea::placeholder {
    color: #596575;
}

/* Select */
.select-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: normal;
    background-color: #f3f3f3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolygon points='0,0 10,0 5,7' fill='%23596575'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 10px;
}

.select-field option:first-child {
    color: #999;
}

.select-field option:disabled {
    display: none;
}

/* Submit area */
.button-group {
    width: 100%;
    margin-top: 0;
    text-align: left;
}

/* Screenshot-style submit button */
.submit-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 160px;
    height: 68px;
    padding: 0 58px 0 28px;
    border: 1px solid #ff0000;
    border-radius: 40px;
    outline: none;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Black circular arrow */
.submit-button::after {
    content: "↗";
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #050505;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #050505;
    color: #fff;
}

.submit-button:hover::after {
    background: #fff;
    color: #050505;
    transform: rotate(45deg);
}

/* Captcha */
.captcha-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 20px;
}

.captcha-image {
    margin-right: 10px;
}

/* File + captcha */
.file-captcha-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Loading indicator - retained from original CSS */
#loadingIndicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

#loadingIndicator hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
}

#loadingIndicator :first-child {
    background: #19A68C;
    animation-delay: -1.5s;
}

#loadingIndicator :nth-child(2) {
    background: #F63D3A;
    animation-delay: -1s;
}

#loadingIndicator :nth-child(3) {
    background: #FDA543;
    animation-delay: -0.5s;
}

#loadingIndicator :last-child {
    background: #193B48;
}

@keyframes spin {
    0%, 100% {
        transform: translate(0);
    }

    25% {
        transform: translate(160%);
    }

    50% {
        transform: translate(160%, 160%);
    }

    75% {
        transform: translate(0, 160%);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .input-field,
    .select-field {
        width: 100%;
        height: 58px;
        margin-bottom: 16px;
        padding: 0 24px;
    }

    textarea,
    .input-field.full-width[type="textarea"] {
        min-height: 125px;
        margin-bottom: 16px;
        padding: 20px 24px;
    }

    .submit-button {
        width: 155px;
        height: 64px;
    }

    .submit-button::after {
        width: 48px;
        height: 48px;
    }

    .file-captcha-group {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .captcha-wrapper {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .input-field,
    .select-field {
        height: 54px;
        padding: 0 20px;
        font-size: 15px;
        border-radius: 30px;
    }

    textarea,
    .input-field.full-width[type="textarea"] {
        min-height: 120px;
        padding: 18px 20px;
        font-size: 15px;
        border-radius: 20px;
    }

    .submit-button {
        width: 150px;
        height: 62px;
        padding-left: 25px;
        font-size: 12px;
    }

    .submit-button::after {
        top: 7px;
        right: 7px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}


.new-box {
  padding: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}