.skeleton-container {
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 8px;
}

.skeleton-avatar,
.skeleton-line {
    background-color: #e0e0e0;
    background-image: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-lines {
    flex: 1;
    min-width: 0;
}

.skeleton-line {
    height: 16px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-line--title {
    width: 60%;
}

.skeleton-line--text {
    width: 90%;
}

.perfil-skeleton {
    display: block;
    min-height: 310px;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.6rem 1.6rem rgba(0, 26, 70, 0.17);
}

.perfil-skeleton-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 112px;
    margin-bottom: 1rem;
}

.perfil-skeleton-avatar {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
}

.perfil-skeleton-welcome {
    width: 30%;
}

.perfil-skeleton-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.perfil-skeleton-actions .skeleton-line {
    width: 92px;
    height: 36px;
    margin-bottom: 0;
}

.perfil-skeleton-card {
    padding: 1rem;
    border: 1px solid #dce6f3;
    border-radius: 1rem;
    background: #f9fbfe;
}

.perfil-skeleton-heading {
    width: 32%;
    height: 22px;
    margin-bottom: 1rem;
}

.perfil-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.perfil-skeleton-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid #dce6f3;
    border-radius: 0.6rem;
    background: #fff;
}

.perfil-skeleton-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.perfil-skeleton-item .skeleton-line {
    height: 10px;
    margin-bottom: 5px;
}

.perfil-skeleton-item .skeleton-line--label {
    width: 45%;
}

.perfil-skeleton-item .skeleton-line--text {
    width: 70%;
}

.perfil-skeleton-footer {
    width: 35%;
    margin: 1.25rem auto 0;
}

.consulta-table-skeleton-host {
    position: relative;
}

.consulta-table-skeleton-host.is-loading {
    min-height: 250px;
}

.consulta-table-skeleton {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: #fff;
}

.consulta-skeleton-row {
    display: grid;
    grid-template-columns: repeat(var(--consulta-columnas), minmax(0, 1fr));
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
    padding: 0.35rem 0.25rem;
    border-bottom: 1px solid #e8edf3;
}

.consulta-skeleton-row:first-child {
    min-height: 48px;
    background: #f8f9fa;
}

.consulta-skeleton-row .skeleton-line {
    width: 80%;
    height: 14px;
    margin-bottom: 0;
}

.consulta-skeleton-row:nth-child(odd) .skeleton-line:nth-child(even) {
    width: 55%;
}

.module-table-skeleton-host {
    position: relative;
}

.module-table-skeleton-host.is-loading {
    min-height: 250px;
}

.module-table-skeleton {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background: #fff;
}

.module-skeleton-row {
    display: grid;
    grid-template-columns: repeat(var(--skeleton-columns), minmax(0, 1fr));
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
    padding: 0.35rem 0.25rem;
    border-bottom: 1px solid #e8edf3;
}

.module-skeleton-row:first-child {
    min-height: 48px;
    background: #f8f9fa;
}

.module-skeleton-row .skeleton-line {
    width: 80%;
    height: 14px;
    margin-bottom: 0;
}

.module-skeleton-row:nth-child(odd) .skeleton-line:nth-child(even) {
    width: 55%;
}

[data-skeleton-content][hidden],
[data-skeleton-placeholder][hidden] {
    display: none !important;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-avatar,
    .skeleton-line {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .perfil-skeleton-header {
        flex-wrap: wrap;
    }

    .perfil-skeleton-welcome {
        flex: 1 1 calc(100% - 104px);
    }

    .perfil-skeleton-actions {
        width: 100%;
        margin-left: 0;
    }

    .perfil-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 479.98px) {
    .perfil-skeleton-grid {
        grid-template-columns: 1fr;
    }
}
