.yb-form { width: 100%; }
.yb-form__inner { width: 100%; }

.yb-form__row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.yb-form__col {
    padding: 0 10px;
    box-sizing: border-box;
}
.yb-form__col.col-md-12 { flex: 0 0 100%; max-width: 100%; }
.yb-form__col.col-md-6 { flex: 0 0 50%; max-width: 50%; }
@media (max-width: 640px) {
    .yb-form__col.col-md-6 { flex: 0 0 100%; max-width: 100%; }
}

.yb-form__group {
    margin-bottom: 18px;
    position: relative;
}

.yb-form__label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.2;
}

.yb-form__req {
    color: #e60023;
    margin-left: 2px;
}

.yb-form__input,
.yb-form input.yb-form__input,
.yb-form select.yb-form__input,
.yb-form textarea.yb-form__input {
    width: 100%;
    padding: 14px 22px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    font-size: 15px;
    color: #222;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.4;
    height: auto;
}

.yb-form textarea.yb-form__input {
    border-radius: 22px;
    min-height: 130px;
    resize: vertical;
    padding-top: 16px;
    padding-bottom: 16px;
}

.yb-form select.yb-form__select,
.yb-form .yb-form__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 12px 8px;
    padding-right: 48px;
    cursor: pointer;
}
.yb-form__select::-ms-expand { display: none; }

.yb-form__input:focus {
    outline: none;
    border-color: #e60023;
    box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.12);
}

.yb-form__group.has-error .yb-form__input { border-color: #e60023; }

.yb-form__error {
    color: #e60023;
    font-size: 13px;
    margin-top: 6px;
    min-height: 0;
    display: none;
}
.yb-form__error.is-visible { display: block; }

.yb-form__hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.yb-form__group--phone .iti { width: 100%; display: block; }
.yb-form__group--phone .iti__country-list {
    font-size: 14px;
    max-height: 280px;
    overflow-y: auto;
}
.yb-form__group--phone .iti--separate-dial-code .yb-form__phone {
    padding-left: 90px !important;
}

.yb-form__group--checkbox .yb-form__check-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #1a1a1a;
}
.yb-form__group--checkbox .yb-form__checkbox {
    width: 18px;
    height: 18px;
    accent-color: #e60023;
}

.yb-form button.yb-form__submit,
button.yb-form__submit {
    width: 100%;
    display: block;
    background: #111 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 16px 24px !important;
    border-radius: 999px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .15s;
    line-height: 1.4;
    text-align: center;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
    min-height: 0;
    height: auto;
}
.yb-form button.yb-form__submit:hover:not(:disabled),
button.yb-form__submit:hover:not(:disabled) { background: #000 !important; color:#fff !important; }
.yb-form button.yb-form__submit:active:not(:disabled),
button.yb-form__submit:active:not(:disabled) { transform: scale(.99); }
.yb-form button.yb-form__submit:disabled,
button.yb-form__submit:disabled { opacity: .7; cursor: wait; }

.yb-form__messages {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-line;
    text-align: center;
    display: none;
}
.yb-form__messages--success { font-weight: 500; }
.yb-form__messages.is-visible { display: block; }
.yb-form__messages--success {
    background: #e6f7ec;
    color: #0a7d3a;
    border: 1px solid #b7e6c5;
}
.yb-form__messages--error {
    background: #fdecef;
    color: #c4001d;
    border: 1px solid #f5c2cb;
}

/* Pricing form variant — slightly tighter spacing */
.yb-form--pricing .yb-form__group { margin-bottom: 12px; }
