/* --- Base Structures --- */
.form-v2-wrap {
    position: relative;
    min-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 11px 80px 8px #0000000f, 0px 0px 0px 1px #00000003;
    background: #fff;
}

.form-v2-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 620px;
    justify-content: space-between;
}

.form-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.form-v2-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.form-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.72) 32%, rgba(63,42,26,.92) 62%, rgba(47,30,20,.96) 100%);
    z-index: 1;
}

/* --- Form Side --- */
.form-v2-form-side {
    flex: 1;
    min-width: 320px;
    max-width: 56%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-v2-form-box {
    width: 100%;
    height: 100%;
}

.form-v2-form-inner {
    width: 100%;
    background: #ffffff;
    padding: 26px 24px 24px;
    height: 100%;
}

/* --- Info Side --- */
.form-v2-info-side {
    flex: 1;
    min-width: 320px;
    max-width: 44%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 40px 30px 24px;
    background: linear-gradient(326deg, var(--uicolor3) 0%, var(--uicolor2) 130%);
}

.form-v2-info-box {
    width: 100%;
    max-width: 430px;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.form-v2-info-head {
    margin-bottom: 36px;
}

.form-v2-info-title {
    color: #fff;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
}

/* --- Contact List & Items --- */
.form-v2-contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-v2-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.form-v2-contact-content {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-v2-contact-label {
    color: white;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 0;
}

.form-v2-contact-value,
.form-v2-contact-value a {
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 400;
}

.form-v2-contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--miniradius);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .045) 0%, rgba(255, 255, 255, .02) 100%);
    border: 1px solid #ffffff12;
    box-shadow: 0 20px 50px #00000017;
    transition: 280ms all ease;
}

.form-v2-contact-item:hover .form-v2-contact-icon {
    background: var(--uicolor2);
}

/* --- Social Section --- */
.form-v2-social-wrap {
    margin-top: auto;
    padding-top: 40px;
}

.form-v2-social-title {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: right;
}

.form-v2-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.form-v2-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: .3s ease;
}

.form-v2-social:hover {
    background: var(--uicolor2);
    transform: translateY(-3px);
}

/* --- Form Controls --- */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-form .-YC-FM-inputs-area {
    flex: 1;
    min-width: 230px;
}

.form-v2-form-inner form,
.form-v2-form-inner .wpcf7,
.form-v2-form-inner .wpforms-container,
.form-v2-form-inner .frm_forms {
    width: 100%;
}

.form-v2-form-inner input,
.form-v2-form-inner select,
.form-v2-form-inner textarea {
    width: 100%;
    border: 1px solid #e2e4e8;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    color: var(--primary-text);
    font-size: 15px;
    box-shadow: none;
    outline: none;
}

.form-v2-form-inner .-selectbox-button > p > strong {
    font-weight: 500;
    font-size: 15px;
}

.form-v2-form-inner input::placeholder,
.form-v2-form-inner textarea::placeholder {
    color: #9aa0a8;
}

.form-v2-form-inner textarea[textarea-model] {
    min-height: 140px;
    overflow: auto;
    resize: vertical;
    font-weight: 500;
    font-size: 15px;
}

.form-v2-form-inner textarea::-webkit-scrollbar-corner,
.form-v2-form-inner textarea::-webkit-resizer {
    background: transparent;
}

/* --- Select Fields Custom Arrow --- */
.form-v2-form-inner .-YC-FM-inputs-area[data-field-type*="Select"] {
    position: relative;
}

.form-v2-form-inner .-YC-FM-inputs-area[data-field-type*="Select"] select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    padding-inline-start: 44px;
}

.form-v2-form-inner .-YC-FM-inputs-area[data-field-type*="Select"]::after {
    content: "";
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-left: 2px solid #7d828a;
    border-bottom: 2px solid #7d828a;
    transform: translateY(-65%) rotate(-45deg);
    pointer-events: none;
    z-index: 1;
}

/* --- Buttons --- */
.form-v2-form-inner button,
.form-v2-form-inner input[type="submit"],
.form-v2-form-inner .wpcf7-submit,
.form-v2-form-inner .wpforms-submit,
.form-v2-form-inner .frm_button_submit {
    border: 0;
    border-radius: 14px;
    background: var(--uicolor);
    color: #fff;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
    margin-inline-start: auto;
}

.form-v2-form-inner button:hover,
.form-v2-form-inner input[type="submit"]:hover,
.form-v2-form-inner .wpcf7-submit:hover,
.form-v2-form-inner .wpforms-submit:hover,
.form-v2-form-inner .frm_button_submit:hover {
    opacity: .92;
    transform: translateY(-2px);
}

.form-v2-form-inner .iti {
    width: 100%;
}

/* --- Helpers & Alerts --- */
.-ycwt-form .tit-wdt {
    font-size: 27px;
    margin-bottom: 20px;
}

.cont-submit {
    margin-top: 25px;
}

error-handler-message {
    display: block;
    font-size: 13px;
    margin-top: 10px !important;
    color: var(--negative);
}

.-ajax-input-label + .-yourcolor-form-alerts {
    margin: 10px 0 5px !important;
}

.-yourcolor-form-alerts {
    display: block;
    padding: 13px 20px;
    margin-bottom: 20px !important;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 15px;
    will-change: transform;
    font-weight: 500;
}

.-yourcolor-form-alerts.incenter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.-yourcolor-form-alerts.incenter > i {
    font-size: 40px;
}

.-yourcolor-form-alerts.alert-danger {
    background: #db11330f;
    color: var(--negative);
}

.-yourcolor-form-alerts.alert-success {
    background: #31a24c14;
    color: var(--positive);
}

.-yourcolor-form-alerts > h5 {
    line-height: 1.6;
    font-size: 17px;
}

/* --- Media Queries --- */
@media (max-width:1199px){
    .form-v2-info-side {
        max-width: 494px;
        padding: 24px 28px 24px 18px;
    }
}

@media (max-width:991px){
    .form-v2-wrap { min-height: auto; }
    .form-v2-overlay {
        background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.72) 44%, rgba(63,42,26,.92) 68%, rgba(47,30,20,.96) 100%);
    }
    .form-v2-grid {
        min-height: auto;
        flex-direction: column;
    }
    .form-v2-form-side, .form-v2-info-side {
        min-width: 100%;
        max-width: 100%;
    }
    .form-v2-form-box, .form-v2-info-box {
        max-width: 100%;
    }
    .form-v2-social-wrap {
        margin-top: 28px;
        padding-top: 28px;
    }
}

@media (max-width:767px){
    .form-v2-wrap { border-radius: 20px; }
    .form-v2-info-side { padding: 18px; }
    .form-v2-form-inner { padding: 18px 16px; }
    .form-v2-info-title { font-size: 20px; }
    .form-v2-contact-list { gap: 18px; }
    .form-v2-contact-item { gap: 14px; }
    .form-v2-contact-label { font-size: 16px; }
    .form-v2-contact-value, .form-v2-contact-value a { font-size: 15px; }
    .form-v2-contact-content { gap: 5px; }
    .form-v2-contact-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 20px;
        border-radius: 12px;
    }
    .form-v2-form-inner input, 
    .form-v2-form-inner select, 
    .form-v2-form-inner textarea {
        min-height: 48px;
        font-size: 14px;
    }
    .form-v2-form-inner textarea { min-height: 120px; }
    .form-v2-form-inner button,
    .form-v2-form-inner input[type="submit"],
    .form-v2-form-inner .wpcf7-submit,
    .form-v2-form-inner .wpforms-submit,
    .form-v2-form-inner .frm_button_submit {
        width: 100%;
    }
}