/* ===== TAKIM LOGOLU MENÜ STİLLERİ - KÜÇÜK VE SIK ===== */
.teams-menu-container {
    background: #002b10;
    padding: 4px 0;
    border-top: 1px solid #ad0000;
    border-bottom: 1px solid #002b10;
    position: relative;
    overflow: hidden;
    margin: 2px 0;
}

.teams-menu-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 35px;
}

.teams-scroll-container {
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.teams-scroll-container::-webkit-scrollbar {
    display: none;
}

.teams-logos-grid {
    display: flex;
    gap: 6px;
    padding: 2px 4px;
    transition: transform 0.3s ease;
    min-width: min-content;
}

.team-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 62px;
    padding: 4px 5px;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0;
}

.team-logo-item:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.team-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.team-name {
    font-size: 10px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 62px;
}

/* Scroll butonları */
.team-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: #db0808;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 0;
}

.team-scroll-btn:hover {
    background: #b30606;
    transform: translateY(-50%) scale(1.1);
}

.team-scroll-btn.left {
    left: 4px;
}

.team-scroll-btn.right {
    right: 4px;
}

.team-scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
}

.no-teams-message {
    text-align: center;
    padding: 8px;
    color: #666;
    font-size: 11px;
    width: 100%;
}

/* Takım detay sayfası - AYNI KALDI */
.team-header {
    background: linear-gradient(135deg, #2c3e50, #1a1a1a);
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png');
    opacity: 0.1;
}

.team-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 20px;
    padding: 15px;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.team-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-info {
    margin-top: 20px;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.team-stat {
    text-align: center;
}

.team-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    color: #db0808;
}

.team-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.team-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.team-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-news-card:hover .team-news-image img {
    transform: scale(1.05);
}

.team-news-content {
    padding: 15px;
}

.team-news-date {
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Admin takım yönetimi - AYNI KALDI */
.team-form-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.team-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #db0808;
}

.team-card-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    padding: 10px;
}

.team-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.team-card-category {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-card-stat {
    text-align: center;
}

.team-card-stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #db0808;
    display: block;
}

.team-card-stat-label {
    font-size: 11px;
    color: #666;
}

.team-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

/* Takım menüsü responsive */
@media (max-width: 768px) {
    .teams-menu-container {
        padding: 3px 0;
        margin: 1px 0;
    }
    
    .teams-menu-wrapper {
        padding: 0 28px;
    }
    
    .teams-logos-grid {
        gap: 5px;
    }
    
    .team-logo-item {
        min-width: 58px;
        padding: 3px 4px;
    }
    
    .team-logo {
        width: 28px;
        height: 28px;
        margin-bottom: 1px;
    }
    
    .team-name {
        font-size: 9px;
        max-width: 58px;
    }
    
    .team-scroll-btn {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .team-scroll-btn.left {
        left: 3px;
    }
    
    .team-scroll-btn.right {
        right: 3px;
    }
    
    .team-header {
        padding: 25px 15px;
    }
    
    .team-logo-large {
        width: 90px;
        height: 90px;
    }
    
    .team-news-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .teams-menu-wrapper {
        padding: 0 26px;
    }
    
    .team-logo-item {
        min-width: 55px;
    }
    
    .team-logo {
        width: 26px;
        height: 26px;
    }
    
    .team-name {
        font-size: 8px;
        max-width: 55px;
    }
    
    .team-scroll-btn {
        display: flex;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        gap: 15px;
    }
    
    .team-stat-number {
        font-size: 1.5rem;
    }
}