/* Estilos customizados para Açaíteria Digital */

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

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Efeitos de hover customizados */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradientes personalizados */
.gradient-acai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-strawberry {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-mango {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* Scrollbar customizada */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #8B5CF6;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #7C3AED;
}

/* Botões com efeito ripple */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Checkbox personalizado */
.custom-checkbox {
    appearance: none;
    background-color: #fff;
    border: 2px solid #8B5CF6;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.custom-checkbox:checked {
    background-color: #8B5CF6;
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8B5CF6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10B981;
}

.toast.error {
    border-left: 4px solid #EF4444;
}

/* Responsividade adicional */
@media (max-width: 480px) {
    .text-responsive {
        font-size: 0.875rem;
    }
    
    .p-responsive {
        padding: 0.75rem;
    }
}

/* Blur backdrop para modais */
.backdrop-blur {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.3);
}

/* Estados de foco acessíveis */
.focus-visible {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
}
