/* FIGHTERS STYLES - Fighter Rankings */

.fighters-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Fighters Header */
.fighters-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #000000;
    border: 2px solid #ffffff;
    border-radius: 8px;
}

.fighters-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffaa00;
    text-shadow: 2px 2px 4px rgba(255, 170, 0, 0.5);
}

.fighters-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #cccccc;
    font-style: italic;
}

/* Fighters Table */
.fighters-table-container {
    background: #000000;
    border: 2px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.fighters-table {
    width: 100%;
    border-collapse: collapse;
    background: #000000;
}

.fighters-table thead {
    background: #000000;
}

.fighters-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
    font-family: var(--font-body);
    color: #ffaa00;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 2px solid #ffffff;
}

.fighters-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #222222;
    color: #ffffff;
    font-family: var(--font-body);
}

.fighter-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fighter-row:hover {
    background: #111111;
}

.fighter-row:last-child td {
    border-bottom: none;
}

/* Column Styling */
.rank-column {
    width: 80px;
    text-align: center;
}

.fighter-column {
    width: auto;
}

.team-column {
    width: 150px;
}

.wins-column, .losses-column, .draws-column {
    width: 80px;
    text-align: center;
}

.status-column {
    width: 100px;
    text-align: center;
}

/* Rank Badges */
.rank-cell {
    text-align: center;
}

.rank-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.rank-badge.rank-1 {
    background: #ffaa00;
    color: #000000;
}

.rank-badge.rank-2 {
    background: #c0c0c0;
    color: #000000;
}

.rank-badge.rank-3 {
    background: #cd7f32;
    color: #000000;
}

.rank-number {
    color: #888888;
    font-weight: bold;
}

/* Fighter Info */
.fighter-name {
    font-weight: bold;
    color: #ffffff;
}

.team-name {
    color: #cccccc;
    font-style: italic;
}

/* Stats */
.wins-cell, .losses-cell, .draws-cell {
    text-align: center;
}

.wins-count {
    color: #00ff00;
    font-weight: bold;
}

.losses-count {
    color: #ff4444;
    font-weight: bold;
}

.draws-count {
    color: #ffaa00;
    font-weight: bold;
}

/* Status */
.status-cell {
    text-align: center;
}

.status-dead {
    color: #ff4444;
    font-weight: bold;
    font-size: 0.9rem;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
}

.status-alive {
    color: #00ff00;
    font-weight: bold;
    font-size: 0.9rem;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
}

/* Empty State */
.empty-fighters {
    text-align: center;
    padding: 60px 30px;
}

.empty-state h3 {
    color: #ff4444;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.empty-state p {
    color: #cccccc;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Footer */
.fighters-footer {
    text-align: center;
}

.fighters-note {
    color: #888888;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

.back-button {
    display: inline-block;
    padding: 12px 25px;
    background: #000000;
    border: 2px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #ffffff;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fighters-container {
        padding: 15px;
    }
    
    .fighters-header {
        padding: 20px;
    }
    
    .fighters-header h2 {
        font-size: 1.8rem;
    }
    
    .fighters-table th,
    .fighters-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .team-column {
        display: none;
    }
    
    .draws-column {
        display: none;
    }
    
    .fighter-name {
        font-size: 0.9rem;
    }
} 

/* Sortable Table Headers */
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: all 0.2s ease;
}

.sortable:hover {
    background-color: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
}

.sortable.sort-asc {
    background-color: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
}

.sortable.sort-desc {
    background-color: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
}

/* Active sort styling */
.sortable.sort-asc:after,
.sortable.sort-desc:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffaa00;
} 