/* =============================================================
   IKON LIVE EVENT — Auctions Sub-Module Stylesheet
   Theme: Dark/Gold Premium Sports Theme
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@600;700;800&display=swap');

:root {
    /* Theme Font Families */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Colors */
    --index-bg: #0a0a0f;
    --dash-bg: #0a0a0f;
    --card-border-radius: 12px;

    /* Primary Gold Accents */
    --primary: #f0a500;
    --primary-light: #ffc93c;
    --secondary: #f0a500;
    --accent: #ff7675;

    /* Dark Neutral Palette */
    --clr-bg: #0a0a0f;
    --clr-bg2: #111118;
    --clr-bg3: #1a1a24;
    --clr-card: #16161f;
    --card-header-bg: #1a1a26;

    --text-light: #ffffff;
    --text-muted: #8888a0;
    --clr-border: rgba(255, 255, 255, 0.08);

    /* Shadows */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 30px rgba(240, 165, 0, 0.2);
}

/* ─── Global Reset & Body for Auctions ─────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.5;
    background-color: var(--clr-bg);
}

body.index-view,
body.dashboard-view,
body.live-screen-body {
    background-color: var(--clr-bg);
}

/* ─── Auction Sub-Header Bar (Below main navbar) ─────────── */
.auction-sub-header {
    background: #111118;
    border-bottom: 1px solid var(--clr-border);
    padding: 10px 0;
    position: relative;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.auction-sub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.auction-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--clr-border);
    transition: all 0.2s ease;
}

.auction-back-btn:hover {
    color: var(--primary);
    border-color: rgba(240, 165, 0, 0.4);
    background: rgba(240, 165, 0, 0.1);
}

.auction-live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    animation: blink 1.2s infinite;
}

/* ─── Hero / Intro Section ────────────────────────────────── */
.hero, .auction-hero {
    position: relative;
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
    background: radial-gradient(circle at 50% 30%, rgba(240, 165, 0, 0.15) 0%, rgba(10, 10, 15, 0.98) 70%);
    border-bottom: 1px solid var(--clr-border);
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.auction-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 1200px; height: 100%;
    background: radial-gradient(ellipse at top, rgba(240, 165, 0, 0.12), transparent 60%);
    pointer-events: none;
}

.hero-subtitle, .auction-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(240, 165, 0, 0.12);
    border: 1px solid rgba(240, 165, 0, 0.3);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title, .auction-hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-description, .auction-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.gold-text {
    color: var(--primary) !important;
    text-shadow: 0 0 12px rgba(240, 165, 0, 0.4);
}

/* ─── Auctions List Container & Grid ───────────────────────── */
.auctions-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.auctions-section {
    margin-bottom: 50px;
}

.section-header-container {
    margin-bottom: 25px;
}

.section-header-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.section-header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.auctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* ─── Auction Card Design ──────────────────────────────────── */
.auction-card {
    background: var(--clr-card);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
}

.auction-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(240, 165, 0, 0.4);
}

.auction-image-container {
    height: 200px;
    background: #111118;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    padding: 15px;
}

.auction-logo {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.auction-card:hover .auction-logo {
    transform: scale(1.06);
}

.auction-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 2;
}

.auction-badge.badge-deleted {
    background-color: #ef4444;
    color: #fff;
}

.auction-card.card-deleted {
    cursor: default;
    opacity: 0.7;
}

.auction-card.card-deleted:hover {
    transform: none;
    border-color: var(--clr-border);
    box-shadow: var(--shadow);
}

.auction-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.auction-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auction-sport {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.auction-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.auction-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* ─── Dashboard Styles ─────────────────────────────────────── */
.dashboard-header {
    position: relative;
    padding: 3rem 1.5rem 2rem 1.5rem;
    background: radial-gradient(circle at 50% 30%, rgba(240, 165, 0, 0.12) 0%, rgba(10, 10, 15, 0.98) 70%);
    border-bottom: 1px solid var(--clr-border);
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dashboard-back-btn, .btn-report {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--clr-border);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dashboard-back-btn:hover, .btn-report:hover {
    background: var(--primary);
    color: #0a0a0f;
    border-color: var(--primary);
}

/* Dashboard Grid */
.dashboard-container {
    max-width: 1200px;
    margin: 20px auto 60px auto;
    padding: 0 20px;
}

.dashboard-grid {
    display: grid;
    gap: 25px;
}

.dashboard-grid.row-1,
.dashboard-grid.row-2 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .dashboard-grid.row-1, .dashboard-grid.row-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-grid.row-1, .dashboard-grid.row-2 {
        grid-template-columns: 1fr;
    }
}

.dash-card {
    background: var(--clr-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dash-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 165, 0, 0.4);
    box-shadow: 0 15px 35px rgba(240, 165, 0, 0.15);
}

.dash-card-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), #1a1a26;
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--clr-border);
    text-transform: uppercase;
}

.dash-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(240, 165, 0, 0.1);
    border: 1px solid rgba(240, 165, 0, 0.25);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.dash-card-body {
    padding: 26px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 180px;
}

.dash-card-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.dash-card-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1;
    text-shadow: 0 0 15px rgba(240, 165, 0, 0.3);
}

.dash-card-number.number-unsold {
    color: #ef4444;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

/* Badge elements */
.dash-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.status-upcoming {
    background: rgba(0, 206, 201, 0.15);
    color: #00cec9;
    border: 1px solid rgba(0, 206, 201, 0.3);
}

.status-completed {
    background: rgba(240, 165, 0, 0.15);
    color: var(--primary);
    border: 1px solid rgba(240, 165, 0, 0.3);
}

.status-live {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    animation: blink 1.2s infinite;
}

.dash-card-icon-main {
    font-size: 2.8rem;
    color: var(--primary);
    margin: 10px 0 20px 0;
}

.dash-card-icon-main.live-anim {
    color: #ef4444;
    animation: blink 1.5s infinite;
}

.badge-group {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.badge-icon-box, .badge-sold-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 12px;
    min-width: 85px;
}

.badge-icon-box {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-sold-box {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-icon-box .badge-num { color: #3b82f6; }
.badge-sold-box .badge-num { color: #22c55e; }

.badge-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.dash-card-btn-group {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(240,165,0,0.15) 0%, rgba(240,165,0,0.05) 100%);
    border: 1px solid rgba(240,165,0,0.35);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    text-decoration: none;
    width: 100%;
}

.dash-btn.btn-sm {
    width: auto;
    padding: 8px 16px;
    font-size: 0.8rem;
}

.dash-btn:hover {
    background: var(--primary);
    color: #0a0a0f;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(240,165,0,0.4);
}

/* ─── Modals / Overlay Popups ─────────────────────────────── */
.overlay-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.overlay-content {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.overlay-header {
    background: var(--card-header-bg);
    color: #fff;
    padding: 16px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-border);
}

.overlay-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.overlay-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--clr-border);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.overlay-close:hover {
    background: var(--primary);
    color: #0a0a0f;
}

.overlay-body {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Detail Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.detail-table th, .detail-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--clr-border);
}

.detail-table th {
    background-color: var(--card-header-bg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    text-transform: uppercase;
}

.detail-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Team Card Detail Grid */
/* Team Card Detail Grid */
.teams-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.team-detail-card {
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(20, 24, 40, 0.95) 0%, rgba(10, 12, 22, 0.98) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241, 196, 15, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(241, 196, 15, 0.15);
}

.team-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f1c40f, #e67e22, #d4af37);
    background-size: 200% auto;
}

.team-detail-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-detail-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.team-detail-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-detail-body {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Stats Container inside Team Card */
.team-card-stats-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.team-stat-grid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.team-stat-chip {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.team-stat-chip .chip-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.team-stat-chip .chip-val {
    font-size: 14px;
    font-weight: 800;
}

.team-stat-chip .chip-val.green {
    color: #2ecc71;
    text-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}

.team-stat-chip .chip-val.blue {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.team-stat-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding-top: 4px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.team-stat-row-item .lbl {
    color: #94a3b8;
}

.team-stat-row-item .val.amber {
    color: #f59e0b;
    font-weight: 700;
}

.team-stat-row-item .val.text-light {
    color: #e2e8f0;
}

/* Progress bar inside Team Card */
.team-progress-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
}

.team-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.team-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f1c40f, #d4af37);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Action button for View Team */
.team-view-btn {
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.12) 0%, rgba(212, 175, 55, 0.22) 100%);
    border: 1px solid rgba(241, 196, 15, 0.4);
    color: #f1c40f;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.team-view-btn:hover {
    background: linear-gradient(135deg, #f1c40f 0%, #d4af37 100%);
    color: #000;
    border-color: #f1c40f;
    box-shadow: 0 6px 18px rgba(241, 196, 15, 0.35);
    transform: translateY(-1px);
}

.team-players-list {
    margin-top: 10px;
}

.team-player-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px dashed var(--clr-border);
    color: var(--text-light);
}

.team-player-row:last-child {
    border-bottom: none;
}

/* Player Cards Grid */
.players-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.player-detail-card {
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background: var(--clr-card);
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.player-photo-container {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 10px auto;
    border: 3px solid var(--primary);
    box-shadow: 0 0 12px rgba(240, 165, 0, 0.3);
}

.player-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.player-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    color: #fff;
}

.player-no {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.player-meta {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--primary);
}

.player-points {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

/* Sponsors styling */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.sponsor-card {
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--clr-card);
}

.sponsor-logo {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.sponsor-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
}

/* Search bar inside modal */
.search-container {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.search-input {
    flex-grow: 1;
    padding: 10px 15px;
    background: #111118;
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #fff;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(240, 165, 0, 0.2);
}

.badge-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-sold { background-color: rgba(34, 197, 94, 0.2); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.4); }
.badge-unsold { background-color: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.4); }
.badge-icon { background-color: rgba(59, 130, 246, 0.2); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-pending { background-color: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-token { background-color: rgba(168, 85, 247, 0.2); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.4); }

.modal-view-toggle {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--clr-border);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--primary);
    color: #0a0a0f;
    border-color: var(--primary);
}

/* Report Table Styling */
.report-section {
    margin-bottom: 25px;
}
.report-section-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    border-bottom: 2px solid var(--clr-border);
    padding-bottom: 6px;
}

/* ─── Premium Live Bidding Styles ──────────────────────────── */
.live-bidding-container {
    display: flex;
    gap: 25px;
    background-color: var(--clr-bg);
    background-image: radial-gradient(circle at center, #161622 0%, #0a0a0f 100%);
    padding: 30px;
    border-radius: 16px;
    min-height: 550px;
    color: #fff;
    flex-wrap: wrap;
    justify-content: center;
    font-family: var(--font-body);
    border: 1px solid var(--clr-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.live-player-section {
    flex: 1 1 340px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.live-teams-section {
    flex: 2 2 450px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    align-content: flex-start;
}

.premium-player-card {
    position: relative;
    width: 380px;
    min-height: 520px;
    background: var(--clr-card);
    border: 2px solid rgba(240, 165, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8),
                0 0 25px rgba(240, 165, 0, 0.15);
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.premium-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f0a500, #ffc93c, #f0a500);
    background-size: 200% auto;
    animation: borderGlow 4s linear infinite;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.premium-player-photo-outer {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-player-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(240, 165, 0, 0.4);
}

.premium-player-stamp {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 75px;
    height: 75px;
    transform: rotate(15deg);
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    animation: stampAnimation 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes stampAnimation {
    0% { transform: scale(3) rotate(0deg); opacity: 0; }
    100% { transform: scale(1) rotate(15deg); opacity: 1; }
}

.premium-player-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
    letter-spacing: 0.5px;
}

.premium-player-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    align-items: center;
}

.premium-player-details div {
    display: inline-block;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid var(--clr-border);
}

.premium-player-details span.label {
    color: var(--primary);
    margin-right: 4px;
}

.premium-player-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 165, 0, 0.4), transparent);
    margin: 15px 0;
}

.premium-player-bid-info {
    text-align: center;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.premium-player-bid-team {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
}

.premium-player-bid-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 2px;
}

/* Premium Team Cards */
.premium-team-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.premium-team-card-color-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

.premium-team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    background: #111118;
    border: 1px solid var(--clr-border);
    padding: 2px;
}

.premium-team-info {
    flex-grow: 1;
    min-width: 0;
}

.premium-team-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-team-stats {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 4px;
}

.team-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-lbl {
    color: var(--text-muted);
}

.stat-val {
    color: var(--primary);
    font-weight: 800;
}

/* ─── Responsive Adjustments ──────────────────────────────── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .dashboard-title {
        font-size: 1.8rem;
    }
    .premium-player-card {
        width: 100%;
        min-height: auto;
    }
}

/* ─── Final Report Header Bar & PDF Download Controls ────── */
.report-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--clr-border);
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.report-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.report-title-text {
    margin: 0;
    font-size: 1.35rem;
    color: var(--primary);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.report-subtitle-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.btn-pdf-download {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}

.btn-pdf-download:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.btn-pdf-download:active {
    transform: translateY(0);
}

/* ─── PDF Export Rendering Styles ──────────────────────────── */
.pdf-only-header, .pdf-only-footer {
    display: none;
}

.pdf-exporting {
    background: #ffffff !important;
    color: #111827 !important;
    padding: 20px !important;
    border-radius: 0 !important;
}

.pdf-exporting .report-header-bar {
    display: none !important;
}

.pdf-exporting .pdf-only-header {
    display: block !important;
    text-align: center;
    border-bottom: 3px solid #f0a500;
    padding-bottom: 12px;
    margin-bottom: 20px;
    background: #ffffff;
}

.pdf-exporting .pdf-brand-title {
    font-size: 13px;
    font-weight: 800;
    color: #f0a500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pdf-exporting .pdf-auction-title {
    margin: 4px 0;
    font-size: 22px;
    color: #111827;
    text-transform: uppercase;
    font-weight: 800;
}

.pdf-exporting .pdf-auction-subtitle {
    font-size: 12px;
    color: #4b5563;
    font-weight: 600;
}

.pdf-exporting .pdf-report-badge {
    margin-top: 8px;
    display: inline-block;
    background: #fff8e6;
    color: #b45309;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #fcd34d;
}

.pdf-exporting .pdf-only-footer {
    display: flex !important;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
    font-size: 10px;
    color: #94a3b8;
    background: #ffffff;
}

.pdf-exporting .report-section {
    background: #ffffff !important;
    color: #111827 !important;
    margin-bottom: 25px !important;
    page-break-inside: avoid !important;
}

.pdf-exporting .report-section-title {
    background: #1e293b !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 6px 6px 0 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-bottom: none !important;
}

.pdf-exporting .report-section-title strong {
    color: #fbbf24 !important;
}

.pdf-exporting .detail-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    margin-top: 0 !important;
}

.pdf-exporting .detail-table th {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.pdf-exporting .detail-table td {
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    padding: 7px 8px !important;
    font-size: 11px !important;
    background-color: #ffffff !important;
}

.pdf-exporting .detail-table tr:nth-child(even) td {
    background-color: #f8fafc !important;
}

.pdf-exporting .badge-status {
    background: transparent !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

.pdf-exporting .badge-icon {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
}

.pdf-exporting .badge-sold {
    color: #15803d !important;
    font-weight: 700 !important;
    border: none !important;
}

/* Single Player Full View Modal Popup */
.player-card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 14, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.player-card-modal-container {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #1e1e2d 0%, #11111a 100%);
    border: 1.5px solid rgba(240, 165, 0, 0.4);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(240, 165, 0, 0.15);
    color: #ffffff;
    animation: cardModalPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: auto 0;
}

@keyframes cardModalPop {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.player-card-modal-close {
    position: sticky;
    top: 0;
    right: 0;
    align-self: flex-end;
    margin-bottom: -40px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(240, 165, 0, 0.5);
    border-radius: 50%;
    color: #f0a500;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.player-card-modal-close:hover,
.player-card-modal-close:active {
    background: #f0a500;
    color: #0d0d12;
    border-color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}

.player-detail-card {
    cursor: pointer !important;
}

.player-detail-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--primary, #f0a500) !important;
    box-shadow: 0 12px 30px rgba(240, 165, 0, 0.25) !important;
}

/* ─── Team Players Modal & Player Cards ──────────────────────── */
.team-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 14, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.team-modal-content {
    position: relative;
    width: 100%;
    max-width: 1050px;
    max-height: 88vh;
    background: linear-gradient(145deg, rgba(18, 22, 38, 0.98) 0%, rgba(9, 11, 20, 0.99) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.15);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: teamModalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes teamModalPop {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.team-modal-header {
    background: rgba(0, 0, 0, 0.45);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-height: calc(88vh - 75px);
}

/* Modal Player Card */
.modal-team-player-card {
    position: relative;
    background: linear-gradient(145deg, rgba(28, 32, 54, 0.95) 0%, rgba(14, 16, 28, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-team-player-card:hover {
    transform: translateY(-5px);
    border-color: rgba(241, 196, 15, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(241, 196, 15, 0.2);
}

.modal-team-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f1c40f, #e67e22, #d4af37);
}

.player-card-top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.player-no-badge {
    font-size: 11px;
    font-weight: 800;
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.player-status-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.8px;
}

.player-status-badge.badge-sold {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #2ecc71;
}

.player-status-badge.badge-icon {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.player-status-badge.badge-token {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}

.player-photo-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-modal-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
    background: #111;
}

.player-captain-tag {
    position: absolute;
    bottom: -6px;
    background: linear-gradient(135deg, #f1c40f 0%, #d4af37 100%);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.player-modal-info {
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.player-modal-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-modal-cat {
    font-size: 11px;
    font-weight: 700;
    color: #d4af37;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 14px;
    text-transform: uppercase;
}

.player-modal-price-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
}

.player-modal-price-box .price-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.player-modal-price-box .price-val {
    font-size: 18px;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.5px;
}

.empty-team-modal-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-team-modal-state i {
    font-size: 54px;
    margin-bottom: 16px;
    color: rgba(212, 175, 55, 0.4);
}

.empty-team-modal-state h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.squad-count-badge {
    font-size: 12px;
    font-weight: 700;
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.3);
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 6px;
    white-space: nowrap;
}

.btn-team-download {
    background-color: #27ae60 !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    transition: all 0.2s ease;
}

.btn-team-download:hover {
    background-color: #2ecc71 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

/* ─── Mobile Responsive Adjustments ──────────────────────────── */
@media (max-width: 768px) {
    .player-card-modal-overlay {
        padding: 12px !important;
        align-items: flex-start !important;
    }

    .player-card-modal-container {
        max-height: 92vh !important;
        border-radius: 16px !important;
        padding: 18px 14px 20px 14px !important;
        margin: auto 0 !important;
    }

    .player-card-modal-close {
        width: 36px !important;
        height: 36px !important;
        font-size: 22px !important;
    }

    .auction-sub-header {
        padding: 8px 0 !important;
        margin-bottom: 12px !important;
    }

    .auction-sub-container {
        padding: 0 12px !important;
        gap: 10px !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    .auction-back-btn {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    .auction-live-status {
        padding: 4px 10px !important;
        font-size: 0.78rem !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    .team-modal-overlay {
        padding: 10px !important;
    }

    .team-modal-content {
        max-height: 92vh !important;
        border-radius: 18px !important;
        width: 100% !important;
    }

    .team-modal-header {
        padding: 12px 14px !important;
        gap: 8px !important;
    }

    .team-modal-header h3 {
        font-size: 15px !important;
        letter-spacing: 0.5px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 4px !important;
        line-height: 1.3 !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .team-modal-header h3 span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .squad-count-badge {
        font-size: 10px !important;
        padding: 2px 6px !important;
        margin-left: 0 !important;
    }

    .team-modal-actions {
        flex-shrink: 0 !important;
        gap: 6px !important;
    }

    .btn-team-download {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }

    .team-modal-header .close-btn {
        font-size: 22px !important;
        padding: 2px 6px !important;
        background: none !important;
        border: none !important;
        color: #ffffff !important;
        cursor: pointer;
    }

    .team-modal-body {
        padding: 12px !important;
        gap: 12px !important;
        grid-template-columns: 1fr !important;
        max-height: calc(92vh - 60px) !important;
    }

    .modal-team-player-card {
        padding: 14px !important;
        border-radius: 16px !important;
        height: auto !important;
        min-height: unset !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .player-photo-container {
        width: 75px !important;
        height: 75px !important;
        margin-bottom: 10px !important;
    }

    .player-modal-avatar {
        width: 70px !important;
        height: 70px !important;
    }

    .player-modal-name {
        font-size: 15px !important;
        white-space: normal !important;
    }

    .player-modal-price-box {
        padding: 6px 10px !important;
        margin-top: 6px !important;
    }

    .player-modal-price-box .price-val {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .auction-sub-container {
        gap: 8px !important;
        padding: 0 10px !important;
    }

    .auction-back-btn {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
    }

    .auction-live-status {
        font-size: 0.72rem !important;
        padding: 4px 8px !important;
    }

    .team-modal-overlay {
        padding: 6px !important;
    }

    .team-modal-header {
        padding: 10px 12px !important;
    }

    .team-modal-header h3 {
        font-size: 13px !important;
    }

    .btn-team-download span {
        display: none;
    }

    .team-modal-body {
        padding: 10px !important;
        gap: 10px !important;
    }
}

/* ─── Auction Pagination ──────────────────────────────────── */
.auction-pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
    padding: 20px 24px;
    background: var(--clr-bg2, #111118);
    border: 1px solid var(--clr-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--card-border-radius, 12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .auction-pagination-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

.auction-pagination-info {
    font-size: 0.9rem;
    color: var(--text-muted, #8888a0);
    font-weight: 500;
}

.auction-pagination-info span {
    color: var(--text-light, #ffffff);
    font-weight: 700;
}

.auction-pagination-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.auction-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border, rgba(255, 255, 255, 0.1));
    color: var(--text-light, #ffffff);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

a.auction-page-btn:hover {
    background: rgba(240, 165, 0, 0.15);
    border-color: var(--primary, #f0a500);
    color: var(--primary, #f0a500);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(240, 165, 0, 0.2);
}

.auction-page-btn.active {
    background: linear-gradient(135deg, var(--primary, #f0a500), #d48800);
    border-color: var(--primary, #f0a500);
    color: #000000;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(240, 165, 0, 0.4);
}

.auction-page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.auction-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 38px;
    color: var(--text-muted, #8888a0);
    font-weight: 700;
    font-size: 1rem;
}
