/* ===== Geral ===== */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ===== Navbar ===== */
.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

/* ===== Cards ===== */
.card {
    border-radius: 0.75rem;
}

.card-header {
    border-radius: 0.75rem 0.75rem 0 0 !important;
    padding: 0.875rem 1.25rem;
    font-weight: 600;
}

/* ===== Tabelas ===== */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom-width: 1px;
}

/* ===== Botões ===== */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

.btn-group .btn {
    border-radius: 0.375rem;
}

/* ===== Formulários ===== */
.form-control, .form-select {
    border-radius: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* ===== Dashboard stats ===== */
.card .bi.fs-1 {
    opacity: 0.8;
}

/* ===== Placar ===== */
input[type=number].text-center {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Ranking medals ===== */
.badge.medal-gold   { background: #FFD700; color: #333; }
.badge.medal-silver { background: #C0C0C0; color: #333; }
.badge.medal-bronze { background: #CD7F32; color: #fff; }

/* ===== Mobile first ===== */
@media (max-width: 576px) {
    .container-fluid { padding: 0.75rem; }
    .card-body { padding: 0.875rem; }
    h1.h3 { font-size: 1.25rem; }
    .btn-group-sm .btn { padding: 0.25rem 0.4rem; }
}

/* ===== Animações ===== */
.card {
    transition: box-shadow 0.15s ease-in-out;
}
.card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1) !important;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }
