/* Weapon page styles */
.weapons-page-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.weapon-categories {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.category-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
}

.category-tab.active {
    background-color: #8b0000;
    color: white;
}

.weapons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weapon-table {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.weapon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #e0e0e0;
    cursor: pointer;
}

.weapon-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 300px;
    flex-shrink: 0;
}

.weapon-icon {
    width: 100px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.weapon-info {
    display: flex;
    flex-direction: column;
    width: 180px;
}

.weapon-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 12px;
}

.weapon-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.header-stats {
    border-collapse: collapse;
    color: #333;
    font-size: 18px;
    table-layout: fixed;
    width: 600px;
}

.header-stat-row {
    height: 24px;
}

.header-stat-cell {
    padding: 2px 4px;
    white-space: nowrap;
}

.header-stat-label {
    font-weight: bold;
    padding-right: 8px;
    width: 50px;
}

.header-stat-value {
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-number {
    text-align: right;
    font-weight: bold;
    width: 50px;
}

.header-stat-cell:not(.stat-number):not(.header-stat-label):not(.header-stat-value) {
    width: 40px;
    text-align: left;
}

.toggle-icon {
    color: #333;
    font-size: 20px;
    transition: transform 0.3s;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.weapon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.weapon-content.show {
    max-height: 1000px;
}

.weapon-stats {
    width: 100%;
    border-collapse: collapse;
    color: #333;
    font-size: 18px;
}

.weapon-stats th {
    background-color: #e8e8e8;
    padding: 8px;
    text-align: left;
    color: #333;
    font-size: 19px;
}

.weapon-stats td {
    padding: 8px;
    border-top: 1px solid #ddd;
}

.user-row {
    background-color: rgba(139, 0, 0, 0.1);
}

.top-row {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.you-row {
    color: #8b0000;
} 