/* ─────────────────────────────────────────────────────────────────
   WP Email Template Builder – Uninstall Confirmation Modal Styles
   ───────────────────────────────────────────────────────────────── */

/* Overlay */
#wetc-uninstall-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: wetcFadeIn 0.15s ease;
}

@keyframes wetcFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal card */
#wetc-uninstall-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
    padding: 40px 36px 32px;
    max-width: 520px;
    width: calc(100% - 40px);
    text-align: center;
    animation: wetcSlideUp 0.18s ease;
}

@keyframes wetcSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -46%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Icon */
#wetc-uninstall-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}

/* Heading */
#wetc-uninstall-modal h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 14px;
    line-height: 1.3;
}

/* Body text */
#wetc-uninstall-modal p {
    font-size: 14px;
    color: #50575e;
    line-height: 1.65;
    margin: 0 0 12px;
}

/* Warning strip */
.wetc-warning {
    background: #fff8e5;
    border: 1px solid #f0c040;
    border-radius: 6px;
    padding: 10px 14px !important;
    color: #7a5700 !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
}

/* Action row */
#wetc-uninstall-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Base button */
.wetc-btn {
    display: block;
    width: 100%;
    padding: 11px 20px;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
    line-height: 1.4;
}

.wetc-btn:hover {
    filter: brightness(1.07);
}

.wetc-btn:active {
    transform: scale(0.98);
}

/* Danger – delete all */
.wetc-btn-danger {
    background: #d63638;
    color: #ffffff;
}

/* Secondary – keep data */
.wetc-btn-secondary {
    background: #2271b1;
    color: #ffffff;
}

/* Ghost – cancel */
.wetc-btn-ghost {
    background: transparent;
    color: #787c82;
    border: 1px solid #c3c4c7;
}

.wetc-btn-ghost:hover {
    background: #f6f7f7;
    filter: none;
}

/* Spinner */
#wetc-uninstall-spinner {
    color: #50575e;
    font-size: 14px;
    padding: 10px 0;
}

.wetc-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid #c3c4c7;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: wetcSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes wetcSpin {
    to {
        transform: rotate(360deg);
    }
}