/* Popups CSS - SEO Wars */
/* Estilos para popups y modales */

/* Modal base */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal {
    background: var(--sw-bg-card);
    border: 2px solid var(--sw-accent);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Popup de tutorial */
.tutorial-popup {
    background: var(--sw-bg-card);
    border: 2px solid var(--sw-accent);
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tutorial-popup h3 {
    color: var(--sw-text-primary);
    margin-bottom: 1rem;
}

.tutorial-popup p {
    color: var(--sw-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Botones de popup */
.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn-popup {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-popup-primary {
    background: var(--sw-primary);
    color: white;
}

.btn-popup-primary:hover {
    background: var(--sw-primary-dark);
}

.btn-popup-secondary {
    background: #6b7280;
    color: white;
}

.btn-popup-secondary:hover {
    background: #4b5563;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--sw-bg-card);
    border: 1px solid var(--sw-accent);
    border-radius: 8px;
    padding: 1rem;
    color: var(--sw-text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}



