/* ============================================================
   Luma Pro — App CSS
   Estilos base complementares ao Tailwind CSS
   ============================================================ */

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #161B22;
}
::-webkit-scrollbar-thumb {
    background: #30363D;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4F7DF3;
}

/* Transições suaves globais */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Inputs — remove autofill color do Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #161B22 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    border-radius: 12px;
}

/* Animação de spin para loading */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

/* Flash message fade */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.flash-message {
    animation: fadeIn 0.3s ease;
}

/* Focus ring customizado */
:focus-visible {
    outline: 2px solid #4F7DF3;
    outline-offset: 2px;
}

/* Sidebar transition */
#sidebar {
    transition: transform 0.3s ease;
}
