.call-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18, 28, 34, 0.45);
    backdrop-filter: blur(2px);
    z-index: 2147483000;
    pointer-events: auto;
}

.call-modal-overlay.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.call-modal-box {
    position: relative;
    width: min(560px, calc(100% - 28px));
    margin: 8vh 14px 0;
    background: #fff;
    border: 1px solid #e8edf0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(17, 35, 48, 0.22);
    pointer-events: auto;
    cursor: default;
}

.call-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f4f8fa;
    border-bottom: 1px solid #e8edf0;
    color: #fff;
}

.call-modal-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #2f4b56;
}

.call-modal-close {
    border: 0;
    background: transparent;
    color: #2f4b56;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
}

.call-modal-close:hover {
    opacity: 1;
}

.call-modal-body {
    padding: 18px 20px 22px;
    background: #ffffff;
}

.call-modal-body .field {
    margin-bottom: 12px;
}

.call-modal-body label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #324c56;
}

.call-modal-body input,
.call-modal-body textarea {
    width: 100%;
    border: 1px solid #d9e1e6;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1f2f36 !important;
    -webkit-text-fill-color: #1f2f36 !important;
    background: #fbfcfd !important;
    pointer-events: auto;
    cursor: text;
    caret-color: #1f2f36;
    opacity: 1 !important;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
}

.call-modal-body input::placeholder,
.call-modal-body textarea::placeholder {
    color: #8aa0ad !important;
    opacity: 1 !important;
}

.call-modal-body input:focus,
.call-modal-body textarea:focus {
    border-color: #56b1c1;
    box-shadow: 0 0 0 3px rgba(86, 177, 193, 0.15);
    outline: none;
    color: #1f2f36 !important;
    -webkit-text-fill-color: #1f2f36 !important;
    background: #ffffff !important;
}

.call-modal-alert,
.contact-form-alert {
    margin-bottom: 12px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
}

.call-modal-alert.ok,
.contact-form-alert.ok {
    background: #e8f7ee;
    color: #2b7a49;
}

.call-modal-alert.err,
.contact-form-alert.err {
    background: #fdeaea;
    color: #9f2f2f;
}

.call-modal-body .button {
    background: #2f4b56 !important;
    border-radius: 8px;
    border: 0 !important;
}

.call-modal-body .button:hover {
    background: #3c606f !important;
}
