/*==================================================
    HIT AUCTION
    AUCTION DASHBOARD
    PREMIUM UI - COLORFUL V2
==================================================*/

/*==================================================
    ROOT
==================================================*/

:root {
    --ha-primary: #2596BE;
    --ha-primary-dark: #15617B;
    --ha-primary-light: #EAF8FD;
    --ha-blue: #2596BE;
    --ha-green: #16A34A;
    --ha-green-light: #ECFDF3;
    --ha-red: #DC3545;
    --ha-red-light: #FFF1F2;
    --ha-orange: #F59E0B;
    --ha-orange-light: #FFF7E6;
    --ha-purple: #8B5CF6;
    --ha-purple-light: #F5F3FF;
    --ha-dark: #172033;
    --ha-text: #263246;
    --ha-muted: #718096;
    --ha-border: #E7EDF3;
    --ha-bg: #F5F8FB;
    --ha-white: #FFFFFF;
    --ha-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
    --ha-shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.12);
    --ha-radius: 18px;
}

/*==================================================
    MAIN DASHBOARD
==================================================*/

.auction-dashboard {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    color: var(--ha-text);
}

/*==================================================
    AUCTION HEADER - THEME GRADIENT LIKE DASHBOARD HEADER
==================================================*/

.auction-header {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #2596BE 0%, #1E8AB0 50%, #15617B 100%);
    border: none;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(37,150,190,.28);
    color: #FFFFFF;
}

.auction-header::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

.auction-header::before {
    content: "";
    position: absolute;
    left: -30px;
    bottom: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    pointer-events: none;
}

/*==================================================
    AUCTION LEFT
==================================================*/

.auction-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.auction-logo-box {
    width: 90px;
    height: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: #FFFFFF;
    border: 3px solid rgba(255,255,255,.5);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    overflow: hidden;
}

.auction-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 13px;
}

/*==================================================
    AUCTION DETAILS
==================================================*/

.auction-details {
    min-width: 0;
}

.auction-title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    word-break: break-word;
    text-shadow: 0 2px 10px rgba(0,0,0,.1);
}

/*==================================================
    AUCTION CODE
==================================================*/

.auction-code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
}

.auction-code-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auction-code-row strong {
    color: #FFFFFF;
    font-size: 16px;
    letter-spacing: 1.2px;
    background: rgba(255,255,255,.15);
    padding: 4px 10px;
    border-radius: 8px;
}

.copy-code-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.15);
    color: #FFFFFF;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
    backdrop-filter: blur(5px);
}

.copy-code-btn:hover {
    background: #FFFFFF;
    color: var(--ha-primary);
    transform: translateY(-2px);
}

/*==================================================
    META
==================================================*/

.auction-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.auction-meta span,
.auction-bottom-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 600;
}

.auction-meta i,
.auction-bottom-row i {
    color: #FFFFFF;
    background: rgba(255,255,255,.15);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
}

/*==================================================
    BOTTOM ROW
==================================================*/

.auction-bottom-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

/*==================================================
    STATUS
==================================================*/

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #FFFFFF !important;
    color: var(--ha-primary-dark) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.status-badge i {
    font-size: 7px;
    color: #22C55E !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
}

/*==================================================
    ACTION BUTTONS - VERTICAL TOP TO BOTTOM FORMAT
==================================================*/

.auction-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    min-width: 200px;
    width: 210px;
}

.auction-actions a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 52px;
    width: 100%;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: 0.30s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    border: 2px solid transparent;
}

.auction-actions a i {
    font-size: 16px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,.22);
    flex-shrink: 0;
}

.btn-start {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: #FFFFFF;
    border-color: rgba(255,255,255,.2);
}

.btn-start:hover {
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(34,197,94,.35);
    background: linear-gradient(135deg, #16A34A, #15803D);
}

.btn-view {
    background: #FFFFFF;
    color: #15617B;
    border-color: #FFFFFF;
}

.btn-view i {
    background: #E0F2FE !important;
    color: #2596BE !important;
}

.btn-view:hover {
    background: #F0F9FF;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255,255,255,.3);
}

.btn-edit {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #FFFFFF;
    border-color: rgba(255,255,255,.2);
}

.btn-edit:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #D97706, #B45309);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(245,158,11,.35);
}

/*==================================================
    TABS
==================================================*/

.auction-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    margin-bottom: 22px;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    min-width: 125px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #718096;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--ha-primary-dark);
    background: #F0F9FF;
}

.tab-btn.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, #2596BE, #15617B);
    box-shadow: 0 6px 18px rgba(37, 150, 190, 0.25);
}

/*==================================================
    TAB CONTENT
==================================================*/

.tab-content {
    display: none;
    animation: dashboardTabFade 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes dashboardTabFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================================
    TEAM GRID
==================================================*/

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/*==================================================
    TEAM CARD
==================================================*/

.team-card {
    position: relative;
    padding: 22px;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 20px;
    box-shadow: var(--ha-shadow);
    overflow: hidden;
    transition: transform 0.30s ease, box-shadow 0.30s ease, border-color 0.30s ease;
}

.team-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, #2596BE, #8B5CF6, #16A34A);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ha-shadow-hover);
    border-color: #BAE6FD;
}

/*==================================================
    TEAM CARD TOP
==================================================*/

.team-card-top {
    display: flex;
    justify-content: flex-end;
    min-height: 28px;
}

.team-menu-wrapper {
    position: relative;
}

.team-menu {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #F1F5F9;
    color: #64748B;
    cursor: pointer;
    font-size: 16px;
    transition: .2s;
}

.team-menu:hover {
    background: #E0F2FE;
    color: var(--ha-primary);
}

/*==================================================
    TEAM DROPDOWN - BIG FONT
==================================================*/

.team-dropdown {
    position: absolute;
    right: 0;
    top: 42px;
    width: 230px;
    display: none;
    z-index: 100;
    padding: 10px;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.team-dropdown.show {
    display: block;
}

.team-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.team-dropdown a:hover {
    background: #F0F9FF;
    color: var(--ha-primary-dark);
}

.team-dropdown a i {
    width: 22px;
    min-width: 22px;
    text-align: center;
    font-size: 15px;
    color: var(--ha-primary);
}

/*==================================================
    TEAM LOGO
==================================================*/

.team-logo-wrap {
    width: 90px;
    height: 90px;
    margin: 4px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 22px;
    background: linear-gradient(135deg, #EFFAFF, #F7F2FF);
    border: 1px solid #DCECF3;
}

.team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

/*==================================================
    TEAM NAME - BIGGER
==================================================*/

.team-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--ha-dark);
    font-size: 19px;
    font-weight: 800;
    text-align: center;
}

.team-name-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FFFFFF;
    background: linear-gradient(135deg, #2596BE, #7C3AED);
    border-radius: 9px;
    font-size: 12px;
}

/*==================================================
    TEAM MINI STATS
==================================================*/

.team-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.team-mini-stat {
    padding: 12px;
    border: 1px solid #EDF1F5;
    border-radius: 12px;
    background: #FAFCFD;
}

.team-mini-stat span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #7A8798;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.team-mini-stat strong {
    display: block;
    color: #263246;
    font-size: 15px;
    font-weight: 800;
}

.team-mini-stat strong small {
    color: #8A96A6;
    font-size: 12px;
}

.wallet-stat i { color: #16A34A; }
.bid-stat i { color: #2596BE; }
.player-stat i { color: #7C3AED; }
.spent-stat i { color: #F59E0B; }

/*==================================================
    PLAYER PROGRESS
==================================================*/

.team-player-progress {
    margin-bottom: 18px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

.progress-header span {
    color: #7A8798;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.progress-header strong {
    color: #475569;
    font-size: 12px;
}

.progress-track {
    height: 8px;
    overflow: hidden;
    background: #EDF2F6;
    border-radius: 999px;
}

.progress-fill {
    height: 100%;
    min-width: 0;
    background: linear-gradient(90deg, #2596BE, #7C3AED);
    border-radius: inherit;
    transition: width 0.4s ease;
}

.players-remaining {
    display: block;
    margin-top: 7px;
    color: #8995A5;
    font-size: 11px;
    font-weight: 600;
}

/*==================================================
    TEAM DETAILS BUTTON
==================================================*/

.team-details-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 11px;
    color: #176F91;
    background: #EEFAFF;
    border: 1px solid #D9EFF6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.team-details-btn:hover {
    color: #FFFFFF;
    background: var(--ha-primary);
    border-color: var(--ha-primary);
}

/*==================================================
    DASHBOARD CARD
==================================================*/

.dashboard-card {
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 18px;
    box-shadow: var(--ha-shadow);
    overflow: hidden;
}

.player-card-container {
    padding: 0;
}

.player-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid #EDF1F5;
    background: linear-gradient(135deg, #FFFFFF, #FAFDFE);
}

.section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--ha-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.player-list-header h2 {
    margin: 0;
    color: var(--ha-dark);
    font-size: 22px;
    font-weight: 800;
}

.player-list-header p {
    margin: 5px 0 0;
    color: #8995A5;
    font-size: 13px;
}

.player-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.summary-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.summary-pill strong {
    font-size: 14px;
}

.summary-total {
    color: #475569;
    background: #F1F5F9;
}

.summary-sold {
    color: #15803D;
    background: #ECFDF3;
}

.summary-unsold {
    color: #B91C1C;
    background: #FFF1F2;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
}

.dashboard-table thead th {
    padding: 15px 18px;
    color: #526176;
    background: #F8FAFC;
    border-bottom: 1px solid #E7EDF3;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.dashboard-table tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid #EEF2F5;
    vertical-align: middle;
    color: #475569;
    font-size: 14px;
}

.dashboard-table tbody tr {
    transition: 0.18s ease;
}

.dashboard-table tbody tr:hover {
    background: #FBFDFE;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.player-photo-heading {
    width: 75px;
}

.player-photo-cell {
    width: 75px;
}

.player-photo-wrap {
    width: 54px;
    height: 54px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #DCE7ED;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.player-table-image {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.player-table-info {
    min-width: 180px;
}

.player-table-name {
    display: block;
    margin-bottom: 6px;
    color: #172033;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.player-team-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 200px;
    padding: 5px 10px;
    overflow: hidden;
    color: #176F91;
    background: #EEFAFF;
    border: 1px solid #D8EFF6;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-team-chip i {
    color: var(--ha-primary);
    font-size: 11px;
}

.player-no-team {
    color: #94A3B8;
    font-size: 12px;
}

.player-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: #5B21B6;
    background: #F5F3FF;
    border: 1px solid #E9E2FF;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.player-category-badge i {
    color: #8B5CF6;
    font-size: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.badge-success {
    color: #15803D;
    background: #ECFDF3;
    border: 1px solid #D3F4DF;
}

.badge-purple {
    color: #6D28D9;
    background: #F5F3FF;
    border: 1px solid #E8E0FF;
}

.badge-danger {
    color: #B91C1C;
    background: #FFF1F2;
    border: 1px solid #FFDADD;
}

.badge-warning {
    color: #B45309;
    background: #FFFBEB;
    border: 1px solid #FCECC0;
}

.sold-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 210px;
    padding: 8px 11px;
    color: #166534;
    background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
    border: 1px solid #D5F1DE;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    transition: 0.2s ease;
}

.sold-team-badge:hover {
    color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.10);
}

.sold-team-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FFFFFF;
    background: linear-gradient(135deg, #16A34A, #15803D);
    border-radius: 8px;
    font-size: 11px;
}

.sold-team-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
}

.sold-team-badge > i {
    font-size: 10px;
    color: #16A34A;
}

.not-assigned-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: #8A94A3;
    background: #F6F7F9;
    border: 1px solid #E8EBEF;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}

.player-amount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.amount-sold {
    color: #15803D;
    background: linear-gradient(135deg, #ECFDF3, #F0FDF4);
    border: 1px solid #D2F1DC;
}

.amount-presold {
    color: #6D28D9;
    background: linear-gradient(135deg, #F5F3FF, #FAF5FF);
    border: 1px solid #E7DDFF;
}

.amount-unsold {
    color: #B91C1C;
    background: #FFF1F2;
    border: 1px solid #FFD9DD;
}

.amount-empty {
    color: #94A3B8;
    background: #F8FAFC;
    border: 1px solid #EDF1F4;
}

/*==================================================
    PLAYER ACTIONS - COLORFUL BIG
==================================================*/

.player-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 11px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 15px;
}

.player-action-edit {
    color: #FFFFFF;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 6px 15px rgba(37,99,235,.25);
}

.player-action-edit:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    transform: translateY(-2px);
}

.player-action-delete {
    color: #FFFFFF;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 6px 15px rgba(220,38,38,.25);
}

.player-action-delete:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    transform: translateY(-2px);
}

.btn-presold-player {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #FFFFFF;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(124,58,237,.25);
    transition: .25s;
}

.btn-presold-player:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    box-shadow: 0 10px 20px rgba(124,58,237,.35);
}

.player-action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 9px;
    color: #FFFFFF;
    background: #1E293B;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 50;
}

.player-action-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.empty-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 30px;
    text-align: center;
}

.empty-data > i {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--ha-primary);
    background: #EEFAFF;
    border-radius: 20px;
    font-size: 28px;
}

.empty-data h3 {
    margin: 0 0 6px;
    color: #263246;
    font-size: 18px;
    font-weight: 800;
}

.empty-data p {
    margin: 0;
    color: #8995A5;
    font-size: 13px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    padding: 22px;
}

.info-item {
    padding: 16px;
    background: #FAFCFD;
    border: 1px solid #EDF1F5;
    border-radius: 13px;
}

.info-item label {
    display: block;
    margin-bottom: 7px;
    color: #8995A5;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: #263246;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

/*==================================================
    STATS
==================================================*/

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 18px;
    box-shadow: var(--ha-shadow);
}

.stat-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 20px;
}

.stat-icon.blue {
    color: #2563EB;
    background: #EFF6FF;
}

.stat-icon.green {
    color: #16A34A;
    background: #ECFDF3;
}

.stat-icon.orange {
    color: #D97706;
    background: #FFFBEB;
}

.stat-icon.red {
    color: #DC2626;
    background: #FEF2F2;
}

.stat-content h2 {
    margin: 0;
    color: #1E293B;
    font-size: 18px;
    font-weight: 700;
}

.stat-content p {
    margin: 3px 0 0;
    color: #8995A5;
    font-size: 12px;
    font-weight: 600;
}

/*==================================================
    SECTION HEADER
==================================================*/

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 16px;
}

.section-header h2 {
    margin: 0;
    color: #263246;
    font-size: 22px;
    font-weight: 800;
}

/*==================================================
    QUICK ACTIONS - BIG SIZE COLORFUL
==================================================*/

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.action-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 22px;
    background: #FFFFFF;
    border: 1px solid var(--ha-border);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    text-decoration: none;
    transition: 0.35s ease;
}

.action-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: .35s;
}

.action-card i {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 20px;
    font-size: 32px;
    color: #FFFFFF;
    transition: .35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.action-card h4 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #1E293B;
}

.action-card p {
    margin: 0;
    color: #6B7280;
    font-size: 15px;
    font-weight: 600;
}

.action-card:hover {
    transform: translateY(-8px);
}

.action-card:hover i {
    transform: scale(1.10) rotate(3deg);
}

/* Create Team - Blue */
.quick-actions .action-card:nth-child(1) {
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 60%, #FFFFFF 100%);
    border-color: #BAE6FD;
}
.quick-actions .action-card:nth-child(1)::before {
    background: linear-gradient(90deg, #0EA5E9, #38BDF8);
}
.quick-actions .action-card:nth-child(1) i {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    box-shadow: 0 10px 25px rgba(14,165,233,.35);
}
.quick-actions .action-card:nth-child(1):hover {
    box-shadow: 0 20px 45px rgba(14,165,233,.22);
    border-color: #0EA5E9;
}

/* Create Player - Purple */
.quick-actions .action-card:nth-child(2) {
    background: linear-gradient(135deg, #F3E8FF 0%, #FAF5FF 60%, #FFFFFF 100%);
    border-color: #D8B4FE;
}
.quick-actions .action-card:nth-child(2)::before {
    background: linear-gradient(90deg, #8B5CF6, #A78BFA);
}
.quick-actions .action-card:nth-child(2) i {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 10px 25px rgba(139,92,246,.35);
}
.quick-actions .action-card:nth-child(2):hover {
    box-shadow: 0 20px 45px rgba(139,92,246,.22);
    border-color: #8B5CF6;
}

/* Create Sponsor - Green */
.quick-actions .action-card:nth-child(3) {
    background: linear-gradient(135deg, #DCFCE7 0%, #F0FDF4 60%, #FFFFFF 100%);
    border-color: #86EFAC;
}
.quick-actions .action-card:nth-child(3)::before {
    background: linear-gradient(90deg, #22C55E, #4ADE80);
}
.quick-actions .action-card:nth-child(3) i {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 10px 25px rgba(34,197,94,.35);
}
.quick-actions .action-card:nth-child(3):hover {
    box-shadow: 0 20px 45px rgba(34,197,94,.22);
    border-color: #22C55E;
}

/* Create Category - Orange */
.quick-actions .action-card:nth-child(4) {
    background: linear-gradient(135deg, #FFEDD5 0%, #FFF7ED 60%, #FFFFFF 100%);
    border-color: #FDBA74;
}
.quick-actions .action-card:nth-child(4)::before {
    background: linear-gradient(90deg, #F97316, #FB923C);
}
.quick-actions .action-card:nth-child(4) i {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 10px 25px rgba(249,115,22,.35);
}
.quick-actions .action-card:nth-child(4):hover {
    box-shadow: 0 20px 45px rgba(249,115,22,.22);
    border-color: #F97316;
}

/*==================================================
    DANGER ZONE - BIG FONT
==================================================*/

.danger-zone {
    padding: 28px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FEF2F2 100%);
    border: 2px solid #FECACA;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(220,38,38,.08);
}

.danger-zone h3 {
    margin: 0 0 10px;
    color: #B91C1C;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.danger-zone h3::before {
    content: "⚠️";
    font-size: 24px;
}

.danger-zone p {
    max-width: 700px;
    margin: 0 0 20px;
    color: #7F1D1D;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(220,38,38,.28);
    transition: .30s ease;
    border: none;
}

.btn-danger:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220,38,38,.35);
}

.btn-danger i {
    font-size: 18px;
}

/*==================================================
    SUCCESS MODAL
==================================================*/

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.60);
    backdrop-filter: blur(6px);
}

.success-modal.show {
    display: flex;
}

.success-box {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    text-align: center;
    background: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.25);
}

.success-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #16A34A;
    background: #ECFDF3;
    border-radius: 50%;
    font-size: 28px;
}

.success-box h2 {
    margin: 0 0 8px;
    color: #263246;
    font-size: 22px;
    font-weight: 800;
}

.success-box p {
    margin: 0 0 20px;
    color: #7B8796;
    font-size: 14px;
    line-height: 1.6;
}

.btn-primary {
    border: 0;
    padding: 12px 24px;
    color: #FFFFFF;
    background: var(--ha-primary);
    border-radius: 11px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.zoomable {
    cursor: zoom-in;
}

/*==================================================
    RESPONSIVE - VERTICAL BUTTONS
==================================================*/

@media (max-width: 1200px) {
    .quick-actions {
        gap: 16px;
    }
}

@media (max-width: 1100px) {
    .auction-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .auction-actions {
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
    }
    .auction-actions a {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .auction-dashboard {
        padding: 12px;
    }
    .auction-header {
        padding: 22px;
        border-radius: 18px;
    }
    .auction-left {
        width: 100%;
        align-items: flex-start;
    }
    .auction-logo-box {
        width: 72px;
        height: 72px;
        min-width: 72px;
    }
    .auction-title {
        font-size: 24px;
    }
    .auction-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .auction-actions a {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        font-size: 14px;
    }
    .auction-actions a:last-child {
        grid-column: auto;
    }
    .quick-actions {
        grid-template-columns: 1fr;
    }
    .action-card {
        padding: 26px 20px;
    }
    .action-card i {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }
    .action-card h4 {
        font-size: 18px;
    }
    .danger-zone {
        padding: 22px;
    }
    .danger-zone h3 {
        font-size: 19px;
    }
    .danger-zone p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auction-dashboard {
        padding: 8px;
    }
    .auction-title {
        font-size: 20px;
    }
    .auction-code-row {
        font-size: 12px;
        flex-wrap: wrap;
    }
    .auction-meta span,
    .auction-bottom-row span {
        font-size: 12px;
    }
    .auction-actions {
        grid-template-columns: 1fr;
    }
    .auction-actions a:last-child {
        grid-column: auto;
    }
    .btn-danger {
        width: 100%;
        justify-content: center;
        font-size: 15px;
    }
}

/* Player list font improvement - kept from your file */
.player-list-header h2 { font-size: 28px; line-height: 1.25; font-weight: 800; }
.player-list-header p { font-size: 15px; line-height: 1.6; }
.player-list-header .section-kicker { font-size: 14px; font-weight: 800; letter-spacing: 1px; }
.player-dashboard-table th { font-size: 14px; font-weight: 800; letter-spacing: 0.5px; }
.player-dashboard-table td { font-size: 15px; font-weight: 500; }
.player-table-name { font-size: 17px; font-weight: 800; line-height: 1.3; }
.player-team-chip, .player-no-team { font-size: 13px; font-weight: 700; }
.player-category-badge { font-size: 13px; font-weight: 700; white-space: nowrap; }
.player-dashboard-table .badge { font-size: 13px; font-weight: 800; white-space: nowrap; }
.sold-team-badge { font-size: 13px; font-weight: 800; }
.sold-team-text { font-size: 13px; font-weight: 800; }
.not-assigned-badge { font-size: 13px; font-weight: 700; }
.player-amount { font-size: 14px; font-weight: 800; white-space: nowrap; }
.amount-empty { font-size: 16px; font-weight: 700; }
.player-action-btn { width: 42px; height: 42px; font-size: 16px; }
.team-dropdown { min-width: 210px; padding: 8px; }
.team-dropdown a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 12px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.team-dropdown a i { width: 18px; min-width: 18px; font-size: 15px; }
.team-dropdown a span { font-size: 14px; font-weight: 700; }
.team-menu { width: 38px; height: 38px; font-size: 17px; }
.summary-pill { font-size: 13px; }
.summary-pill span { font-size: 13px; font-weight: 700; }
.summary-pill strong { font-size: 15px; font-weight: 800; }
.player-table-image { width: 58px; height: 58px; }
.player-photo-wrap { width: 64px; height: 64px; }
