/* Estúdio de Som Terapêutico - Estilos Customizados */

body {
    font-family: 'Inter', sans-serif;
    background-color: #111827; /* bg-gray-900 */
}

.glassmorphism {
    background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botões */
.btn-primary { 
    background-color: #3b82f6; 
    transition: all 0.3s ease; 
}

.btn-primary:hover:not(:disabled) { 
    background-color: #2563eb; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); 
}

.btn-secondary { 
    background-color: #4b5563; 
    transition: all 0.3s ease; 
}

.btn-secondary:hover:not(:disabled) { 
    background-color: #374151; 
}

.btn-disabled { 
    background-color: #374151; 
    cursor: not-allowed; 
    opacity: 0.5; 
}

/* Switch Toggle */
.switch { 
    position: relative; 
    display: inline-block; 
    width: 50px; 
    height: 28px; 
}

.switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #4b5563; 
    transition: .4s; 
    border-radius: 28px; 
}

.slider:before { 
    position: absolute; 
    content: ""; 
    height: 20px; 
    width: 20px; 
    left: 4px; 
    bottom: 4px; 
    background-color: white; 
    transition: .4s; 
    border-radius: 50%; 
}

input:checked + .slider { 
    background-color: #3b82f6; 
}

input:checked + .slider:before { 
    transform: translateX(22px); 
}

/* Responsividade adicional */
@media (max-width: 640px) {
    .glassmorphism {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Animações suaves */
* {
    transition: all 0.2s ease-in-out;
}

/* Melhorias de acessibilidade */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Progress bar animation */
.progress-bar-transition {
    transition: width 0.3s ease-in-out;
}

/* Hover effects para módulos */
.bg-gray-900\/50:hover {
    background-color: rgba(17, 24, 39, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
