/* Design System - Color Variables (HSL) */
:root {
    --background: 0 0% 98%;
    --foreground: 155 30% 15%;
    --card: 0 0% 100%;
    --card-foreground: 155 30% 15%;
    --primary: 155 45% 20%;
    --primary-foreground: 0 0% 100%;
    --secondary: 142 65% 75%;
    --secondary-foreground: 155 45% 15%;
    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 45%;
    --accent: 150 55% 45%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 92%;
    --input: 0 0% 92%;
    --ring: 150 55% 45%;
    --chart-1: 155 45% 20%;
    --chart-2: 142 65% 75%;
    --radius: 1rem;
    --sidebar-background: 0 0% 100%;
    --sidebar-foreground: 155 30% 30%;
    --sidebar-primary: 155 45% 20%;
    --sidebar-accent: 142 65% 95%;
    --sidebar-border: 0 0% 94%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
}

#sidebarUserBtn {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: hsl(var(--sidebar-background));
    border-right: 1px solid hsl(var(--sidebar-border));
    box-shadow: 2px 0 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid hsl(var(--sidebar-border));
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 8px;
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: hsl(var(--primary));
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: hsl(var(--sidebar-primary));
    margin: 0;
}

.user-card-container {
    position: relative;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: hsl(var(--sidebar-accent));
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.user-card:hover {
    background: hsl(var(--sidebar-accent));
    opacity: 0.9;
    transform: translateY(-1px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: hsl(var(--sidebar-primary));
    box-shadow: 0 0 0 2px hsla(var(--secondary), 0.3);
    flex-shrink: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 2px 0;
}

.user-role {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.user-chevron {
    width: 16px;
    height: 16px;
    color: hsl(var(--muted-foreground));
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.user-card-container.active .user-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: hsl(var(--card));
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
    border: 1px solid hsl(var(--border));
}

.user-card-container.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-dropdown-menu .dropdown-item:hover {
    background: hsl(var(--sidebar-accent));
    color: hsl(var(--sidebar-primary));
}

.user-dropdown-menu .dropdown-icon {
    width: 18px;
    height: 18px;
    color: hsl(var(--muted-foreground));
}

/* Barra de Progresso do Vendedor */
.progress-bar-container {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid hsl(var(--sidebar-border));
}

.progress-placas {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: hsl(var(--sidebar-accent));
    border-radius: 12px;
}

.placa-atual,
.placa-proxima {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placa-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.placa-placeholder {
    width: 100%;
    height: 100%;
    background: hsl(var(--sidebar-border));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
    font-size: 14px;
}

.placa-placeholder.placa-max {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.placa-nivel {
    font-size: 18px;
    font-weight: 700;
}

.placa-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.progress-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.progress-bar-label {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: hsl(var(--sidebar-border));
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-comissao {
    font-size: 10px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.sidebar-menu {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.menu-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
    padding: 0 24px 12px;
    margin-bottom: 0;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: hsl(var(--sidebar-foreground));
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: hsl(var(--sidebar-accent));
    color: hsl(var(--sidebar-primary));
}

.menu-item.active {
    background: linear-gradient(90deg, hsla(var(--secondary), 0.2), hsla(var(--accent), 0.1));
    color: hsl(var(--sidebar-primary));
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.menu-icon {
    width: 20px;
    height: 20px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-header {
    height: 64px;
    border-bottom: 1px solid hsl(var(--border));
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-title {
    font-size: 20px;
    font-weight: bold;
    color: hsl(var(--primary));
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
}

.notification-btn:hover {
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--secondary)));
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon {
    width: 20px;
    height: 20px;
    color: hsl(var(--muted-foreground));
}

.btn-new-action {
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-new-action:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dashboard-content {
    flex: 1;
    background: linear-gradient(135deg, hsl(var(--background)), hsla(var(--muted), 0.3));
    padding: 32px;
    overflow-y: auto;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: hsl(var(--foreground));
    margin: 0;
}

.period-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.period-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
}

.period-select {
    width: 160px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: 14px;
    cursor: pointer;
}

.period-select:focus {
    outline: none;
    border-color: hsl(var(--ring));
}

.btn-apply {
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s;
}

.btn-apply:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Stats Cards */
.stats-cards {
    margin-bottom: 24px;
}

.stat-card {
    padding: 24px;
    border: none;
    background: hsl(var(--card));
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 30px;
    font-weight: bold;
    color: hsl(var(--primary));
    margin: 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.gradient-1 {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
}

.gradient-2 {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--primary)));
}

.gradient-3 {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

.gradient-4 {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)), hsl(var(--primary)));
}

/* Charts Section */
.charts-section {
    margin-bottom: 24px;
}

.chart-card,
.top-sellers-card {
    padding: 32px;
    border: none;
    background: hsl(var(--card));
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 16px;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.chart-title {
    font-size: 20px;
    font-weight: bold;
    color: hsl(var(--primary));
    margin: 0;
}

.chart-legend {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--muted-foreground));
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color-1 {
    background: hsl(var(--chart-1));
}

.legend-color-2 {
    background: hsl(var(--chart-2));
}

.legend-color-liquido {
    background: rgba(28, 77, 58, 0.9);
}

.legend-color-ads {
    background: rgba(166, 230, 183, 0.9);
}

.legend-color-taxa {
    background: rgba(185, 28, 28, 0.9);
}

.chart-container {
    position: relative;
    height: 320px;
}

/* Top Sellers */
.top-sellers-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.trophy-icon {
    width: 20px;
    height: 20px;
    color: hsl(var(--accent));
}

.top-sellers-title {
    font-size: 20px;
    font-weight: bold;
    color: hsl(var(--primary));
    margin: 0;
}

.top-sellers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seller-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.2s;
}

.seller-item:hover {
    background: hsla(var(--muted), 0.5);
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seller-rank {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.seller-rank.first {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--secondary)));
    color: white;
}

.seller-rank.other {
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.seller-name {
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.seller-sales {
    font-size: 14px;
    font-weight: bold;
    color: hsl(var(--primary));
}

/* Footer */
.dashboard-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

/* ===================================================
   LOGIN PAGE STYLES
   =================================================== */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsl(var(--background)), hsla(var(--muted), 0.3));
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: hsl(var(--card));
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
    position: relative;
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.login-logo .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
}

.login-title {
    font-size: 28px;
    font-weight: bold;
    color: hsl(var(--primary));
    margin: 0;
}

.login-subtitle {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.label-icon {
    width: 16px;
    height: 16px;
    color: hsl(var(--muted-foreground));
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: 14px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 3px hsla(var(--ring), 0.1);
}

.form-control::placeholder {
    color: hsl(var(--muted-foreground));
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.toggle-password:hover {
    color: hsl(var(--accent));
}

.toggle-icon {
    width: 18px;
    height: 18px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: hsl(var(--accent));
}

.remember-me label {
    color: hsl(var(--muted-foreground));
    cursor: pointer;
}

.forgot-password {
    color: hsl(var(--accent));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 8px;
}

.login-button:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.login-button:active {
    transform: translateY(0);
}

.button-icon {
    width: 20px;
    height: 20px;
}

.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.login-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, hsla(var(--secondary), 0.3), hsla(var(--accent), 0.2));
    filter: blur(40px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: -50px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        width: 240px;
    }
    
    .charts-section .col-lg-8,
    .charts-section .col-lg-4 {
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }
    
    .logo-text,
    .user-info,
    .menu-label,
    .menu-item span {
        display: none;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .menu-item {
        justify-content: center;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-content {
        padding: 16px;
    }
    
    .login-card {
        padding: 32px 24px;
    }
    
    .login-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ===================================================
   ADMIN TABLE STYLES
   =================================================== */

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.avatar-md {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.avatar-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.avatar-gradient {
    background: linear-gradient(135deg, hsl(155, 45%, 20%), hsl(142, 65%, 75%)) !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-gradient .avatar-text {
    color: white !important;
    font-weight: bold;
}

.table {
    background: hsl(var(--card));
}

.table thead th {
    border-bottom: 2px solid hsl(var(--border));
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: hsl(var(--muted-foreground));
    padding: 16px 12px;
}

.table tbody td {
    padding: 16px 12px;
    vertical-align: middle;
    border-bottom: 1px solid hsl(var(--border));
}

.table-hover tbody tr:hover {
    background-color: hsl(var(--muted));
}

.table .btn {
    transition: all 0.2s;
}

.table .btn:hover {
    transform: translateY(-2px);
}

.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--border));
}

.form-control,
.form-select {
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 3px hsla(var(--ring), 0.1);
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: hsl(var(--accent));
}

/* Rank specific styles */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.rank-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.rank-silver {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: white;
}

.rank-bronze {
    background: linear-gradient(135deg, #cd7c2f, #b86e00);
    color: white;
}

.rank-number {
    font-size: 14px;
    font-weight: 700;
}

.rank-number-basic {
    font-size: 18px;
    font-weight: 700;
    color: hsl(var(--muted-foreground));
}
