/****************************************************************************************
*
* Sistema            : Picking Soprole
* Módulo             : Picking
* Archivo            : ps-picking.css
* Descripción        : Estilos finales y responsive de la pantalla operacional Picking Soprole.
*
* Programador        : Freddy A. Gallegos Monsalve
* Arquitectura       : OpenAI ChatGPT
*
* Fecha Creación     : 08/07/2026
* Fecha Ult. Modif.  : 10/07/2026
* Versión            : 7.4.0
*
****************************************************************************************/

html,
body {
    height: 100%;
    overflow: hidden;
}

body.ps-body {
    background: #eef2f7;
}

.wrapper {
    height: 100vh;
    overflow: hidden;
}

.content-wrapper {
    height: calc(100vh - 52px);
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.content,
.ps-content,
.container-fluid,
.ps-container-fluid {
    padding: 0 !important;
}

/* NAVBAR */

.ps-topbar {
    height: 52px !important;
    background: #ed0016 !important;
    display: grid !important;
    grid-template-columns: 56px 1fr 130px !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-bottom: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.18) !important;
}

.ps-menu-btn {
    width: 38px !important;
    height: 38px !important;
    background: #ffffff !important;
    color: #ed0016 !important;
    border: none !important;
    border-radius: 9px !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ps-brand,
.ps-brand-logo {
    display: none !important;
}

.ps-brand-text {
    color: #ffffff !important;
    background: transparent !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    letter-spacing: 8px !important;
    text-align: center !important;
    line-height: 1 !important;
}

.ps-topbar-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    text-align: right !important;
}

/* PANTALLA */

.ps-picking-page {
    height: 100%;
    padding: 12px 22px 150px 22px !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

/* PANELES */

.ps-scan-panel,
.ps-work-card,
.ps-actions-panel {
    background: #ffffff;
    border: 1px solid #e1e9f3;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

/* PANEL SUPERIOR */

.ps-scan-panel {
    padding: 14px 18px;
}

.ps-scan-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ps-scan-title i {
    font-size: 34px;
    color: #0054b8;
}

.ps-scan-title h2 {
    margin: 0;
    color: #004b9b;
    font-size: 25px;
    font-weight: 900;
}

/* OCULTA CUADRO DE INGRESO SUPERIOR */

.ps-scan-box {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
}

.ps-input-scan,
#codigo,
#codigo_qr {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: transparent !important;
    caret-color: transparent !important;
}

/* GRILLA CENTRAL */

.ps-work-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: 0;
}

.ps-work-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* TÍTULOS */

.ps-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ps-card-title i {
    font-size: 36px;
    color: #0054b8;
}

.ps-card-title h3 {
    margin: 0;
    color: #004b9b;
    font-size: 27px;
    font-weight: 900;
}

.ps-title-between {
    justify-content: space-between;
}

.ps-title-between > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps-title-between > div > i {
    color: #13a538;
}

.ps-title-between span {
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

/* ESTADOS VACÍOS */

.ps-empty-box {
    flex: 1;
    min-height: 0;
    border: 2px dashed #c8d6e8;
    border-radius: 14px;
    background: #ffffff;
    color: #8da5c8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ps-empty-icon-large {
    font-size: 120px;
    margin-bottom: 22px;
    color: #9bb0ce;
}

.ps-empty-box strong {
    color: #061b3a;
    font-size: 36px;
    font-weight: 900;
}

.ps-empty-box span {
    color: #50627d;
    font-size: 22px;
}

/* HOJA */

.ps-hoja-ok {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: left;
}

.ps-hoja-ok i {
    color: #13a538;
    font-size: 110px;
}

.ps-hoja-ok strong {
    color: #061b3a;
    font-size: 36px;
    font-weight: 900;
}

.ps-hoja-ok span {
    color: #50627d;
    font-size: 21px;
}

/* COLABORADORES */

.ps-col-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.ps-colaborador-item {
    border: 1px solid #e5edf6;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: ps-item-in .22s ease-out;
}

.ps-colaborador-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ps-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eafaf0;
    color: #13a538;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ps-colaborador-item strong {
    color: #061b3a;
    font-size: 21px;
    font-weight: 900;
}

.ps-colaborador-item span {
    color: #64748b;
    font-size: 14px;
}

/* BOTONES */

.ps-actions-panel {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ps-btn-outline,
.ps-btn-primary {
    min-height: 62px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: 900;
}

.ps-btn-outline {
    background: #ffffff;
    border: 2px solid #0054b8;
    color: #004b9b;
}

.ps-btn-outline:hover {
    background: #0054b8;
    color: #ffffff;
}

.ps-btn-primary {
    background: #ed0016;
    border: 2px solid #ed0016;
    color: #ffffff;
}

.ps-btn-primary:hover {
    background: #c90011;
    border-color: #c90011;
    color: #ffffff;
}

.ps-btn-primary:disabled {
    background: #ffffff;
    border-color: #7b8794;
    color: #7b8794;
}

.ps-btn-danger-outline,
.ps-btn-danger-small {
    background: #ffffff;
    border: 2px solid #ed0016;
    color: #ed0016;
    border-radius: 8px;
    font-weight: 900;
}

.ps-btn-danger-outline {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
}

.ps-btn-danger-small {
    padding: 7px 12px;
}

.ps-btn-danger-outline:hover,
.ps-btn-danger-small:hover {
    background: #ed0016;
    color: #ffffff;
}

/* ZONA INFERIOR DEL LECTOR */





/* MODALES */

.swal2-popup {
    border-radius: 18px !important;
    font-size: 18px !important;
}

.swal2-title {
    font-size: 30px !important;
    font-weight: 900 !important;
}

.swal2-html-container,
.swal2-content {
    font-size: 20px !important;
    font-weight: 600 !important;
}

/* FOOTER */

.main-footer {
    display: none !important;
}

/* ANIMACIONES */

@keyframes ps-item-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .ps-work-grid,
    .ps-actions-panel {
        grid-template-columns: 1fr;
    }

    .ps-picking-page {
        padding-bottom: 14px !important;
    }
}

/****************************************************************************************
* AJUSTES ESTABLES VERSION 6.3.0
* --------------------------------------------------------------------------------------
* Esta versión NO rompe el input del lector.
* El input queda disponible y enfocable, pero visualmente casi invisible.
****************************************************************************************/

/* Ocultar botón limpiar lista colaboradores */
#btn_limpiar_lista {
    display: none !important;
}

/* Dejar el panel superior compacto */
.ps-scan-panel {
    padding: 12px 18px !important;
}

.ps-scan-title {
    margin-bottom: 0 !important;
}

/* Mantener caja de input viva, pero invisible */
.ps-scan-box {
    height: 1px !important;
    min-height: 1px !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0.01 !important;
    overflow: hidden !important;
}

/* Input real del lector: visible para el navegador, invisible para el usuario */
#codigo_qr,
.ps-input-scan {
    width: 1px !important;
    height: 1px !important;
    opacity: 0.01 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    color: transparent !important;
    caret-color: transparent !important;
    background: transparent !important;
}

/* Cajas principales más altas */
.ps-picking-page {
    padding: 12px 22px 165px 22px !important;
}

.ps-work-grid {
    flex: 1.25 !important;
}

.ps-work-card {
    min-height: 390px !important;
}

.ps-empty-box,
.ps-hoja-ok {
    min-height: 320px !important;
}

.ps-actions-panel {
    margin-top: 22px !important;
}

/* Botones deshabilitados */
.ps-btn-outline:disabled,
.ps-btn-primary:disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
    background: #ffffff !important;
    color: #7b8794 !important;
    border-color: #7b8794 !important;
}










/* Sin footer */
.main-footer {
    display: none !important;
}


/****************************************************************************************
* AJUSTES VISUALES VERSION 6.5.1
* --------------------------------------------------------------------------------------
* - Código de barras más arriba.
* - Animación de degradado horizontal.
* - Sin efecto de agrandar / achicar.
****************************************************************************************/











/****************************************************************************************
* AJUSTES FINALES VERSION 7.1.0
* --------------------------------------------------------------------------------------
* - Iniciar Picking se controla desde JS con hoja + colaborador.
* - Lista de colaboradores con scroll interno desde el tercero.
* - Scanner inferior separado y con brillo horizontal suave.
****************************************************************************************/

/* Colaboradores: permite más de 2 con scroll interno */
.ps-col-list {
    flex: 1 !important;
    min-height: 0 !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
}

.ps-col-list::-webkit-scrollbar {
    width: 8px;
}

.ps-col-list::-webkit-scrollbar-track {
    background: #edf2f7;
    border-radius: 10px;
}

.ps-col-list::-webkit-scrollbar-thumb {
    background: #c5cdd8;
    border-radius: 10px;
}

.ps-colaborador-item {
    min-height: 82px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
}

.ps-colaborador-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, .08);
}

/* Botones */
.ps-actions-panel {
    margin-top: 20px !important;
}

.ps-btn-outline,
.ps-btn-primary {
    min-height: 66px !important;
}

.ps-btn-outline:disabled,
.ps-btn-primary:disabled {
    background: #ffffff !important;
    border-color: #b8c2cc !important;
    color: #9aa5b1 !important;
    opacity: .70 !important;
    cursor: not-allowed !important;
}

/****************************************************************************************
* COMPONENTE PS-SCANNER - VERSION DEFINITIVA 7.2.0
* --------------------------------------------------------------------------------------
* Componente HTML real, reutilizable y sin pseudo-elementos acumulados.
* La flecha baja y sube suavemente para dirigir la lectura hacia el escáner físico.
****************************************************************************************/

.ps-picking-page {
    padding-bottom: 172px !important;
}

.ps-scanner {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
    user-select: none;
}

.ps-scanner-message {
    min-width: 520px;
    padding: 16px 58px;
    border-radius: 999px;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(
            110deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0) 36%,
            rgba(255,255,255,.44) 48%,
            rgba(255,255,255,0) 60%,
            rgba(255,255,255,0) 100%
        ),
        linear-gradient(90deg, #a9000f 0%, #d30015 38%, #ed0016 64%, #be0011 100%);
    background-size: 280% 100%, 100% 100%;
    box-shadow:
        0 10px 24px rgba(237, 0, 22, .28),
        0 0 22px rgba(237, 0, 22, .16);
    animation: psScannerShine 2.8s linear infinite !important;
}

.ps-scanner-message strong,
.ps-scanner-message span {
    display: block;
}

.ps-scanner-message strong {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .5px;
}

.ps-scanner-message span {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.ps-scanner-arrow {
    width: 58px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ed0016;
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(0 5px 8px rgba(237, 0, 22, .22));
    will-change: transform;
    animation: psScannerArrow 1.45s ease-in-out infinite !important;
}

@keyframes psScannerArrow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(11px);
    }
}

@keyframes psScannerShine {
    0% {
        background-position: -180% 0, 0 0;
    }

    100% {
        background-position: 180% 0, 0 0;
    }
}


@media (max-width: 992px) {
    .ps-scanner {
        display: none;
    }

    .ps-picking-page {
        padding-bottom: 14px !important;
    }
}

/****************************************************************************************
* RESPONSIVE DEFINITIVO PICKING - VERSION 7.3.0
****************************************************************************************/

@media (max-height: 860px) and (min-width: 993px) {
    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .wrapper,
    .ps-wrapper {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .content-wrapper,
    .ps-content-wrapper {
        height: auto !important;
        min-height: calc(100vh - 52px) !important;
        overflow: visible !important;
    }

    .ps-picking-page {
        height: auto !important;
        min-height: calc(100vh - 52px) !important;
    }

    .ps-work-card {
        min-height: 320px !important;
    }

    .ps-empty-box,
    .ps-hoja-ok {
        min-height: 250px !important;
    }

    .ps-empty-icon-large {
        font-size: 88px !important;
        margin-bottom: 16px !important;
    }

    .ps-empty-box strong,
    .ps-hoja-ok strong {
        font-size: 30px !important;
    }

    .ps-empty-box span,
    .ps-hoja-ok span {
        font-size: 18px !important;
    }

    .ps-scanner {
        bottom: 14px !important;
    }

    .ps-scanner-message {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

@media (max-width: 992px) {
    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body.ps-body {
        min-width: 320px;
    }

    .wrapper,
    .ps-wrapper {
        height: auto !important;
        min-height: 100vh !important;
        overflow: visible !important;
    }

    .content-wrapper,
    .ps-content-wrapper {
        height: auto !important;
        min-height: calc(100vh - 52px) !important;
        overflow: visible !important;
    }

    .content,
    .ps-content,
    .container-fluid,
    .ps-container-fluid {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .ps-topbar {
        grid-template-columns: 52px 1fr 96px !important;
        padding: 0 8px !important;
    }

    .ps-brand-text {
        font-size: clamp(23px, 5vw, 31px) !important;
        letter-spacing: clamp(3px, 1vw, 6px) !important;
    }

    .ps-topbar-title {
        font-size: 14px !important;
    }

    .ps-picking-page {
        height: auto !important;
        min-height: calc(100vh - 52px) !important;
        padding: 12px 14px 24px !important;
        overflow: visible !important;
    }

    .ps-work-grid {
        flex: none !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .ps-work-card {
        min-height: auto !important;
        padding: 18px !important;
    }

    .ps-empty-box,
    .ps-hoja-ok {
        min-height: 260px !important;
    }

    .ps-col-list {
        max-height: 340px !important;
        min-height: 260px !important;
    }

    .ps-actions-panel {
        grid-template-columns: 1fr 1fr !important;
        margin-top: 0 !important;
        gap: 12px !important;
    }

    .ps-btn-outline,
    .ps-btn-primary {
        min-height: 58px !important;
        font-size: 21px !important;
    }

    .ps-scanner {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        margin: 6px auto 8px !important;
        display: flex !important;
    }

    .ps-scanner-message {
        width: min(100%, 560px) !important;
        min-width: 0 !important;
        padding: 14px 30px !important;
    }
}

@media (max-width: 768px) {
    .ps-topbar {
        grid-template-columns: 48px 1fr 72px !important;
        height: 52px !important;
    }

    .ps-menu-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }

    .ps-brand-text {
        font-size: clamp(21px, 7vw, 28px) !important;
        letter-spacing: clamp(2px, 1vw, 4px) !important;
    }

    .ps-topbar-title {
        font-size: 12px !important;
    }

    .ps-scan-panel {
        padding: 12px 14px !important;
    }

    .ps-scan-title {
        gap: 10px !important;
    }

    .ps-scan-title i {
        font-size: 27px !important;
    }

    .ps-scan-title h2 {
        font-size: 20px !important;
    }

    .ps-card-title {
        gap: 9px !important;
        margin-bottom: 12px !important;
    }

    .ps-card-title i {
        font-size: 29px !important;
    }

    .ps-card-title h3 {
        font-size: 22px !important;
    }

    .ps-title-between > div {
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .ps-work-card {
        padding: 15px !important;
    }

    .ps-empty-box,
    .ps-hoja-ok {
        min-height: 230px !important;
    }

    .ps-empty-icon-large {
        font-size: 78px !important;
        margin-bottom: 14px !important;
    }

    .ps-empty-box strong,
    .ps-hoja-ok strong {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .ps-empty-box span,
    .ps-hoja-ok span {
        padding: 0 10px;
        font-size: 17px !important;
        line-height: 1.35 !important;
    }

    .ps-hoja-ok {
        flex-direction: column !important;
        gap: 14px !important;
        text-align: center !important;
    }

    .ps-hoja-ok i {
        font-size: 76px !important;
    }

    .ps-col-list {
        min-height: 230px !important;
        max-height: 330px !important;
    }

    .ps-colaborador-item {
        min-height: auto !important;
        padding: 13px !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .ps-colaborador-info {
        min-width: 0;
    }

    .ps-colaborador-info > div:last-child {
        min-width: 0;
    }

    .ps-colaborador-item strong,
    .ps-colaborador-item span {
        overflow-wrap: anywhere;
    }

    .ps-colaborador-item strong {
        font-size: 18px !important;
    }

    .ps-colaborador-item span {
        font-size: 13px !important;
    }

    .ps-actions-panel {
        grid-template-columns: 1fr !important;
    }

    .ps-btn-outline,
    .ps-btn-primary {
        width: 100% !important;
        min-height: 56px !important;
        font-size: 20px !important;
    }

    .ps-scanner-message strong {
        font-size: 18px !important;
    }

    .ps-scanner-message span {
        font-size: 14px !important;
    }

    .ps-scanner-arrow {
        height: 40px !important;
        font-size: 36px !important;
    }

    .swal2-popup {
        width: min(94vw, 520px) !important;
        padding: 1.15em !important;
    }

    .swal2-title {
        font-size: 25px !important;
    }

    .swal2-html-container,
    .swal2-content {
        font-size: 17px !important;
    }
}

@media (max-width: 576px) {
    .ps-topbar {
        grid-template-columns: 44px 1fr !important;
        min-height: 50px !important;
        padding: 0 7px !important;
    }

    .ps-topbar-title {
        display: none !important;
    }

    .ps-brand-text {
        padding-right: 44px;
        font-size: clamp(19px, 8vw, 25px) !important;
        letter-spacing: 2px !important;
    }

    .ps-picking-page {
        padding: 10px 9px 18px !important;
        gap: 10px !important;
    }

    .ps-scan-title h2 {
        font-size: 17px !important;
    }

    .ps-work-grid {
        gap: 10px !important;
    }

    .ps-work-card {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .ps-card-title h3 {
        font-size: 19px !important;
    }

    .ps-card-title i {
        font-size: 25px !important;
    }

    .ps-title-between span {
        width: 100%;
        padding-left: 34px;
        font-size: 13px !important;
    }

    .ps-empty-box,
    .ps-hoja-ok,
    .ps-col-list {
        min-height: 205px !important;
    }

    .ps-empty-icon-large {
        font-size: 64px !important;
    }

    .ps-empty-box strong,
    .ps-hoja-ok strong {
        font-size: 22px !important;
    }

    .ps-empty-box span,
    .ps-hoja-ok span {
        font-size: 15px !important;
    }

    .ps-colaborador-item {
        flex-direction: column !important;
    }

    .ps-colaborador-item .ps-btn-danger-small {
        width: 100%;
    }

    .ps-actions-panel {
        padding: 9px !important;
        gap: 9px !important;
        border-radius: 12px !important;
    }

    .ps-btn-outline,
    .ps-btn-primary {
        min-height: 52px !important;
        font-size: 18px !important;
    }

    .ps-scanner {
        gap: 4px !important;
    }

    .ps-scanner-message {
        padding: 12px 16px !important;
        border-radius: 18px !important;
    }

    .ps-scanner-message strong {
        font-size: 15px !important;
        letter-spacing: 0 !important;
    }

    .ps-scanner-message span {
        font-size: 13px !important;
    }

    .ps-scanner-arrow {
        width: 44px !important;
        height: 34px !important;
        font-size: 31px !important;
    }

    .swal2-actions {
        width: 100%;
        gap: 8px;
    }

    .swal2-actions .swal2-styled {
        flex: 1;
        margin: 0 !important;
    }
}

@media (max-width: 380px) {
    .ps-brand-text {
        font-size: 18px !important;
        letter-spacing: 1px !important;
    }

    .ps-scan-title h2 {
        font-size: 16px !important;
    }

    .ps-empty-box strong,
    .ps-hoja-ok strong {
        font-size: 20px !important;
    }

    .ps-scanner-message strong {
        font-size: 14px !important;
    }
}

/****************************************************************************************
* TARJETA DETALLE HOJA PICKING - VERSION 7.4.0
****************************************************************************************/

.ps-hoja-detalle {
    width: 100%;
    min-height: 100%;
    padding: 18px;
    border: 1px solid #dce7f2;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: psHojaDetalleEntrada .28s ease-out;
}

.ps-hoja-validada {
    padding: 10px 13px;
    border-radius: 10px;
    background: #eafaf0;
    color: #138a36;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 900;
}

.ps-hoja-validada i {
    font-size: 21px;
}

.ps-hoja-codigo {
    padding-bottom: 13px;
    border-bottom: 1px solid #e7edf4;
    display: flex;
    align-items: center;
    gap: 13px;
}

.ps-hoja-codigo > i {
    color: #0054b8;
    font-size: 34px;
}

.ps-hoja-codigo span,
.ps-hoja-dato span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.ps-hoja-codigo strong {
    display: block;
    margin-top: 2px;
    color: #061b3a;
    font-size: 20px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.ps-hoja-datos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.ps-hoja-dato {
    min-height: 82px;
    padding: 12px;
    border: 1px solid #e2eaf3;
    border-radius: 11px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 11px;
}

.ps-hoja-dato__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ps-hoja-dato strong {
    display: block;
    margin-top: 3px;
    color: #061b3a;
    font-size: 20px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.ps-hoja-dato--centro .ps-hoja-dato__icon {
    background: #e8f1fc;
    color: #0054b8;
}

.ps-hoja-dato--fecha .ps-hoja-dato__icon {
    background: #eafaf0;
    color: #13a538;
}

.ps-hoja-dato--tipo .ps-hoja-dato__icon {
    background: #fff7e6;
    color: #d97706;
}

.ps-hoja-dato--sap .ps-hoja-dato__icon {
    background: #fff1f2;
    color: #ed0016;
}

.ps-hoja-quitar {
    width: 100%;
    min-height: 43px;
    margin-top: auto;
}

@keyframes psHojaDetalleEntrada {
    from {
        opacity: 0;
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .ps-hoja-detalle {
        padding: 13px;
        gap: 11px;
    }

    .ps-hoja-validada {
        font-size: 13px;
    }

    .ps-hoja-codigo > i {
        font-size: 28px;
    }

    .ps-hoja-codigo strong {
        font-size: 17px;
    }

    .ps-hoja-datos {
        grid-template-columns: 1fr;
    }

    .ps-hoja-dato {
        min-height: 70px;
    }

    .ps-hoja-dato strong {
        font-size: 18px;
    }
}

