/**
 * FC 26 MANAGER - Styles CSS
 * Design moderne sombre type FIFA
 */

/* =============================================================
   VARIABLES CSS
   ============================================================= */
:root {
    /* Couleurs principales */
    --primary: #00ff87;
    --primary-dark: #00cc6a;
    --secondary: #e91e63;
    --accent: #ff9800;

    /* Nuances de gris/noir */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-hover: #1a1a25;
    --bg-input: #1e1e2a;

    /* Texte */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    /* Bordures */
    --border-color: #2a2a3a;
    --border-focus: var(--primary);

    /* Notes des joueurs */
    --note-gold: #ffd700;
    --note-silver: #c0c0c0;
    --note-bronze: #cd7f32;

    /* Statuts */
    --success: #00ff87;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;

    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Rayons */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(0, 255, 135, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================================
   LAYOUT
   ============================================================= */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: var(--spacing-xl);
    min-height: 100vh;
}

/* =============================================================
   HEADER / NAVIGATION
   ============================================================= */
.sidebar-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--text-primary);
}

.user-info {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border-color);
}

.user-info .user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-info .user-budget {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
}

.user-info .user-role {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    list-style: none;
    padding: var(--spacing-md) 0;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--bg-hover);
    color: var(--primary);
    border-left-color: var(--primary);
}

.nav-menu li a i {
    width: 20px;
    text-align: center;
}

.nav-section {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: var(--spacing-md);
}

/* =============================================================
   CARDS
   ============================================================= */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2,
.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body {
    padding: var(--spacing-lg);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

.stat-card.warning .stat-value {
    color: var(--warning);
}

.stat-card.error .stat-value {
    color: var(--error);
}

/* =============================================================
   PLAYER CARDS
   ============================================================= */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.player-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.player-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary);
}

.player-card-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #1a1a25, #0a0a0f);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.player-card-image img {
    height: 120px;
    object-fit: contain;
}

.player-rating {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: linear-gradient(135deg, var(--note-gold), #b8860b);
    color: #000;
    font-size: 1.25rem;
    font-weight: 800;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    min-width: 36px;
    text-align: center;
}

.player-rating.high {
    background: linear-gradient(135deg, var(--note-gold), #ffa500);
}

.player-rating.medium {
    background: linear-gradient(135deg, var(--note-silver), #808080);
}

.player-rating.low {
    background: linear-gradient(135deg, var(--note-bronze), #8b4513);
}

.player-position {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.player-card-info {
    padding: var(--spacing-md);
}

.player-card-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-card-club {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-card-price {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* =============================================================
   FORMS
   ============================================================= */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--glow-primary);
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.btn-danger {
    background: var(--error);
    color: #fff;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.85rem;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* =============================================================
   TABLES
   ============================================================= */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--bg-hover);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table .badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.badge-success {
    background: rgba(0, 255, 135, 0.2);
    color: var(--success);
}

.badge-warning {
    background: rgba(255, 152, 0, 0.2);
    color: var(--warning);
}

.badge-danger {
    background: rgba(244, 67, 54, 0.2);
    color: var(--error);
}

.badge-info {
    background: rgba(33, 150, 243, 0.2);
    color: var(--info);
}

/* =============================================================
   ALERTS
   ============================================================= */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid;
}

.alert-success {
    background: rgba(0, 255, 135, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-color: var(--info);
    color: var(--info);
}

/* =============================================================
   LOGIN PAGE
   ============================================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1117 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: var(--spacing-xl);
}

.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.login-logo h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.login-logo p {
    color: var(--text-secondary);
}

/* =============================================================
   AUCTION / BID FORM
   ============================================================= */
.bid-form {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-end;
}

.bid-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.bid-amount-display {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

/* =============================================================
   STANDINGS
   ============================================================= */
.standings-table .rank {
    width: 40px;
    text-align: center;
    font-weight: 700;
}

.standings-table .rank-1 {
    color: var(--note-gold);
}

.standings-table .rank-2 {
    color: var(--note-silver);
}

.standings-table .rank-3 {
    color: var(--note-bronze);
}

.standings-table .points {
    font-weight: 700;
    color: var(--primary);
}

/* =============================================================
   FILTERS
   ============================================================= */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.filters-bar .form-group {
    margin-bottom: 0;
    min-width: 150px;
}

/* =============================================================
   PAGINATION
   ============================================================= */
.pagination {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.pagination a,
.pagination span {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* =============================================================
   MOBILE RESPONSIVE
   ============================================================= */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -260px;
        transition: left var(--transition-normal);
    }

    .sidebar.open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-toggle {
        display: block;
        position: fixed;
        top: var(--spacing-md);
        left: var(--spacing-md);
        z-index: 200;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        color: var(--text-primary);
        cursor: pointer;
    }
}

@media (min-width: 993px) {
    .mobile-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-bar {
        flex-direction: column;
    }

    .card-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .players-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* =============================================================
   UTILITIES
   ============================================================= */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-danger {
    color: var(--error) !important;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--spacing-sm);
}

.gap-2 {
    gap: var(--spacing-md);
}

/* =============================================================
   FIFA ULTIMATE TEAM STYLE PLAYER CARDS
   ============================================================= */
.fut-card {
    width: 160px;
    height: 220px;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid #3a3a3a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.fut-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 255, 135, 0.3);
    border-color: var(--primary);
}

/* Card color variants based on rating */
.fut-card.gold {
    background: linear-gradient(145deg, #c9a227 0%, #8b6914 30%, #5c4a12 100%);
    border-color: #d4af37;
}

.fut-card.silver {
    background: linear-gradient(145deg, #a8a8a8 0%, #6e6e6e 30%, #404040 100%);
    border-color: #c0c0c0;
}

.fut-card.bronze {
    background: linear-gradient(145deg, #cd7f32 0%, #8b5a2b 30%, #5c3d1e 100%);
    border-color: #cd7f32;
}

/* Top section with rating and position */
.fut-card-top {
    position: absolute;
    top: 8px;
    left: 10px;
    text-align: center;
    z-index: 2;
}

.fut-card-rating {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.fut-card-position {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 2px;
}

/* Player image */
.fut-card-image {
    position: absolute;
    top: 5px;
    right: -10px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fut-card-image img {
    max-height: 110px;
    max-width: 110px;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}

.fut-card-image .no-image {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.3);
}

/* Bottom section */
.fut-card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.fut-card-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.fut-card-club {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

/* Stats grid */
.fut-card-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

.fut-stat {
    text-align: center;
}

.fut-stat-value {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.fut-stat-label {
    font-size: 7px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FUT Cards grid */
.fut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    justify-items: center;
}

@media (max-width: 768px) {
    .fut-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .fut-card {
        width: 140px;
        height: 195px;
    }

    .fut-card-rating {
        font-size: 22px;
    }

    .fut-card-image {
        width: 100px;
        height: 100px;
    }

    .fut-card-image img {
        max-height: 90px;
    }
}

/* =============================================================
   AUCTION NOTIFICATIONS
   ============================================================= */

/* Bidder count badge on player cards */
.bidder-badge {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.5);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Auction notification toast */
.auction-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, #1a1a25, #12121a);
    border: 2px solid var(--warning);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(255, 152, 0, 0.3);
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.auction-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.auction-notification-icon {
    width: 40px;
    height: 40px;
    background: var(--warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: shake 0.5s ease-in-out;
}

.auction-notification-icon i {
    color: #000;
    font-size: 1.2rem;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

.auction-notification-content {
    flex: 1;
}

.auction-notification-title {
    font-weight: 700;
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.auction-notification-message {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.auction-notification-message strong {
    color: var(--warning);
}

.auction-notification-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-xs);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.auction-notification-close:hover {
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .auction-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* =============================================================
   LANGUAGE SWITCHER
   ============================================================= */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    font-weight: 600;
}

.lang-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 255, 135, 0.3);
}