/* Team Page Styles */

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-size: 32px;
    color: #FF6600;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-section {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #444;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.team-header {
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.admins-header {
    background: linear-gradient(145deg, #8B0000, #660000);
    border-bottom: 2px solid #FF6600;
}

.helpers-header {
    background: linear-gradient(145deg, #0066CC, #004C99);
    border-bottom: 2px solid #00AAFF;
}

.team-members {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.member-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FF6600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-online {
    background-color: #00FF00;
    box-shadow: 0 0 10px #00FF00;
}

.status-offline {
    background-color: #888888;
}

.member-name {
    color: #E7E0C2;
    font-weight: bold;
    font-size: 16px;
    flex: 1;
}

.member-rank {
    color: #CCCCCC;
    font-size: 14px;
    font-style: italic;
}

.no-data {
    text-align: center;
    color: #888888;
    font-style: italic;
    padding: 30px;
    font-size: 16px;
}

.online-count {
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    color: #E7E0C2;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #333;
}

/* Скроллбар для списка участников */
.team-members::-webkit-scrollbar {
    width: 8px;
}

.team-members::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.team-members::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.team-members::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #444;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.contact-title {
    font-size: 24px;
    color: #FF6600;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contact-list {
    padding-left: 20px;
    color: #E7E0C2;
}

.contact-item {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.contact-link {
    color: #FF6600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #FFAA00;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .team-header {
        font-size: 18px;
        padding: 15px;
    }
    
    .member-item {
        gap: 10px;
        padding: 10px;
    }
    
    .member-name {
        font-size: 14px;
    }
    
    .contact-section {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact-item {
        font-size: 14px;
    }
}