@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');

@-webkit-keyframes vantaPbLoadingSpin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes vantaPbLoadingSpin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* ============================================
   INTRO BLOCK (выводится над кнопками)
   ============================================ */
.vanta-pb__intro {
    margin: 30px 0;
    font-style: italic;
    border-bottom: 1px dotted;
    color: #E8B82B;
    padding-bottom: 6px;
}

.vanta-pb__intro a {
    color: inherit;
}

/* ============================================
   BUTTONS
   ============================================ */
.vanta-pb__section {
    margin-top: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.vanta-btn {
    font-family: "Golos Text", sans-serif;
    border-radius: 12px;
    border: none;
    box-shadow: none;
    text-decoration: none;
    background: #fff;
    color: #1B1B1B;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    max-width: 383px;
    width: 100%;
    height: 56px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity .2s ease;
}

.vanta-btn:hover {
    opacity: 0.9;
}

.vanta-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.vanta-btn__pink {
    background: linear-gradient(85deg, rgba(255, 140, 231, 0.30) -11.77%, rgba(217, 200, 255, 0.30) 64.01%, rgba(117, 222, 255, 0.30) 103.18%), #FFF;
}

.vanta-btn__black {
    background: #1B1B1B;
    color: #fff;
}

.vanta-btn--gap {
    margin-top: 10px;
}

/* ============================================
   DIALOG
   ============================================ */
.vantaPbDialog {
    --border-grey: #D3D3D3;
    --text-default: #1B1B1B;
    --text-gray: #898989;
    --bg-primary: #fff;
    --bg-secondary: #F6F6F6;

    box-sizing: border-box;
    max-width: 560px;
    width: 100%;
    border: none;
    border-radius: 20px;
    padding: 20px;
    margin: auto;
    color: var(--text-default);
}

.vantaPbDialog * {
    box-sizing: border-box;
    font-family: "Golos Text", sans-serif;
}

.vantaPbDialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.vantaPbDialog__close {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    text-align: center;
    color: rgba(0, 0, 0, .3);
    font-size: 20px;
    line-height: 30px;
    user-select: none;
}

.vantaPbDialog__content {
    padding-right: 30px;
}

.vantaPbDialog__content h4 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
}

.vantaPbDialog__content p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.4;
}

.vantaPbDialog__content a {
    color: inherit;
}

/* ============================================
   FORM
   ============================================ */
.vantaPbDialog__form {
    margin-top: 20px;
}

.vantaPbDialog__form .form-group {
    position: relative;
}

.vantaPbDialog__form .form-group + .form-group {
    margin-top: 16px;
}

.vantaPbDialog__form label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.vantaPbDialog__form .form-control {
    height: 52px;
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--border-grey);
    background: var(--bg-primary);
    font-size: 16px;
    line-height: 20px;
    caret-color: var(--text-default);
    transition: border-color 0.2s ease;
}

.vantaPbDialog__form .form-control:focus {
    outline: none;
    border-color: var(--text-gray);
    box-shadow: none;
}

.vantaPbDialog__form .btn-send {
    display: flex !important;
    margin: 30px auto 0 !important;
}

/* ============================================
   SPINNER
   ============================================ */
.vantaPb-spinner {
    pointer-events: none;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-color: #fff;
    border-top-color: transparent;
    border-radius: 50%;
    -webkit-animation: vantaPbLoadingSpin 0.8s ease infinite;
    animation: vantaPbLoadingSpin 0.8s ease infinite;
}

@media (max-width: 480px) {
    .vantaPbDialog {
        border-radius: 14px;
        padding: 16px;
    }

    .vantaPbDialog__content {
        padding-right: 24px;
    }
}
