.session-icon {
    position: fixed;
    bottom: 20px;
    left: 120px;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.session-icon:hover {
    transform: scale(1.1);
}

.session-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.session-table-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.session-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.session-table th {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    font-weight: 600;
    padding: 15px 12px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1a252f;
    position: sticky;
    top: 0;
    z-index: 10;
}

.session-table th:first-child {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.session-table th:last-child {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.session-table .player-name {
    text-align: left;
    font-weight: 600;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 12px 15px;
    border-right: 2px solid #1a252f;
    position: sticky;
    left: 0;
    z-index: 5;
}

.session-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.session-table tr {
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.session-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.95);
}

.session-table tr:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.session-table tr:hover .player-name {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.result-cell {
    cursor: pointer;
    position: relative;
    font-weight: 600;
    transition: all 0.3s ease;
}

.result-cell.editable:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    transform: scale(1.05);
}

/* Стили для статусов прохождения */
.result-cell[data-passed="true"] {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.result-cell[data-passed="false"] {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.result-cell:empty {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
}

.result-cell:empty:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

/* Стили для скроллбара */
.session-table-container::-webkit-scrollbar {
    width: 8px;
}

.session-table-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.session-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.session-table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Анимация появления строк */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.session-table tbody tr {
    animation: fadeInUp 0.5s ease forwards;
}

.session-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.session-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.session-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.session-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.session-table tbody tr:nth-child(5) { animation-delay: 0.5s; }
.session-table tbody tr:nth-child(6) { animation-delay: 0.6s; }
.session-table tbody tr:nth-child(7) { animation-delay: 0.7s; }
.session-table tbody tr:nth-child(8) { animation-delay: 0.8s; }
.session-table tbody tr:nth-child(9) { animation-delay: 0.9s; }

/* Стили для общего количества баллов */
.session-table td:last-child {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-left: 2px solid #d35400;
}

/* Адаптивность */
@media (max-width: 768px) {
    .session-table th,
    .session-table td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .session-table .player-name {
        padding: 8px 10px;
    }
}

.result-input {
    width: 60px;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;
}

.time-input {
    width: 40px;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;
    margin-left: 5px;
}

.btn {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-primary {
    background: #ffc107;
}

.btn-primary:hover {
    background: #e0a800;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}