.cbr-contact-modal {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    padding: 24px 20px 20px;
    border-radius: 14px;
    background: #fff;
    color: #1e262e;
    font-family: Arial, sans-serif;
}

.cbr-contact-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    color: #7d8893;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.cbr-contact-modal__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.cbr-contact-modal__subtitle {
    margin: 0 0 16px;
    color: #4b5662;
    font-size: 15px;
}

.cbr-contact-modal__button {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.cbr-contact-modal__button-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
}

.cbr-contact-modal__button-icon_primary {
    color: #fff;
}

.cbr-contact-modal__button-icon_secondary {
    color: #16A34A;
    width: 20px;
    height: 20px;
    vertical-align: -4px;
}

.cbr-contact-modal__button_primary {
    background: #008ef6;
    color: #fff;
}

.cbr-contact-modal__button_primary:hover {
    background: #0078d0;
    color: #fff;
}

.cbr-contact-modal__button_secondary {
    margin-top: 14px;
    background: #f3f7fb;
    border-color: #d6e3f0;
    color: #1e262e;
}

.cbr-contact-modal__button_secondary:hover {
    background: #e6f1fb;
}

.cbr-contact-modal__button_secondary[disabled] {
    opacity: .7;
    cursor: not-allowed;
}

.cbr-contact-modal__hint {
    margin: 6px 0 0;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.35;
}

.cbr-contact-modal__phone-block {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #e2e8ef;
    border-radius: 8px;
    background: #f8fafc;
    display: grid;
    row-gap: 6px;
}

.cbr-contact-modal__phone-label {
    font-size: 12px;
    color: #5f6b76;
}

.cbr-contact-modal__phone-value {
    font-size: 18px;
}

.cbr-contact-modal__copy-button {
    justify-self: start;
    padding: 6px 10px;
    border: none;
    border-radius: 7px;
    background: #dfeaf5;
    color: #1e262e;
    font-size: 12px;
    cursor: pointer;
}

.cbr-contact-modal__status {
    min-height: 20px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.4;
}

.cbr-contact-modal__status_success {
    color: #0a7d38;
}

.cbr-contact-modal__status_error {
    color: #b22b2b;
}

@media (max-width: 767px) {
    .cbr-contact-modal {
        padding: 22px 16px 16px;
    }

    .cbr-contact-modal__title {
        font-size: 21px;
    }

    .cbr-contact-modal__button {
        font-size: 15px;
    }

    .cbr-contact-modal__phone-block {
        display: none;
    }
}
