/* ============================================================
   LifeTrack - Estilos da telemedicina no dashboard do paciente
   Arquivo: paciente_telemedicina.css
   ============================================================ */

:root {
    --patient-red: #d71920;
    --patient-red-dark: #a80f15;
    --patient-red-soft: #fff0f1;
    --patient-black: #111111;
    --patient-gray: #666666;
    --patient-border: #e7e7e7;
}

.patient-telemedicine-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 7px;
    padding: 5px 9px;
    border: 1px solid #f3b9bc;
    border-radius: 999px;
    color: var(--patient-red-dark);
    background: var(--patient-red-soft);
    font-size: 12px;
    font-weight: 800;
}

.patient-telemedicine-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.patient-telemedicine-status.waiting {
    color: #765d00;
    background: #fff7d6;
}

.patient-telemedicine-status.ready {
    color: #146c3a;
    background: #e8f8ef;
}

.patient-telemedicine-status.active {
    color: #ffffff;
    background: var(--patient-red);
}

.patient-telemedicine-status.finished {
    color: #555555;
    background: #eeeeee;
}

.patient-telemedicine-status.absent {
    color: #8d2323;
    background: #ffe1e1;
}

.patient-telemedicine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.patient-enter-telemedicine {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border: 1px solid var(--patient-red);
    color: #ffffff;
    background: var(--patient-red);
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.patient-enter-telemedicine:hover:not(:disabled) {
    border-color: var(--patient-red-dark);
    background: var(--patient-red-dark);
    transform: translateY(-1px);
}

.patient-enter-telemedicine:disabled {
    border-color: var(--patient-border);
    color: var(--patient-gray);
    background: #f2f2f2;
    cursor: not-allowed;
    opacity: 1;
}

.patient-next-telemedicine {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 13px;
    padding: 11px 13px;
    border-left: 4px solid var(--patient-red);
    border-radius: 7px;
    color: var(--patient-red-dark);
    background: var(--patient-red-soft);
    font-size: 13px;
    font-weight: 800;
}

.patient-next-telemedicine small {
    color: var(--patient-gray);
    font-size: 12px;
    font-weight: 600;
}

body.dark-mode .patient-telemedicine-badge,
body[data-theme="dark"] .patient-telemedicine-badge {
    border-color: #733238;
    color: #ff9da1;
    background: #351b1d;
}

body.dark-mode .patient-enter-telemedicine:disabled,
body[data-theme="dark"] .patient-enter-telemedicine:disabled {
    border-color: #3d3d3d;
    color: #a9a9a9;
    background: #292929;
}

body.dark-mode .patient-next-telemedicine,
body[data-theme="dark"] .patient-next-telemedicine {
    color: #ff9da1;
    background: #351b1d;
}

@media (max-width: 700px) {
    .patient-telemedicine-badge,
    .patient-telemedicine-status {
        font-size: 11px;
    }

    .patient-telemedicine-actions,
    .patient-enter-telemedicine {
        width: 100%;
    }
}
