/* ============================================================
   assets/css/style.css — Estilos globais do sistema
   ============================================================ */

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: #111827; }
::-webkit-scrollbar-thumb  { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* Hero background animado */
.hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22,163,74,0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%,  rgba(16,185,129,0.12), transparent),
        #030712;
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    from { opacity: 0.8; }
    to   { opacity: 1;   }
}

/* Nav links do sidebar */
.nav-link {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}

/* Form helpers */
.label-form {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.4rem;
}

.input-form {
    width: 100%;
    background: #1f2937;
    border: 1px solid #374151;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.input-form:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
select.input-form { cursor: pointer; }
textarea.input-form { resize: vertical; }

/* Seções do painel */
.section { animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Glassmorphism card (opcional) */
.glass-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Transição suave das páginas */
body { opacity: 1; transition: opacity 0.2s; }

/* Responsive sidebar */
@media (max-width: 1023px) {
    aside#sidebar { transition: transform 0.3s cubic-bezier(.4,0,.2,1); }
}

/* Estrelas de habilidade — tamanho consistente */
.star-sm { font-size: 0.7rem; line-height: 1; }
