/**
 * DISC Pro - Custom Styles
 * Estilos complementares ao Tailwind CSS
 */

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

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Tipografia base melhorada */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    padding-top: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Aumentar tamanhos de fonte em telas grandes */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
    
    body {
        font-size: 1.125rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    .text-2xl {
        font-size: 1.75rem !important;
    }
    
    .text-xl {
        font-size: 1.5rem !important;
    }
    
    .text-lg {
        font-size: 1.25rem !important;
    }
    
    .text-base {
        font-size: 1.125rem !important;
    }
    
    .text-sm {
        font-size: 1rem !important;
    }
}

/* Containers maiores em desktop */
@media (min-width: 1280px) {
    .max-w-2xl {
        max-width: 56rem !important; /* 896px */
    }
    
    .max-w-3xl {
        max-width: 64rem !important; /* 1024px */
    }
    
    .max-w-4xl {
        max-width: 72rem !important; /* 1152px */
    }
}

/* Espaçamento melhorado em desktop */
@media (min-width: 1024px) {
    .px-4 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    .py-12 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .p-8 {
        padding: 2.5rem !important;
    }
    
    .mb-6 {
        margin-bottom: 2rem !important;
    }
    
    .mb-8 {
        margin-bottom: 2.5rem !important;
    }
    
    .mb-10 {
        margin-bottom: 3rem !important;
    }
}

/* Inputs maiores em desktop */
@media (min-width: 1024px) {
    input[type="text"],
    input[type="date"],
    select,
    textarea {
        font-size: 1.125rem !important;
        padding: 1rem 1.25rem !important;
    }
    
    button {
        font-size: 1.125rem !important;
        padding: 1rem 2rem !important;
    }
}

/* Estilização de inputs radio customizada */
input[type="radio"] {
    cursor: pointer;
    accent-color: #4f46e5; /* Indigo 600 */
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 1024px) {
    input[type="radio"] {
        width: 1.75rem;
        height: 1.75rem;
    }
}

input[type="radio"]:checked {
    accent-color: #4f46e5;
}

/* Transições suaves */
.transition {
    transition: all 0.3s ease;
}

/* Melhorias visuais para cards */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Hover effects */
.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.hover\:bg-indigo-700:hover {
    background-color: #4338ca;
}

.hover\:bg-green-700:hover {
    background-color: #15803d;
}

.hover\:text-indigo-600:hover {
    color: #4f46e5;
}

.hover\:text-gray-600:hover {
    color: #4b5563;
}

/* Navbar maior em desktop */
@media (min-width: 1024px) {
    nav .h-16 {
        height: 5rem !important;
    }
    
    nav .text-2xl {
        font-size: 2rem !important;
    }
}

/* Gráfico maior em desktop */
@media (min-width: 1024px) {
    .chart-container {
        height: 550px !important;
    }
}

/* Responsividade mobile */
@media (max-width: 640px) {
    .max-w-3xl {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .space-x-8 > * + * {
        margin-left: 1rem;
    }
}
