/* 유니케어 메인 상담 버튼·하단 플로팅 */
.uc-main-top-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uc-main-top-actions-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.uc-main-top-actions-row > a {
    flex: 1 1 0;
    min-width: 0;
}

.uc-main-top-link-kakao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #fee500;
    color: #191919;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.uc-main-top-link-kakao img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.uc-main-top-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-weight: 600;
}

.uc-main-top-phone-link:hover,
.uc-main-top-phone-link:focus-visible {
    border-color: #fff;
    background: rgb(255 255 255 / 12%);
    color: #fff;
}

.uc-main-top-phone-link strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

.unicare-floating {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 92px;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(15 23 42 / 18%);
}

.unicare-floating-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 76px;
    padding: 9px 5px;
    border-bottom: 1px solid #ededed;
    color: #202b31;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.unicare-floating-link:last-child {
    border-bottom: 0;
}

.unicare-floating-phone {
    border-color: #1bbfb0;
    background: #1bbfb0;
    color: #fff;
    font-weight: 600;
}

.unicare-floating-phone:hover,
.unicare-floating-phone:focus-visible {
    border-color: #1bbfb0;
    background: #1bbfb0;
    color: #fff;
}

.unicare-floating-phone .unicare-floating-icon {
    filter: brightness(0) invert(1);
}

.unicare-floating-link:not(.unicare-floating-phone):hover,
.unicare-floating-link:not(.unicare-floating-phone):focus-visible {
    background: #f4faf1;
    color: #36652f;
}

.unicare-floating-icon {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.unicare-floating-kakao .unicare-floating-icon {
    width: 29px;
    height: 29px;
}

.unicare-floating-online-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #529241;
    color: #fff;
    font-size: 0;
    font-weight: 500;
    line-height: 1;
}

.unicare-floating-online-icon svg {
    display: block;
    width: 17px;
    height: 17px;
}
.unicare-floating-number {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    white-space: nowrap;
}

.unicare-floating-top {
    padding: 12px 5px;
}

.unicare-floating-top .unicare-floating-icon {
    width: 38px;
    height: 38px;
}

@media (max-width: 767px) {
    .unicare-footer-main,
    #ft {
        padding-bottom: 64px;
    }

    .uc-main-top-actions-row {
        flex-direction: column;
        gap: 10px;
    }

    .uc-main-top-link-kakao,
    .uc-main-top-phone-link {
        min-height: 54px;
    }

    .uc-main-top-phone-link {
        flex-wrap: wrap;
    }

    .unicare-floating {
        right: 0;
        bottom: 0;
        width: 100%;
        overflow: visible;
        flex-direction: row;
        border-width: 1px 0 0;
        border-radius: 0;
        box-shadow: 0 -4px 18px rgb(15 23 42 / 14%);
    }

    .unicare-floating-link {
        flex: 1 1 33.3333%;
        min-width: 0;
        min-height: 62px;
        padding: 7px 3px 6px;
        border-right: 1px solid #ededed;
        border-bottom: 0;
        font-size: 11px;
    }

    .unicare-floating-kakao {
        order: 1;
    }

    .unicare-floating-phone {
        order: 2;
        border-color: #1bbfb0;
        background: #1bbfb0;
        color: #fff;
    }

    .unicare-floating-phone:hover,
    .unicare-floating-phone:focus-visible {
        border-color: #1bbfb0;
        background: #1bbfb0;
        color: #fff;
    }

    .unicare-floating-phone .unicare-floating-icon {
        filter: brightness(0) invert(1);
    }

    .unicare-floating-online {
        order: 3;
    }

    .unicare-floating-phone .unicare-floating-icon,
    .unicare-floating-kakao .unicare-floating-icon {
        width: 22px;
        height: 22px;
    }

    .unicare-floating-online-icon {
        width: 23px;
        height: 23px;
        font-size: 13px;
    }

    .unicare-floating-number {
        font-size: 9px;
    }

    .unicare-floating-top {
        position: absolute;
        right: 12px;
        bottom: calc(100% + 12px);
        min-width: 0;
        width: 48px;
        min-height: 48px;
        padding: 5px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        box-shadow: none;
    }

    .unicare-floating-top .unicare-floating-icon {
        width: 48px;
        height: 48px;
    }
}

@media (min-width: 768px) {
    .unicare-floating-top {
        min-height: 64px;
    }
}

body.unicare-modal-open {
    overflow: hidden;
}

.unicare-download-modal[hidden] {
    display: none;
}

.unicare-download-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgb(15 23 42 / 52%);
}

.unicare-download-modal-dialog {
    width: min(100%, 420px);
    padding: 28px 24px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgb(15 23 42 / 25%);
    text-align: center;
}

.unicare-download-modal-title {
    margin: 0 0 10px;
    color: #17212b;
    font-size: 18px;
    font-weight: 700;
}

.unicare-download-modal-text {
    margin: 0;
    color: #5d6872;
    font-size: 14px;
    line-height: 1.6;
}

.unicare-download-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.unicare-download-modal-actions a,
.unicare-download-modal-actions button {
    flex: 1 1 0;
    min-height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.unicare-download-modal-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1bbfb0;
    color: #fff;
    text-decoration: none;
}

.unicare-download-modal-login:hover,
.unicare-download-modal-login:focus-visible {
    background: #1bbfb0;
    color: #fff;
}

.unicare-download-modal-close {
    border: 1px solid #d7dde1;
    background: #fff;
    color: #4b5560;
}

.unicare-download-modal-close:hover,
.unicare-download-modal-close:focus-visible {
    background: #f5f7f8;
}
