/**
* @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--hora-programada-egreso {
	width: 11rem;
}

.m-patient-discharge .c-table-header__cell--tiempo-salida-paciente {
	width: 9rem;
}

.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: 0.7rem;
	height: 0.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: 0.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,
.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--12:before {
	-webkit-mask-image: url('/assets/skins/lahuen/base/images/icon_circle.svg');
}

.m-patient-discharge .c-table-body__cell--cupo-prealta .c-formatted-state__pill {
	display: flex;
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
}

.m-patient-discharge .c-table-body__cell--cupo-prealta .c-formatted-state__pill.c-formatted-state__pill--1 {
	background-color: var(--state-finished-successfully);
	display: -webkit-box;
}

/* Horas programada */
.m-patient-discharge .c-formatted-group__child--tipo-egreso {
	font-size: 1rem;
	color: var(--gray-d);
}

/* Checklist de alta */
.m-patient-discharge .c-form-section-discharge-checklist-form__pair.c-pair {
	flex-direction: column;
}

.m-patient-discharge .c-formatted-location--area-name .c-formatted-location__label-location,
.m-patient-discharge .c-formatted-location--area-name .c-formatted-location__label-area {
	margin: 0;
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
	color: var(--gray-a);
}

/* Nueva solicitud de servicio de apoyo */
.m-patient-discharge .c-form-section-support-service-request__origin {
	flex-direction: column;
}

.m-patient-discharge .c-form-section-support-service-request__origin--text {
	margin: 0;
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
	color: var(--gray-a);
}

.m-patient-discharge .c-form-section-patient-requeriment__care-type--options .c-pair__group {
	width: auto;
}
