/* Prismatic Newsletter Popup Styles */

.pnp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pnpFadeIn 0.3s ease;
}

@keyframes pnpFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pnp-popup-container {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: pnpSlideUp 0.4s ease;
}

@keyframes pnpSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pnp-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
}

.pnp-popup-close:hover {
    color: #333;
}

.pnp-popup-title {
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.pnp-popup-description {
    margin: 0 0 25px;
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.pnp-subscribe-form {
    margin-bottom: 20px;
}

.pnp-form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.pnp-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}

.pnp-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pnp-input-name {
    flex: 1;
}

.pnp-submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pnp-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.pnp-submit-button:active {
    transform: translateY(0);
}

.pnp-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pnp-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.pnp-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pnp-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pnp-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: pnpSpin 0.8s linear infinite;
}

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

/* Mobile responsive */
@media (max-width: 600px) {
    .pnp-popup-container {
        padding: 30px 20px;
    }

    .pnp-popup-title {
        font-size: 24px;
    }

    .pnp-form-row {
        flex-direction: column;
        gap: 15px;
    }
}
