@import url('https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&family=Roboto:wght@400;500;700&display=swap');

.stb-form {
    max-width: 760px;
    margin: 32px auto;
    padding: 32px;
    font-family: "Roboto", Arial, sans-serif;
}

.stb-form * {
    box-sizing: border-box;
}

.stb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.stb-form label,
.stb-payment-choice {
    display: block;
    margin: 0 0 18px;
}

.stb-grid label {
    margin-bottom: 0;
}

.stb-form label span,
.stb-payment-choice legend {
    display: block;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.stb-form input,
.stb-form select,
.stb-form textarea {
    border-radius: 3px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    min-height: 48px;
    outline: none;
    padding: 12px 14px;
    width: 100%;
}

.stb-form textarea {
    min-height: 130px;
    resize: vertical;
}

.stb-form input::placeholder,
.stb-form textarea::placeholder {
    font-family: "Roboto", Arial, sans-serif;
}

.stb-payment-choice {
    padding: 18px;
}

.stb-discount-notice {
    background: #f7efe1;
    border: 1px solid #d7b56d;
    border-radius: 3px;
    color: #3b2f1b;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: -4px 0 18px;
    padding: 12px 14px;
}

.stb-discount-notice[hidden] {
    display: none;
}

.stb-check {
    align-items: center;
    cursor: pointer;
    display: flex !important;
    gap: 12px;
    margin-bottom: 10px !important;
    padding: 13px 14px;
}

.stb-check:last-child {
    margin-bottom: 0 !important;
}

.stb-check input {
    flex: 0 0 auto;
    min-height: auto;
    width: 18px;
}

.stb-check span {
    align-items: center;
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    width: 100%;
}

.stb-check strong {
    white-space: nowrap;
}

.stb-submit {
    border-radius: 3px;
    cursor: pointer;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    min-height: 50px;
    padding: 13px 22px;
    width: 100%;
}

.stb-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.stb-notice,
.stb-response {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.stb-response {
    margin: 14px 0 0;
    min-height: 20px;
    padding: 0;
}

@media (max-width: 640px) {
    .stb-form {
        margin: 20px 0;
        padding: 22px;
    }

    .stb-grid {
        display: block;
    }

    .stb-grid label {
        margin-bottom: 18px;
    }
}
