.flow-status {
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #b9dfe5;
    border-radius: 9px;
    background: #eef9fb;
    color: #174b55;
}

.edia_oportunidad-process-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
    padding: 24px;
    background: var(--surface-200);
    overflow: visible;
}

.edia_oportunidad-process-form-page {
    min-height: auto;
    padding-bottom: 36px;
}

.contenido-shadow:has(.edia_oportunidad-process-page) {
    background: var(--surface-200);
}

.edia_oportunidad-process-page .table-page {
    min-height: auto;
    padding: 0;
}

.edia_oportunidad-process-page .table-footer {
    margin-top: auto;
}

.process-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.process-status--0 { background: #fde8e7; color: #9f2929; }

.process-status--1 { background: #e1f4e9; color: #176a3a; }

.process-status--2 { background: #fff2c7; color: #755500; }

.process-table th,
.process-table td {
    min-width: 140px;
}

.process-table th:first-child,
.process-table td:first-child {
    width: 1%;
    min-width: 0;
    padding-right: 10px !important;
    padding-left: 10px !important;
    white-space: nowrap;
}

.process-table th:nth-child(4),
.process-table td:nth-child(4),
.process-table th:nth-child(5),
.process-table td:nth-child(5) {
    width: 1%;
    min-width: 0;
    padding-right: 10px !important;
    padding-left: 10px !important;
    white-space: nowrap;
}

.process-table td:nth-child(4) {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
}

.process-table th.action-cell,
.process-table td.action-cell {
    min-width: 54px;
}

.process-form {
    max-width: 980px;
    margin: 0 auto;
}

.process-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-form textarea.form-control {
    resize: vertical;
}

.process-label-with-help {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.form-card .process-label-with-help .col-form-label {
    margin-bottom: 0;
}

.process-hours-help {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #9fb7c2;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-500);
    cursor: help;
    font: 700 .75rem/1 Georgia, serif;
}

.process-hours-help:hover,
.process-hours-help:focus-visible,
.process-hours-help.is-visible {
    border-color: var(--primary-500);
    background: var(--primary-500);
    color: #fff;
    outline: none;
}

.process-hours-help:focus-visible {
    box-shadow: 0 0 0 3px rgba(15, 142, 162, .2);
}

.process-hours-tooltip {
    position: fixed;
    z-index: 1000;
    top: var(--process-tooltip-top, 0);
    left: var(--process-tooltip-left, 0);
    display: block;
    width: max-content;
    max-width: min(360px, calc(100vw - 32px));
    padding: 9px 11px;
    border-radius: 8px;
    background: #243746;
    color: #fff;
    box-shadow: 0 8px 24px rgba(23, 32, 46, .22);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s;
}

.process-hours-help.is-visible .process-hours-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .process-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .edia_oportunidad-process-page {
        min-height: auto;
        padding: 24px 16px;
    }
    .edia_oportunidad-process-form-page {
        padding-bottom: 36px;
    }
}
