/* ==========================================================================
   Profile — foto de perfil preview y check de remove
   ========================================================================== */

.profile-photo-preview {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.remove-photo-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-photo-check .form-check-input {
    margin-top: 0;
    width: 1.2rem;
    height: 1.2rem;
}

@media (max-width: 576px) {
    .profile-photo-preview {
        width: 120px;
        height: 120px;
    }

    .remove-photo-check {
        justify-content: center;
    }
}


/* Variante reducida del profile-photo-preview (Dashboard público — 80×80) */
.profile-photo-preview--small {
    width: 80px;
    height: 80px;
    object-fit: cover;
}


/* ==========================================================================
   Profile photo edit — imagen + input file + checkbox de quitar
   ==========================================================================
   Layout: imagen a la izquierda, controles apilados a la derecha en
   desktop. En mobile (< md) se apila vertical (imagen arriba centrada,
   controles abajo full-width).
   El bloque vive bajo el label "Foto de perfil" y reúne todos los
   controles relacionados a la foto en un solo grupo.
   ========================================================================== */

.profile-photo-edit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.profile-photo-edit__controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    width: 100%;
    text-align: left;
}

.profile-photo-edit__controls .form-text {
    margin: 0;
}

@media (min-width: 768px) {
    .profile-photo-edit {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
}
