/* Estilos Clean & Shadcn UI - DesafioFit */

@layer utilities {
    .font-mono {
        font-feature-settings: "tnum";
        font-variant-numeric: tabular-nums;
    }
}

/* Suavização de renderização tipográfica Apple / Inter */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Redução do border-radius dos cards pela metade (mais sóbrio, elegante e moderno) */
.rounded-3xl {
    border-radius: 0.75rem !important; /* 12px em vez de 24px */
}
.rounded-2xl {
    border-radius: 0.5rem !important;  /* 8px em vez de 16px */
}

/* Scrollbar fina, minimalista e discreta */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #E4E4E7;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4D4D8;
}

/* Leaflet Clean Controls */
.leaflet-bar {
    border: 1px solid #E4E4E7 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}
.leaflet-bar a {
    background-color: #FFFFFF !important;
    color: #18181B !important;
    border-bottom: 1px solid #F4F4F5 !important;
}
.leaflet-bar a:hover {
    background-color: #FAFAFA !important;
}
