/**
 * @license Copyright 2024 Lahuen Health SPA. All Rights Reserved.
 */

/* Anchos de tabla */

.m-patient-discharge .c-table-header__cell--destination {
    width: 7.8rem;
}

.m-patient-discharge .c-table-header__cell--patientinfo {
    width: 17rem;
}

.m-patient-discharge .c-table-header__cell--diagnosis {
    width: 14rem;
}

.m-patient-discharge :is(.c-table-header__cell--evaluacion-sociosanitaria, .c-table-header__cell--cupo-prealta, .c-table-header__cell--citas-control, .c-table-header__cell--entrega-medicamentos, .c-table-header__cell--solictud-movilizacion ) {
    width: 11rem;
}

.m-patient-discharge  .c-table-header__cell--actions {
    width: 9.5rem;
}

/* Alerta tiempo */

.m-patient-discharge .c-formatted-duration {
    display: flex;
    align-items: baseline;
}

.m-patient-discharge .c-formatted-duration__icon {
    width: .7rem;
    height: .7rem;
}

/* Información de paciente */

.m-patient-discharge :is(.c-formatted-patientinfo__item--run, .c-formatted-patientinfo__item--age, .c-formatted-patientinfo__item--sex, .c-formatted-bpmtask__user),
:is(.c-table-body__cell--limpieza, .c-table-body__cell--preparacioncupo, .c-table-body__cell--preparacionpaciente, .c-table-body__cell--traslado-paciente) .c-formatted-duration {
    color: var(--gray-d);
}

/* Estados */

.m-patient-discharge .c-formatted-bpmtask__state {
	display: flex;
	align-items: center;
}

.m-patient-discharge .c-formatted-bpmtask__state:before {
	content: "";
	width: 1.5rem;
	height: 1.5rem;
	-webkit-mask: no-repeat;
	margin-right: .5rem;
	background-color: var(--primary-d-normal);
	align-self: flex-end;
}

.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--0:before {
    content: none;
}

.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--1:before {
	-webkit-mask-image: url('/assets/skins/lahuen/base/images/icon_account_circle.svg');
}

.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--2:before {
	-webkit-mask-image: url('/assets/skins/lahuen/base/images/icon_three_dots.svg');
}
.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--3:before {
	-webkit-mask-image: url('/assets/skins/lahuen/base/images/icon_check.svg');
	width: 1.2rem;
    height: 1.2rem;
}
.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--none:before {
	-webkit-mask-image: url('/assets/skins/lahuen/base/images/icon_circle.svg');
}
