.platform-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
}

.platform-contact-modal.is-visible {
    display: block;
}

.platform-contact-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.platform-contact-modal__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    padding: 24px 24px 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(68, 89, 125, 0.24);
    box-sizing: border-box;
    text-align: center;
}

.platform-contact-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #86909c;
    font-size: 22px;
    line-height: 28px;
    cursor: pointer;
}

.platform-contact-modal__title {
    color: #1e2223;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.platform-contact-modal__desc {
    margin-top: 8px;
    color: #86909c;
    font-size: 14px;
    line-height: 22px;
}

.platform-contact-modal__box {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 20px auto 0;
}

.platform-contact-modal__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    color: #86909c;
    font-size: 14px;
}

.platform-contact-modal__loading.is-hidden {
    display: none;
}

.platform-contact-modal__spinner {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border: 2px solid #e7e8ea;
    border-top-color: #125aaf;
    border-radius: 50%;
    animation: platform-contact-spin 0.8s linear infinite;
}

.platform-contact-modal__img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.platform-contact-modal__img.is-hidden {
    display: none;
}

.platform-contact-modal__tel {
    margin-top: 16px;
    color: #125aaf;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.platform-contact-modal__tel.is-hidden {
    display: none;
}

.platform-contact-trigger {
    cursor: pointer;
}

@keyframes platform-contact-spin {
    to {
        transform: rotate(360deg);
    }
}
