/* --- VARIABLES Y RESET --- */
:root {
    --wp-primary: #2563eb;
    --wp-primary-hover: #1d4ed8;
    --wp-success: #22c55e;
    --wp-bg: #ffffff;
    --wp-text: #1f2937;
    --wp-text-muted: #6b7280;
    --wp-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- CAPA MODAL (GUÍAS) --- */
#webpush-status {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.status-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--wp-shadow);
    border: 1px solid #f3f4f6;
}

.guide-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

.step-number {
    background: var(--wp-primary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* --- BOTÓN INLINE (WELCOME) --- */
#btn-subscribe {
    background: var(--wp-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

#btn-subscribe:hover {
    transform: translateY(-2px);
    background: var(--wp-primary-hover);
}

/* --- EL POPUP (BOTTOM RIGHT) --- */
#webpush-popup-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999 !important;
    /* Por encima de todo */
    display: none;
    width: 500px;
    max-width: calc(100vw - 60px);
    animation: wpSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wpSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wp-popup-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wp-btn-accept {
    background: #10b981 !important;
    color: white !important;
    border: none !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 0.75rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.wp-btn-accept:hover {
    background: #059669 !important;
    transform: scale(1.02);
}

.wp-btn-reject {
    background: transparent !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.6rem 1rem !important;
    border-radius: 0.75rem !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
}