.atleta-foto-perfil-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.atleta-foto-preview-wrap {
    position: relative;
    flex-shrink: 0;
}

.atleta-foto-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #e9ecef;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.atleta-foto-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atleta-foto-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #dee2e6 0%, #ced4da 100%);
    color: #6c757d;
    font-size: 2.75rem;
}

.atleta-foto-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.atleta-foto-cropper-wrap {
    max-height: 60vh;
    background: #212529;
    border-radius: 8px;
    overflow: hidden;
}

.atleta-foto-cropper-wrap img {
    display: block;
    max-width: 100%;
}

#modalRecorteFotoPerfil {
    z-index: 1060;
}

#modalRecorteFotoPerfil .modal-content {
    height: auto;
    max-height: none;
}

#modalRecorteFotoPerfil .modal-body {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    #modalRecorteFotoPerfil .atleta-foto-recorte-dialog {
        max-width: calc(100vw - 1.25rem);
        margin: 0.75rem auto;
    }

    #modalRecorteFotoPerfil .atleta-foto-cropper-wrap {
        max-height: min(50vh, 300px);
        min-height: 0;
    }

    #modalRecorteFotoPerfil .modal-footer {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    #modalRecorteFotoPerfil .modal-footer .btn {
        flex: 1 1 50%;
    }
}

.atleta-foto-show {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
