/* assets/push-notifications.css */

/* Prompt de Inscrição */
.push-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.push-prompt.show {
    opacity: 1;
    transform: translateY(0);
}

.push-prompt-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.push-prompt-icon {
    font-size: 24px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.push-prompt-text {
    flex: 1;
    line-height: 1.4;
}

.push-prompt-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.push-prompt-text small {
    font-size: 13px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

.push-prompt-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.push-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
}

.push-btn-accept {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.push-btn-accept:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.push-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.push-btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.push-prompt-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.push-prompt-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mensagem de Sucesso */
.push-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.3s ease;
}

.push-success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.push-success-content {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.push-success-icon {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.push-success-text {
    font-size: 14px;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 480px) {
    .push-prompt {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .push-prompt-content {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .push-prompt-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .push-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .push-success-message {
        left: 10px;
        right: 10px;
        top: 10px;
    }
}

/* Animações */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .push-prompt {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .push-prompt {
        background: #333;
        border: 2px solid #fff;
    }
    
    .push-btn-accept {
        background: #fff;
        color: #000;
        border: 1px solid #000;
    }
    
    .push-btn-decline {
        background: #000;
        color: #fff;
        border: 1px solid #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .push-prompt,
    .push-success-message,
    .push-btn {
        transition: none;
    }
}