body.sec-chatbot-contact-open {
    overflow: hidden;
}

.sec-chatbot-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow-y: auto;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sec-chatbot-contact-modal[hidden] {
    display: none !important;
}

.sec-chatbot-contact-modal *,
.sec-chatbot-contact-modal *::before,
.sec-chatbot-contact-modal *::after {
    box-sizing: border-box;
}

.sec-chatbot-contact-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 27, 45, .58);
    backdrop-filter: blur(2px);
}

.sec-chatbot-contact-dialog {
    position: relative;
    width: min(440px, 100%);
    margin: auto;
    padding: 28px;
    border: 1px solid rgba(190, 214, 230, .8);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(3, 31, 52, .3);
    color: #173b5c;
}

.sec-chatbot-contact-dialog h2 {
    margin: 0 42px 10px 0;
    color: #092e50;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.sec-chatbot-contact-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef6fb;
    color: #37617f;
    font-size: 23px;
    line-height: 30px;
    cursor: pointer;
}

.sec-chatbot-contact-close:hover {
    background: #dfeef7;
    color: #092e50;
}

.sec-chatbot-contact-intro {
    margin: 0 0 18px;
    color: #526d82;
    font-size: 14px;
    line-height: 1.55;
}

.sec-chatbot-contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sec-chatbot-contact-form label {
    color: #244d6d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.sec-chatbot-contact-form input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 10px 13px;
    border: 1px solid #bfd6e5;
    border-radius: 9px;
    background: #fff;
    color: #173b5c;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.sec-chatbot-contact-form input[type="text"]:focus {
    border-color: #2fa5d2;
    box-shadow: 0 0 0 3px rgba(47, 165, 210, .16);
}

.sec-chatbot-contact-error {
    min-height: 18px;
    margin: 0;
    color: #b42318;
    font-size: 12px;
    line-height: 1.4;
}

.sec-chatbot-contact-error:empty {
    min-height: 0;
}

.sec-chatbot-contact-notice {
    margin: 0 0 4px;
    color: #71869a;
    font-size: 11px;
    line-height: 1.45;
}

.sec-chatbot-contact-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.sec-chatbot-contact-actions button {
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.sec-chatbot-contact-cancel {
    border: 1px solid #c9dce8;
    background: #fff;
    color: #37617f;
}

.sec-chatbot-contact-cancel:hover {
    background: #f3f9fc;
}

.sec-chatbot-contact-submit {
    border: 1px solid #07558d;
    background: #07558d;
    color: #fff;
}

.sec-chatbot-contact-submit:hover {
    background: #063963;
}

.sec-chatbot-contact-actions button:focus-visible,
.sec-chatbot-contact-close:focus-visible {
    outline: 3px solid rgba(47, 165, 210, .35);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .sec-chatbot-contact-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .sec-chatbot-contact-dialog {
        padding: 24px 20px 20px;
        border-radius: 14px;
    }

    .sec-chatbot-contact-actions {
        flex-direction: column-reverse;
    }

    .sec-chatbot-contact-actions button {
        width: 100%;
    }
}
