/* Kanban de candidatos RH */

#view-rh { padding: 1rem; }

#rh-pipeline {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    align-items: flex-start;
}

.rh-col {
    flex: 0 0 240px;
    background: var(--col-bg, #f4f5f7);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.rh-col-header {
    padding: 0.75rem;
    border-top: 4px solid transparent;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.rh-col-count {
    opacity: 0.6;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.05);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
}

.rh-col-body {
    padding: 0.5rem;
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rh-col-over { background: rgba(9, 132, 227, 0.08); }

.rh-col-empty {
    opacity: 0.4;
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
    font-style: italic;
}

.rh-card {
    background: #fff;
    border-radius: 6px;
    padding: 0.6rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    cursor: pointer;
    user-select: none;
    transition: box-shadow 0.15s;
}

.rh-card:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.12); }
.rh-card-dragging { opacity: 0.4; }
.rh-card-locked { border-left: 3px solid #E17055; }

.rh-card-nome { font-weight: 600; margin-bottom: 0.15rem; }

.rh-card-tel,
.rh-card-vaga,
.rh-card-tempo,
.rh-card-lock {
    font-size: 0.8rem;
    opacity: 0.75;
    line-height: 1.3;
}

.rh-card-tempo { color: #E17055; }
.rh-card-lock { color: #E17055; font-weight: 600; margin-top: 0.25rem; }

/* Modal overlay — preparado pro Grupo D */
#rh-modal-overlay.hidden { display: none; }
#rh-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.rh-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 720px; width: 90vw; max-height: 85vh;
    display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.rh-modal .modal-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}
.rh-modal .modal-body {
    overflow-y: auto;
    padding: 1rem;
    flex: 1;
}
.rh-modal-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}
.rh-tab {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.rh-tab.active {
    border-bottom-color: #0984E3;
    font-weight: 600;
}
.rh-chat { display: flex; flex-direction: column; gap: 0.5rem; }
.rh-msg {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    max-width: 75%;
    font-size: 0.9rem;
}
.rh-msg-user { background: #E3F2FD; align-self: flex-end; }
.rh-msg-assistant { background: #F1F3F5; align-self: flex-start; }
.rh-msg-time { font-size: 0.7rem; opacity: 0.6; margin-top: 0.25rem; }
.rh-dados dt { font-weight: 600; margin-top: 0.5rem; }
.rh-dados dd { margin-left: 0; }
.rh-btn-override {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #E17055; color: white;
    border: none; border-radius: 4px;
    cursor: pointer;
}
.rh-confs { list-style: none; padding: 0; }
.rh-confs li {
    border-left: 3px solid #74B9FF;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    background: #F8F9FA;
    border-radius: 0 4px 4px 0;
}
.rh-conf-tipo { font-weight: 600; }
.rh-conf-msg, .rh-conf-time, .rh-conf-resposta {
    font-size: 0.85rem;
    opacity: 0.8;
}
.rh-loading, .rh-empty, .rh-error {
    padding: 2rem;
    text-align: center;
    opacity: 0.6;
}
