/* static/css/team/team_profile.css */

/* Hero section */
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: white;
    position: relative;
}

}

.team-profile-page .header-team-name {
    color: var(--team-primary-color) !important;
    text-shadow: none !important;
}

}

    background-color: rgba(0,0,0,0.2);
    padding: 8px 15px;
    border-radius: 8px;
}

}

    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

}

    font-weight: bold;
}

/* Quick stats dashboard */
.team-profile-dashboard {
    margin-bottom: 40px;
}

.quick-stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
}

.stat-card {
    background-color: var(--bg-primary);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 20px;
    color: var(--team-primary-color, #007bff);
    margin-right: 10px;
    background-color: rgba(0,123,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 2px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-subtext {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content sections */
.content-section {
    margin-bottom: 40px;
}

.section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--team-primary-color, #007bff);
    font-size: 1.4rem;
    font-weight: bold;
}

/* Team profile container */
    padding: 15px 0;
}

/* Card styling for information sections */
.info-card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.info-card-header {
    padding: 15px 20px;
    font-weight: bold;
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.primary-header {
    background-color: var(--team-primary-color, #007bff);
}

.secondary-header {
    background-color: var(--team-secondary-color, #6c757d);
}

.info-card-header i {
    margin-right: 10px;
}

.info-card-body {
    padding: 25px;
    background-color: var(--bg-primary);
}

/* Team detail rows */
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

    margin-bottom: 0;
}

    width: 130px;
    flex-shrink: 0;
    color: var(--text-secondary);
}

    color: var(--text-primary);
}

/* Team colors display */
    gap: 10px;
}

    height: 30px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

}

}

/* Color swatch styles - JS handles dynamic colors */

/* Stadium stats grid */
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s;
}

}

    margin-right: 15px;
    color: var(--team-primary-color, #007bff);
    font-size: 1.2rem;
}

    color: var(--text-secondary);
    margin-bottom: 2px;
}

    font-weight: 600;
    color: var(--text-primary);
}

/* Stadium location card */
.stadium-location-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background-color: var(--bg-primary);
}

.map-iframe-container {
    width: 100%;
    height: 400px;
    border-radius: 0;
    margin-top: 0;
}

.stadium-address {
    padding: 15px 20px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.stadium-address h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.stadium-address p {
    margin: 0;
    color: var(--text-secondary);
}

/* Social media links */
.social-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: var(--team-primary-color, #007bff);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--team-secondary-color, #6c757d);
    text-decoration: underline;
}

.social-link i {
    margin-right: 8px;
}

/* Responsive styling */
@media (max-width: 992px) {
    .quick-stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    }
    
        margin-bottom: 5px;
    }
    
    .quick-stats-dashboard {
        grid-template-columns: 1fr;
    }
    
    }
    
    }
    
    }
}

/* CSS Variables for team colors */

