/**
 * Teams Module Public Styles
 * Following Material UI and Tailwind principles for modern UI/UX
 */

/* Teams Grid */
.cmp-teams-container {
    margin: 32px 0;
}

.cmp-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.cmp-team-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.cmp-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.cmp-team-card-header {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cmp-team-badge {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fff;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-team-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.cmp-team-card-body {
    padding: 48px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cmp-team-name {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    text-align: center;
    color: #3c4043;
}

.cmp-team-details {
    margin-top: auto;
}

.cmp-team-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #5f6368;
}

.cmp-team-detail-icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Single Team Page */
.cmp-single-team {
    margin: 32px 0;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #8B0000, #9A1A1A, #AA2E2E, #BB4242, #CC5656);
    padding: 10px 20px;
    height: 100px;
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

.logo img {
    height: 80px;
    width: auto;
}

.left-logo, .right-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-team-header-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.cmp-team-header-title {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.cmp-team-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.cmp-team-info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.cmp-team-info-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 16px 0;
    color: #3c4043;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.cmp-team-info-item {
    display: flex;
    margin-bottom: 12px;
}

.cmp-team-info-label {
    font-weight: 500;
    width: 120px;
    color: #5f6368;
}

.cmp-team-info-value {
    flex: 1;
}

.cmp-team-colors-display {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.cmp-team-color-box {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .cmp-teams-grid {
        grid-template-columns: 1fr;
    }
    
    .cmp-team-header {
        height: 200px;
    }
}
