/* ===== BidSmart Theme - Based on Business Hub Reference ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
/* ===== CSS Variables - BidSmart (SaaS Modern / Blue Vivid Dark) ===== */
:root {
  /* ---------- Base (mais SaaS, menos creme) ---------- */
  --bidsmart-background: hsl(220, 20%, 97%);         /* fundo principal (quase branco/azulado) */
  --bidsmart-foreground: hsl(222, 47%, 11%);         /* texto principal (slate-900) */

  --bidsmart-card: hsl(0, 0%, 100%);                 /* cards brancos */
  --bidsmart-card-foreground: hsl(222, 47%, 11%);

  /* ---------- Brand Blue (azul vivo um pouco mais escuro) ---------- */
  --bidsmart-primary: hsl(215, 70%, 32%);            /* azul vivo escuro (principal) */
  --bidsmart-primary-hover: hsl(215, 70%, 38%);      /* hover do primary */
  --bidsmart-primary-foreground: hsl(0, 0%, 100%);   /* texto em botões primários */

  /* Se você usa rgb em sombras/gradientes */
  --bidsmart-primary-rgb: 25, 92, 188;               /* aprox de hsl(215,70%,32%) */

  /* ---------- Surface / Neutrals ---------- */
  --bidsmart-secondary: hsl(220, 16%, 93%);          /* cinza claro elegante */
  --bidsmart-secondary-foreground: hsl(222, 47%, 11%);

  --bidsmart-muted: hsl(220, 14%, 94%);              /* áreas “quietas” */
  --bidsmart-muted-foreground: hsl(215, 16%, 47%);   /* slate-500 */

  --bidsmart-border: hsl(220, 13%, 90%);             /* borda sutil */
  --bidsmart-input: hsl(220, 13%, 90%);
  --bidsmart-ring: hsl(215, 70%, 45%);               /* foco/outline */

  /* ---------- Accent (mantém coeso com o azul) ---------- */
  --bidsmart-accent: hsl(215, 70%, 32%);             /* usar para links/ícones */
  --bidsmart-accent-foreground: hsl(0, 0%, 100%);

  /* ---------- Status ---------- */
  --bidsmart-success: hsl(142, 71%, 35%);
  --bidsmart-success-soft: hsl(142, 71%, 94%);

  --bidsmart-warning: hsl(38, 92%, 50%);
  --bidsmart-warning-soft: hsl(38, 92%, 94%);

  --bidsmart-destructive: hsl(0, 72%, 51%);
  --bidsmart-destructive-soft: hsl(0, 72%, 95%);
  --bidsmart-destructive-foreground: hsl(0, 0%, 100%);

  /* ---------- Tokens extras (úteis pra UI moderna) ---------- */
  --bidsmart-black: hsl(222, 47%, 11%);
  --bidsmart-cream: hsl(40, 23%, 95%);               /* mantém o creme, mas como detalhe */
  --bidsmart-cream-dark: hsl(40, 18%, 88%);

  --bidsmart-blue: hsl(215, 70%, 32%);               /* alias do primary */
  --bidsmart-blue-light: hsl(215, 70%, 40%);         /* hover/realce */
  --bidsmart-blue-dark: hsl(220, 80%, 18%);          /* para gradientes/hero escuro */

  --bidsmart-gold: hsl(45, 80%, 55%);                /* usar com MUITA moderação (destaques) */
  --bidsmart-gold-soft: hsl(45, 90%, 95%);

  /* ---------- Sidebar (azul profundo, estilo SaaS) ---------- */
  --bidsmart-sidebar-background: hsl(215, 75%, 26%); /* azul profundo (não preto chapado) */
  --bidsmart-sidebar-foreground: hsl(210, 40%, 98%); /* quase branco */
  --bidsmart-sidebar-border: hsl(215, 60%, 22%);

  --bidsmart-sidebar-primary: hsl(215, 70%, 36%);    /* item ativo */
  --bidsmart-sidebar-primary-foreground: hsl(0, 0%, 100%);

  --bidsmart-sidebar-accent: hsl(215, 70%, 30%);     /* hover/seleção suave */
  --bidsmart-sidebar-accent-foreground: hsl(0, 0%, 100%);

  /* ---------- Gradiente do “hero/painel principal” (igual referência) ---------- */
  --bidsmart-hero-from: hsl(220, 80%, 18%);
  --bidsmart-hero-via:  hsl(215, 70%, 28%);
  --bidsmart-hero-to:   hsl(215, 65%, 34%);

  /* ---------- Raio / arredondamento (mais atual) ---------- */
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
}

/* ===== Font Families ===== */
.font-display {
    font-family: system-ui !important;
}

.font-sans {
    font-family: 'Inter', sans-serif !important;
}

/* ===== BidSmart Gradient ===== */
.bidsmart-gradient {
    background: linear-gradient(135deg, var(--bidsmart-blue-dark) 0%, var(--bidsmart-blue) 50%, var(--bidsmart-blue-light) 100%);
}

/* ===== BidSmart Card Styles ===== */


/* ===== BidSmart Input Styles ===== */
.bidsmart-input {
    background: var(--bidsmart-background);
    border: 1px solid var(--bidsmart-input);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.bidsmart-input:focus {
    outline: none;
    border-color: var(--bidsmart-primary);
    box-shadow: 0 0 0 3px rgba(var(--bidsmart-primary-rgb), 0.15);
}

/* ===== BidSmart Badge Styles ===== */
.bidsmart-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.bidsmart-badge-success {
    background: rgba(34, 139, 34, 0.15);
    color: var(--bidsmart-success);
}

.bidsmart-badge-warning {
    background: rgba(251, 191, 36, 0.15);
    color: var(--bidsmart-warning);
}

.bidsmart-badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--bidsmart-destructive);
}

.bidsmart-badge-info {
    background: rgba(30, 58, 95, 0.15);
    color: var(--bidsmart-primary);
}

/* ===== BidSmart Table Row ===== */
.bidsmart-table-row {
    transition: background-color 0.15s ease;
}

.bidsmart-table-row:hover {
    background: rgba(var(--bidsmart-primary-rgb), 0.05);
}

/* ===== BidSmart Animations ===== */
@keyframes bidsmart-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bidsmart-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bidsmart-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bidsmart-fade-in {
    animation: bidsmart-fade-in 0.5s ease-out;
}

.bidsmart-slide-in {
    animation: bidsmart-slide-in 0.3s ease-out;
}

.bidsmart-scale-in {
    animation: bidsmart-scale-in 0.2s ease-out;
}

/* ===== BidSmart Login Page ===== */
.bidsmart-login-container {
    min-height: 100vh;
    display: flex;
    background: var(--bidsmart-background);
}

.bidsmart-login-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.bidsmart-login-right {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .bidsmart-login-right {
        display: flex;
    }
}

.bidsmart-login-form {
    width: 100%;
    max-width: 400px;
    animation: bidsmart-fade-in 0.5s ease-out;
}

.bidsmart-login-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bidsmart-login-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.bidsmart-login-logo-text {
    font-family: system-ui;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--bidsmart-foreground);
}

.bidsmart-login-title {
    font-family: system-ui;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bidsmart-foreground);
    margin-bottom: 0.5rem;
}

.bidsmart-login-subtitle {
    color: var(--bidsmart-muted-foreground);
    margin-bottom: 2rem;
}

.bidsmart-login-branding {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 500px;
}

.bidsmart-login-branding h2 {
    font-family: system-ui;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.bidsmart-login-branding p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.75;
}

.bidsmart-login-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bidsmart-login-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.bidsmart-login-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.bidsmart-login-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Blurred background circles */
.bidsmart-login-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(60px);
}

.bidsmart-login-bg-circle-1 {
    width: 300px;
    height: 300px;
    top: 80px;
    left: 80px;
}

.bidsmart-login-bg-circle-2 {
    width: 400px;
    height: 400px;
    bottom: 80px;
    right: 80px;
}

/* ===== BidSmart Sidebar ===== */
.bidsmart-sidebar {
    width: 260px;
    background: var(--bidsmart-sidebar-background);
    color: var(--bidsmart-sidebar-foreground);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--bidsmart-sidebar-border);
    transition: all 0.3s ease;
}

.bidsmart-sidebar-header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid var(--bidsmart-sidebar-border);
}

.bidsmart-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bidsmart-sidebar-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.bidsmart-sidebar-logo-text {
    font-family: system-ui;
    font-weight: 700;
    font-size: 1.125rem;
}

.bidsmart-sidebar-nav {
    flex: 1;
    padding: 1rem 0.5rem;
}

.bidsmart-sidebar-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    text-align: left;
}

.bidsmart-sidebar-nav-item:hover {
    color: white;
    background: var(--bidsmart-sidebar-accent);
}

.bidsmart-sidebar-nav-item.active {
    color: var(--bidsmart-sidebar-primary-foreground);
    background: var(--bidsmart-sidebar-primary);
}

.bidsmart-sidebar-nav-item i {
    font-size: 1.25rem;
    width: 1.25rem;
}

.bidsmart-sidebar-user {
    border-top: 1px solid var(--bidsmart-sidebar-border);
    padding: 1rem;
}

.bidsmart-sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.bidsmart-sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bidsmart-sidebar-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.bidsmart-sidebar-user-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.bidsmart-sidebar-user-role {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ===== BidSmart Dashboard ===== */
.bidsmart-dashboard-title {
    font-family: system-ui;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--bidsmart-foreground);
    position: relative;
    display: inline-block;
    width: fit-content;
}

    .bidsmart-dashboard-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 4px;
        width: 100%;
        border-radius: 6px;
        background: linear-gradient(90deg, #1E3A5F, #2F6FED);
        box-shadow: 0 4px 10px rgba(47, 111, 237, 0.25);
        transform: scaleX(0);
        transform-origin: left;
        animation: titleLineGrow .8s ease forwards;
    }

@keyframes titleLineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.bidsmart-dashboard {
    padding: 1.5rem 2rem;
    animation: bidsmart-fade-in 0.5s ease-out;
}

.bidsmart-dashboard-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .bidsmart-dashboard-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}




.bidsmart-stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.bidsmart-stat-trend.up {
    color: var(--bidsmart-success);
}

.bidsmart-stat-trend.down {
    color: var(--bidsmart-destructive);
}

/* ===== BidSmart 404 Page ===== */
.bidsmart-404-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bidsmart-background);
    padding: 1rem;
}

.bidsmart-404-content {
    text-align: center;
    max-width: 400px;
    animation: bidsmart-fade-in 0.5s ease-out;
}

.bidsmart-404-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.bidsmart-404-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.bidsmart-404-title {
    font-family: system-ui;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--bidsmart-foreground);
    margin-bottom: 1rem;
}

.bidsmart-404-text {
    color: var(--bidsmart-muted-foreground);
    margin-bottom: 2rem;
}

.bidsmart-404-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .bidsmart-404-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ===== BidSmart Buttons ===== */
.bidsmart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    height: 52px;
    margin-bottom: 4px
}

.bidsmart-btn-primary {
    color: white;
}

.bidsmart-btn-primary:hover {
    opacity: 0.9;
}

.bidsmart-btn-outline {
    background: transparent;
    border: 1px solid var(--bidsmart-border);
    color: var(--bidsmart-foreground);
}

.bidsmart-btn-outline:hover {
    background: var(--bidsmart-muted);
}

/* ===== Charts Container ===== */
.bidsmart-charts-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .bidsmart-charts-row {
        grid-template-columns: 2fr 1fr;
    }
}

.bidsmart-charts-row-equal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .bidsmart-charts-row-equal {
        grid-template-columns: 1fr 2fr;
    }
}

/* ===== Recent Transactions ===== */
.bidsmart-transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bidsmart-border);
}

.bidsmart-transaction-item:last-child {
    border-bottom: none;
}

.bidsmart-transaction-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bidsmart-transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(var(--bidsmart-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bidsmart-primary);
}

.bidsmart-transaction-client {
    font-weight: 500;
    color: var(--bidsmart-foreground);
}

.bidsmart-transaction-date {
    font-size: 0.875rem;
    color: var(--bidsmart-muted-foreground);
}

.bidsmart-transaction-right {
    text-align: right;
}

.bidsmart-transaction-value {
    font-weight: 600;
    color: var(--bidsmart-foreground);
}

/* ===== Dark Mode Overrides ===== */
body.dark .bidsmart-card,
body.dark .bidsmart-stat-card {
    background: hsl(0, 0%, 8%);
    border-color: hsl(0, 0%, 15%);
}

body.dark .bidsmart-login-left {
    background: hsl(0, 0%, 4%);
}

body.dark .bidsmart-login-logo-text,
body.dark .bidsmart-login-title,
body.dark .bidsmart-dashboard-title,
body.dark .bidsmart-404-title,
body.dark .bidsmart-stat-value,
body.dark .bidsmart-transaction-client,
body.dark .bidsmart-transaction-value {
    color: hsl(40, 23%, 95%);
}

body.dark .bidsmart-login-subtitle,
body.dark .bidsmart-dashboard-subtitle,
body.dark .bidsmart-404-text,
body.dark .bidsmart-stat-label,
body.dark .bidsmart-transaction-date {
    color: hsl(40, 15%, 65%);
}

body.dark .bidsmart-btn-outline {
    border-color: hsl(0, 0%, 15%);
    color: hsl(40, 23%, 95%);
}

body.dark .bidsmart-btn-outline:hover {
    background: hsl(0, 0%, 15%);
}

body.dark .bidsmart-transaction-item {
    border-color: hsl(0, 0%, 15%);
}

/* ===== BidSmart Breadcrumb ===== */
.bidsmart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.bidsmart-breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--bidsmart-muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bidsmart-breadcrumb-link:hover {
    color: var(--bidsmart-foreground);
}

.bidsmart-breadcrumb-link i {
    font-size: 1rem;
}

.bidsmart-breadcrumb-separator {
    color: var(--bidsmart-muted-foreground);
    font-size: 1rem;
}

.bidsmart-breadcrumb-current {
    color: var(--bidsmart-foreground);
    font-weight: 500;
}

body.dark .bidsmart-breadcrumb-link {
    color: hsl(40, 15%, 65%);
}

body.dark .bidsmart-breadcrumb-link:hover {
    color: hsl(40, 23%, 95%);
}

body.dark .bidsmart-breadcrumb-separator {
    color: hsl(40, 15%, 65%);
}

body.dark .bidsmart-breadcrumb-current {
    color: hsl(40, 23%, 95%);
}

/* ===== BidSmart Filter Section ===== */
.bidsmart-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bidsmart-filters {
        flex-direction: row;
        align-items: flex-end;
    }
}

.bidsmart-filter-search {
    flex: 1;
    position: relative;
    min-width: 200px;
}

.bidsmart-filter-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bidsmart-muted-foreground);
    font-size: 1.125rem;
    pointer-events: none;
}

.bidsmart-filter-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid var(--bidsmart-border);
    border-radius: 0.5rem;
    background: var(--bidsmart-background);
    color: var(--bidsmart-foreground);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.bidsmart-filter-input:focus {
    outline: none;
    border-color: var(--bidsmart-primary);
    box-shadow: 0 0 0 3px rgba(var(--bidsmart-primary-rgb), 0.15);
}

.bidsmart-filter-input::placeholder {
    color: var(--bidsmart-muted-foreground);
}

.bidsmart-filter-select {
    width: 100%;
    min-width: 150px;
}

@media (min-width: 768px) {
    .bidsmart-filter-select {
        width: 180px;
    }
}

.bidsmart-filter-actions {
    display: flex;
    gap: 0.5rem;
}

body.dark .bidsmart-filter-input {
    background: hsl(0, 0%, 8%);
    border-color: hsl(0, 0%, 15%);
    color: hsl(40, 23%, 95%);
}

body.dark .bidsmart-filter-input:focus {
    border-color: hsl(212, 45%, 50%);
    box-shadow: 0 0 0 3px rgba(60, 100, 150, 0.3);
}

/* ===== Enhanced BidSmart Buttons ===== */
.bidsmart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.bidsmart-btn i {
    font-size: 1rem;
}

.bidsmart-btn-primary {
    background: var(--bidsmart-primary);
    color: white;
}

.bidsmart-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.bidsmart-btn-outline {
    background: transparent;
    border: 1px solid var(--bidsmart-border);
    color: var(--bidsmart-muted-foreground);
}

.bidsmart-btn-outline:hover {
    background: var(--bidsmart-muted);
    color: var(--bidsmart-foreground);
}

body.dark .bidsmart-btn-outline {
    border-color: hsl(0, 0%, 20%);
    color: hsl(40, 15%, 65%);
}

body.dark .bidsmart-btn-outline:hover {
    background: hsl(0, 0%, 15%);
    color: hsl(40, 23%, 95%);
}

/* ===== MudBlazor Component Overrides ===== */

/* MudMenu Actions Dropdown */
.mud-menu .mud-button-root {
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
}

.mud-menu .mud-button-root:hover {
    background: var(--bidsmart-muted);
}

body.dark .mud-menu .mud-button-root:hover {
    background: hsl(0, 0%, 15%);
}

.mud-popover-paper {
    background: var(--bidsmart-card) !important;
    border: 1px solid var(--bidsmart-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
}

body.dark .mud-popover-paper {
    background: hsl(0, 0%, 8%) !important;
    border-color: hsl(0, 0%, 15%) !important;
}

.mud-list-item {
    padding: 0.625rem 1rem !important;
    min-height: 40px !important;
    font-size: 0.875rem !important;
    color: var(--bidsmart-muted-foreground) !important;
    transition: all 0.15s ease !important;
    border-radius: 0 !important;
}

.mud-list-item:hover {
    background: var(--bidsmart-muted) !important;
    color: var(--bidsmart-foreground) !important;
}

body.dark .mud-list-item {
    color: hsl(40, 15%, 65%) !important;
}

body.dark .mud-list-item:hover {
    background: hsl(0, 0%, 12%) !important;
    color: hsl(40, 23%, 95%) !important;
}

.mud-list-item .mud-icon-root {
    margin-right: 0.75rem;
    font-size: 1.125rem !important;
}

.mud-menu-item .mud-icon-root {
    color: var(--bidsmart-muted-foreground);
}

.mud-menu-item:hover .mud-icon-root {
    color: var(--bidsmart-foreground);
}

/* MudSelect Styling */
.mud-select .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--bidsmart-border) !important;
    border-radius: 8px !important;
}

.mud-select:hover .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--bidsmart-primary) !important;
}

.mud-select.mud-input-has-value .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--bidsmart-border) !important;
}

.mud-select .mud-select-input {
    font-size: 0.875rem !important;
    color: var(--bidsmart-foreground) !important;
}

body.dark .mud-select .mud-input-outlined .mud-input-outlined-border {
    border-color: hsl(0, 0%, 20%) !important;
}

body.dark .mud-select .mud-select-input {
    color: hsl(40, 23%, 95%) !important;
}

/* MudTextField Styling */
.mud-input-control .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--bidsmart-border) !important;
    border-radius: 8px !important;
}

.mud-input-control:hover .mud-input-outlined .mud-input-outlined-border {
    border-color: var(--bidsmart-primary) !important;
}

.mud-input-control .mud-input-text {
    font-size: 0.875rem !important;
    color: var(--bidsmart-foreground) !important;
}

body.dark .mud-input-control .mud-input-outlined .mud-input-outlined-border {
    border-color: hsl(0, 0%, 20%) !important;
}

body.dark .mud-input-control .mud-input-text {
    color: hsl(40, 23%, 95%) !important;
}

/* MudButton Form Styling */
.mud-button-filled.mud-button-filled-primary {
    background: var(--bidsmart-primary) !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

.mud-button-filled.mud-button-filled-primary:hover {
    background: var(--bidsmart-blue-light) !important;
}

.mud-button-filled.mud-button-filled-success {
    background: var(--bidsmart-success) !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

.mud-button-outlined {
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    border-color: var(--bidsmart-border) !important;
    color: var(--bidsmart-muted-foreground) !important;
}

.mud-button-outlined:hover {
    background: var(--bidsmart-muted) !important;
    color: var(--bidsmart-foreground) !important;
}

body.dark .mud-button-outlined {
    border-color: hsl(0, 0%, 20%) !important;
    color: hsl(40, 15%, 65%) !important;
}

body.dark .mud-button-outlined:hover {
    background: hsl(0, 0%, 15%) !important;
    color: hsl(40, 23%, 95%) !important;
}

/* MudPaper Form Sections */
.mud-paper.p-6 {
    background: var(--bidsmart-card) !important;
    border: 1px solid var(--bidsmart-border) !important;
    border-radius: 12px !important;
}

body.dark .mud-paper.p-6 {
    background: hsl(0, 0%, 8%) !important;
    border-color: hsl(0, 0%, 15%) !important;
}

/* MudSwitch Styling */
.mud-switch .mud-switch-track {
    background: var(--bidsmart-muted) !important;
}

/* MudChip in Tables */
.mud-chip {
    border-radius: 9999px !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
}

/* MudTable Styling */
.mud-table .mud-table-head .mud-table-cell {
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--bidsmart-muted-foreground) !important;
    background: var(--bidsmart-muted) !important;
}

body.dark .mud-table .mud-table-head .mud-table-cell {
    background: hsl(0, 0%, 10%) !important;
    color: hsl(40, 15%, 65%) !important;
}

.mud-table .mud-table-row:hover {
    background: rgba(var(--bidsmart-primary-rgb), 0.05) !important;
}

body.dark .mud-table .mud-table-row:hover {
    background: hsl(0, 0%, 12%) !important;
}

/* Form Action Buttons Container */
.bidsmart-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bidsmart-border);
}

body.dark .bidsmart-form-actions {
    border-color: hsl(0, 0%, 15%);
}

/* Secondary Button Style */
.bidsmart-btn-secondary {
    background: var(--bidsmart-muted);
    color: var(--bidsmart-foreground);
}

.bidsmart-btn-secondary:hover {
    background: var(--bidsmart-border);
}

body.dark .bidsmart-btn-secondary {
    background: hsl(0, 0%, 15%);
    color: hsl(40, 23%, 95%);
}

body.dark .bidsmart-btn-secondary:hover {
    background: hsl(0, 0%, 20%);
}

/* Success Button Style */
.bidsmart-btn-success {
    background: var(--bidsmart-success);
    color: white;
}

.bidsmart-btn-success:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Danger Button Style */
.bidsmart-btn-danger {
    background: var(--bidsmart-destructive);
    color: white;
}

.bidsmart-btn-danger:hover {
    opacity: 0.9;
}
