/* Kontener dla sekcji */
.ekipa-container {
    display       : flex;
    flex-direction: column;
    gap           : 12px;
    margin-bottom : 20px;
    padding       : 10px;
}

/* Duże, wyraźne nagłówki sekcji */
.section-header {
    width         : 100%;
    text-align    : center;
    color         : #ffa51a;
    font-size     : 18px;
    font-weight   : bold;
    text-transform: uppercase;
    margin        : 15px 0 0 0;
    letter-spacing: 3px;
    text-shadow   : 0 0 25px rgba(0, 255, 21, 0.774);
    font-family   : 'Arial Black', Gadget, sans-serif;
}

/* Nowoczesna karta profilu */
.ekipa-card {
    display        : flex;
    background     : rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(5px);
    border         : 1px solid #ffa51a;
    border-radius  : 15px;
    overflow       : hidden;
    animation      : cardFadeIn 0.6s ease-out backwards;
    box-shadow     : 0 8px 20px rgba(0, 0, 0, 0.4);
    max-width      : 800px;
    margin         : 0 auto;
    width          : 100%;
}

/* Lewa strona - Awatar i Status */
.ekipa-avatar-box {
    width          : 140px;
    padding        : 15px;
    background     : rgba(0, 0, 0, 0.2);
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    border-right   : 1px solid rgba(255, 255, 255, 0.05);
}

.ekipa-avatar-box img {
    width        : 90px;
    height       : 90px;
    border-radius: 12px;
    border       : 0px solid #ffa51a;
    object-fit   : cover;
    box-shadow   : 0 0 25px rgba(255, 165, 26, 0.3);
}

/* Prawa strona - Informacje */
.ekipa-info {
    flex                 : 1;
    padding              : 15px;
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap                  : 10px;
    align-content        : center;
}

.info-item {
    display       : flex;
    flex-direction: column;
    gap           : 2px;
}

.info-label {
    font-size     : 10px;
    color         : #ffa51a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size  : 14px;
    color      : #fff;
    font-weight: bold;
    display    : flex;
    align-items: center;
    gap        : 8px;
}

/* Statusy z poświatą */
.status-badge {
    margin-top    : 10px;
    font-size     : 12px;
    padding       : 4px 12px;
    border-radius : 20px;
    font-weight   : bold;
    text-transform: uppercase;
}

.status--active {
    background: rgba(48, 131, 48, 0.2);
    color     : #44ff44;
    border    : 1px solid #308330;
    box-shadow: 0 0 10px rgba(48, 131, 48, 0.4);
}

.status--on-leave {
    background: rgba(128, 0, 0, 0.2);
    color     : #ff4444;
    border    : 1px solid #800000;
    box-shadow: 0 0 10px rgba(128, 0, 0, 0.4);
}

.status--trial {
    background: rgba(255, 102, 0, 0.2);
    color     : #ffaa00;
    border    : 1px solid #ff6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.4);
}

/* Ikony Social Media */
.social-row {
    grid-column: 1 / -1;
    margin-top : 5px;
    padding-top: 5px;
    border-top : 1px solid rgba(255, 255, 255, 0.05);
    display    : flex;
    gap        : 20px;
}

/* Nowa komórka na herb */
.crest-col {
    display        : flex;
    align-items    : center;
    justify-content: center;
}

.city-crest {
    width     : 35px;
    height    : auto;
    margin-top: 0;
    filter    : drop-shadow(0 0 15px rgba(255, 165, 26, 0.4));
}

@keyframes cardFadeIn {
    from {
        opacity  : 0;
        transform: translateY(20px);
    }

    to {
        opacity  : 1;
        transform: translateY(0);
    }
}