/**
 * Style dla strony profilu zawodnika
 */

/* Player profile */
.dartables-player-profile-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
    position: relative;
}

.dartables-player-profile-photo {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Nadpisanie stylów motywu */
.entry-content .dartables-player-profile-photo,
.entry-content .dartables-player-profile-header .dartables-player-profile-photo {
    margin: 0;
    padding: 0;
    width: 250px;
    height: 250px;
}

.dartables-player-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #F0E7D4;
    border-radius: 8px;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    vertical-align: top;
}

/* Nadpisanie stylów motywu dla zdjęć w entry-content */
.entry-content .dartables-player-profile-photo img,
.entry-content .dartables-player-profile-header .dartables-player-profile-photo img {
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: block;
    vertical-align: top;
}

.dartables-player-profile-photo-placeholder {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #F0E7D4;
    border-radius: 8px;
}

.dartables-player-profile-photo-placeholder .dashicons {
    font-size: 120px;
    width: 120px;
    height: 120px;
    color: #F0E7D4;
}

.dartables-player-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 5px;
}

.dartables-player-profile-field {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    line-height: 1.4;
}

.dartables-profile-field-label {
    color: #F0E7D4;
    font-weight: 400;
    min-width: 200px;
    flex-shrink: 0;
}

.dartables-profile-field-value {
    color: #F0E7D4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dartables-profile-field-value strong {
    color: #F0E7D4;
    font-weight: 600;
}

.dartables-profile-icon-tick,
.dartables-profile-icon-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
}

.dartables-profile-icon-tick {
    background: #46b450;
    color: #fff;
}

.dartables-profile-icon-cross {
    background: #dc3232;
    color: #fff;
}

.dartables-separator {
    border: 0;
    border-top: 2px solid #F0E7D4;
    margin: 40px 0;
}

.dartables-player-profile-achievements {
    margin-top: 0;
}

.dartables-player-profile-achievements h2 {
    font-size: 24px;
    font-weight: 600;
    color: #F0E7D4;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0E7D4;
}

.dartables-player-profile-achievements p {
    color: #F0E7D4;
    font-size: 16px;
    text-align: center;
    padding: 40px 20px;
}

/* Responsywność */
@media (max-width: 768px) {
    .dartables-player-profile-header {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .dartables-player-profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .dartables-player-profile-info {
        width: 100%;
    }
    
    .dartables-player-profile-field {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .dartables-profile-field-label {
        min-width: auto;
    }
}
