.tpult-auth-call-lock {
    overflow: hidden;
}

.tpult-auth-call-modal {
    display: none;
}

.tpult-auth-call-modal--open {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: block;
}

.tpult-auth-call-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.tpult-auth-call-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(420px, calc(100vw - 28px));
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 28px 22px 22px;
    border-radius: 24px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    text-align: center;
}

.tpult-auth-call-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    font-size: 30px;
    line-height: 34px;
    cursor: pointer;
}

.tpult-auth-call-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: #eef7ff;
    color: #0f6fff;
    font-size: 31px;
    line-height: 58px;
}

.tpult-auth-call-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
}

.tpult-auth-call-text {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.45;
}

.tpult-auth-call-number {
    display: block;
    margin: 0 auto 14px;
    padding: 14px 14px;
    border-radius: 18px;
    background: #f3f4f6;
    color: #111827;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.tpult-auth-call-timer {
    margin: 0 0 12px;
    color: #374151;
    font-size: 16px;
    font-weight: 700;
}

.tpult-auth-call-status {
    min-height: 22px;
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.35;
}

.tpult-auth-call-status--success {
    color: #047857;
    font-weight: 800;
}

.tpult-auth-call-status--error {
    color: #b91c1c;
    font-weight: 700;
    white-space: pre-wrap;
}

.tpult-auth-call-actions {
    display: grid;
    gap: 10px;
}

.tpult-auth-call-main-button,
.tpult-auth-call-secondary-button {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.tpult-auth-call-main-button {
    display: block;
    background: #0f6fff;
    color: #ffffff;
    text-decoration: none;
}

.tpult-auth-call-secondary-button {
    background: #f3f4f6;
    color: #111827;
}

@media (max-width: 480px) {
    .tpult-auth-call-dialog {
        top: auto;
        bottom: 10px;
        transform: translateX(-50%);
        width: calc(100vw - 20px);
        padding: 26px 18px 18px;
        border-radius: 24px;
    }

    .tpult-auth-call-title {
        font-size: 22px;
    }

    .tpult-auth-call-number {
        font-size: 22px;
    }

    .tpult-auth-call-main-button,
    .tpult-auth-call-secondary-button {
        min-height: 52px;
        font-size: 16px;
    }
}

.tpult-auth-call-debug {
    margin-top: 14px;
    text-align: left;
    border-radius: 14px;
    background: #111827;
    color: #e5e7eb;
    overflow: hidden;
}

.tpult-auth-call-debug summary {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.tpult-auth-call-debug pre {
    max-height: 180px;
    margin: 0;
    padding: 10px 12px 12px;
    overflow: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    line-height: 1.35;
    white-space: pre-wrap;
}

/* Public auth debug panel disabled */
.tpult-auth-call-debug {
    display: none !important;
}
