
.bws-vip-wrap,
.bws-vip-wrap * { box-sizing: border-box; }

.bws-vip-wrap {
    --bws-vip-bg: #0a4797;
    --bws-vip-accent: #a8cf45;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bws-vip-bg);
}

.bws-vip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 575px;
}

.bws-vip-content {
    padding: 38px 36px 32px;
    background: var(--bws-vip-bg);
}

.bws-vip-content h2 {
    margin: 0 0 24px;
    color: #fff;
    font-family: Oswald, Arial, sans-serif;
    font-size: 37px;
    line-height: 1.08;
    font-weight: 700;
}

.bws-vip-content h2 span { color: var(--bws-vip-accent); }

.bws-vip-form { width: 100%; max-width: 330px; }

.bws-vip-field { margin-bottom: 16px; }

.bws-vip-field label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
}

.bws-vip-field input,
.bws-vip-field select {
    width: 100%;
    height: 45px;
    padding: 4px 2px;
    border: 0;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
}

.bws-vip-field select option {
    color: #111;
    background: #fff;
}

.bws-vip-field input:focus,
.bws-vip-field select:focus {
    border-bottom-color: var(--bws-vip-accent);
}

.bws-vip-field.has-error input,
.bws-vip-field.has-error select {
    border-bottom-color: #ffb3ba;
}

.bws-vip-error {
    min-height: 15px;
    margin-top: 4px;
    color: #ffd9dc;
    font-size: 12px;
}

.bws-vip-submit,
.bws-vip-open {
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

.bws-vip-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    padding: 10px 16px;
    background: #fff;
    color: var(--bws-vip-bg);
    font-size: 18px;
}

.bws-vip-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.bws-vip-open {
    padding: 12px 20px;
    background: var(--bws-vip-bg, #0a4797);
    color: #fff;
}

.bws-vip-status {
    margin-top: 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.bws-vip-status.is-success {
    color: #eaffbe;
}

.bws-vip-status.is-error {
    color: #ffd9dc;
}

.bws-vip-image {
    min-height: 575px;
    background-color: var(--bws-vip-bg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.bws-vip-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.62);
}

.bws-vip-overlay.is-open {
    display: flex;
}

.bws-vip-popup {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

.bws-vip-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #555;
    cursor: pointer;
    font-size: 25px;
    line-height: 30px;
}

.bws-vip-hp {
    position: absolute !important;
    left: -99999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.bws-vip-lock { overflow: hidden; }

@media (max-width: 767px) {
    .bws-vip-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .bws-vip-content {
        padding: 34px 24px 28px;
    }

    .bws-vip-content h2 {
        font-size: 30px;
    }

    .bws-vip-form {
        max-width: none;
    }

    .bws-vip-image {
        min-height: 250px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .bws-vip-overlay {
        padding: 10px;
    }

    .bws-vip-content {
        padding: 28px 20px 24px;
    }

    .bws-vip-image {
        min-height: 190px;
    }
}
