/* =================================================================
   Request a Call — footer button + popup
   ================================================================= */

/* Footer button (sits in the column under the logo) */
.sic-footer-call {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sic-request-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2DACC2;
    border: 1px solid #fff;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sic-request-call-btn:hover,
.sic-request-call-btn:focus {
    background: #2DACC2;
    color: #fff;
    border-color: #2DACC2;
    outline: none;
}

@media (max-width: 991px) {
    .sic-footer-call {
        margin-top: 16px;
    }
}

/* Popup */
.sic-call-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.sic-call-popup.is-open {
    display: flex;
}

.sic-call-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.sic-call-popup__dialog {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    width: 100%;
    max-width: 420px;
    margin: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1;
    box-sizing: border-box;
}

.sic-call-popup__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #444;
    cursor: pointer;
    padding: 4px 8px;
}

.sic-call-popup__close:hover { color: #000; }

.sic-call-popup__title {
    font-size: 24px;
    margin: 0 0 8px;
    color: #111;
    font-weight: 700;
}

.sic-call-popup__subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.4;
}

.sic-call-popup__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
    background: #fff;
    color: #222;
}

.sic-call-popup__input:focus {
    border-color: #2DACC2;
}

.sic-call-popup__submit {
    width: 100%;
    background: #00afc5;
    color: #fff;
    border: none;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.sic-call-popup__submit:hover,
.sic-call-popup__submit:focus {
    background: #008fa3;
    outline: none;
}

.sic-call-popup__submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.sic-call-popup__message {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.4;
    min-height: 18px;
}

.sic-call-popup__message.is-error { color: #c0392b; }
.sic-call-popup__message.is-success { color: #16a34a; }

/* ==========================================================================
   International tel field with country selector
   ========================================================================== */
.sic-tel-field {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.sic-tel-field:focus-within {
    border-color: #2DACC2;
}

.sic-tel-field .sic-call-popup__input,
.sic-tel-field .sic-tel-field__phone {
    flex: 1 1 auto;
    border: 0;
    border-radius: 0 6px 6px 0;
    margin: 0;
    padding: 12px 14px;
    background: transparent;
    font-size: 15px;
    color: #222;
    outline: none;
    min-width: 0;
}

.sic-tel-field__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 0;
    border-right: 1px solid #e3e3e3;
    border-radius: 6px 0 0 6px;
    background: #f7f9fb;
    color: #222;
    font-size: 14px;
    cursor: pointer;
    flex: 0 0 auto;
    line-height: 1;
    height: auto;
    transition: background 0.15s ease;
}

.sic-tel-field__trigger:hover,
.sic-tel-field__trigger:focus {
    background: #eef3f6;
    outline: none;
}

.sic-tel-field__flag {
    font-size: 20px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}

.sic-tel-field__dial {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #222;
}

.sic-tel-field__caret {
    color: #888;
    margin-left: 2px;
    flex-shrink: 0;
}

.sic-tel-field__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: min(360px, 100%);
    max-height: 320px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sic-tel-field__dropdown[hidden] {
    display: none;
}

.sic-tel-field__search-wrap {
    padding: 10px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.sic-tel-field__search {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #222;
}

.sic-tel-field__search:focus {
    border-color: #2DACC2;
}

.sic-tel-field__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    max-height: 240px;
    flex: 1 1 auto;
}

.sic-tel-field__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #222;
    line-height: 1.2;
}

.sic-tel-field__item.is-active,
.sic-tel-field__item:hover {
    background: #eef7f9;
}

.sic-tel-field__item.is-selected {
    background: #d8f0f4;
    font-weight: 600;
}

.sic-tel-field__item-flag {
    font-size: 18px;
    line-height: 1;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}

.sic-tel-field__item-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sic-tel-field__item-dial {
    color: #777;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    font-weight: normal;
}

.sic-tel-field__empty {
    padding: 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 480px) {
    .sic-tel-field__dropdown {
        width: 100%;
    }
}

body.sic-call-popup-open {
    overflow: hidden;
}
