/* ==========================================================
   GHR Pulse - Modo Operação
========================================================== */

.operation-hero {

    border-radius: 14px;

}

.hero-image {

    height: 65px;

    object-fit: cover;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(90deg,
            rgba(0, 0, 0, .65),
            rgba(0, 0, 0, .20));

}

.hero-content {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    padding: 8px 18px;

    color: white;

}

.kpi-card-compact {

    border-radius: 12px;

    transition: .15s;

}

.kpi-card-compact:hover {

    transform: translateY(-2px);

}

.kpi-card-compact .card-body {

    min-height: 64px;

}

.action-card {

    border-radius: 14px;

    min-height: 120px;

}

.search-box {

    height: 44px;

    border-radius: 10px;

}

.feed-item {

    border-left: 3px solid #0d6efd;

    padding-left: 10px;

    margin-bottom: 10px;

}

.reception-sidebar {

    position: sticky;

    top: 10px;

    max-height: calc(100vh - 20px);

    overflow-y: auto;

    scrollbar-width: thin;

}

/* ==========================================================
   GHR Pulse - Tabela de Atendimentos Operacionais
========================================================== */


.present-table-wrapper {

    max-height: 420px;

    overflow-y: auto;

}


.present-table {

    font-size: .82rem;

}


.present-table th {

    font-size: .75rem;

    text-transform: uppercase;

    white-space: nowrap;

    padding: .35rem .45rem;

}


.present-table td {

    padding: .35rem .45rem;

    vertical-align: middle;

}


.present-table .badge {

    font-size: .68rem;

    padding: .3rem .45rem;

}


.present-table button {

    padding: .15rem .35rem;

}


.observation-cell {

    max-width: 140px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.entry-cell {

    white-space: nowrap;

}


.present-list-card .card-header {

    min-height: 42px;

}


/* ==========================================================
   Ajuste fino - tabela operacional recepção
========================================================== */


.present-table th:nth-child(2),
.present-table td:nth-child(2) {

    width: 110px;

}


.present-table th:nth-child(4),
.present-table td:nth-child(4) {

    width: 100px;

}


.present-table th:nth-child(6),
.present-table td:nth-child(6) {

    width: 180px;

}


.present-table-wrapper {

    max-height: 520px;

}


.present-table td {

    line-height: 1.15;

}



/* ==========================================================
   GHR Pulse - Ajuste tabela recepção
   Nome e ações compactas
========================================================== */


.present-table td:nth-child(2) {

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    max-width: 130px;

}


.present-table td:nth-child(4) {

    white-space: nowrap;

}


.present-table td:nth-child(7) {

    white-space: nowrap;

}


.present-table button.finish-visitor {

    width: 32px;

    height: 32px;

    padding: 0;

}


.present-table button.finish-visitor i {

    margin: 0;

}


.present-table td {

    height: 38px;

}



/* ==========================================================
   GHR Pulse - Ajuste final tabela recepção
========================================================== */


.present-table th:first-child,
.present-table td:first-child {

    width: 90px;

}


.present-table th:nth-child(2),
.present-table td:nth-child(2) {

    width: 150px;

}


.present-table th:nth-child(3),
.present-table td:nth-child(3) {

    width: 65px;

}


.present-table th:nth-child(4),
.present-table td:nth-child(4) {

    width: 85px;

}


.present-table .badge {

    font-size: .62rem;

    padding: .22rem .38rem;

}


.present-table td.fw-semibold {

    font-size: .86rem;

}


.present-table th:nth-child(5),
.present-table td:nth-child(5) {

    min-width: 170px;

}


