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

/* Anchos de tabla */
.m-patient-discharge .c-table-header__cell--destination {
	width: 8rem;
}

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

.m-patient-discharge .c-table-header__cell--pending-activities {
	width: 12rem;
}

.m-patient-discharge .c-table-header__cell--alta-social {
	width: 12rem;
}

.m-patient-discharge .c-table-header__cell--citas-control {
	width: 10rem;
}

.m-patient-discharge
	:is(
		.c-table-header__cell--entrega-medicamentos,
                .c-table-header__cell--solictud-movilizacion,
                .c-table-header__cell--solicitud-otros
	) {
	width: 12rem;
}

.m-patient-discharge .c-table-header__cell--hora-programada-egreso {
	width: 11rem;
}

.m-patient-discharge .c-table-header__cell--tiempo-alta {
	width: 11rem;
}

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

/* 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-table-body__cell--solictud-movilizacion .c-formatted-bpmtask__state.c-formatted-bpmtask__state--2:before,
.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--3:before {
	-webkit-mask-image: url('/assets/skins/lahuen/base/images/check_circle.svg');
	-webkit-mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background-color: #CCCCCC;
	width: 1.6rem;
	height: 1.6rem;
}

/*Columna Alta social*/
.m-patient-discharge .c-table-body__cell--alta-social .c-formatted-bpmtask__state--4:before {
	display: none;
}

.m-patient-discharge .c-table-body__cell--alta-social {
	  color: var(--gray-d);
}

.m-patient-discharge .c-table-body__cell--alta-social .c-formatted-bpmtask__state--4 {
	color: var(--system-error-dark);
}
/*---*/
/*Solicitud programacion*/
.m-patient-discharge .c-formatted-keyvalue__item.c-formatted-group__child.c-formatted-group__child--programada::before {
    -webkit-mask-image: url(/assets/skins/lahuen/base/images/check_circle.svg)!important;
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background-color: #CCCCCC;
    width: 1.6rem;
    height: 1.5rem;
    margin-right: 0.5rem;
    content: '';
    display: inline-flex;
    align-items: center;
}

.m-patient-discharge .c-formatted-keyvalue__item.c-formatted-group__child.c-formatted-group__child--programada {
    display: flex
;
    flex-wrap: wrap;
}
/*---*/

.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-formatted-keyvalue__item.c-formatted-group__child.c-formatted-group__child--checklist-prealta--elegible {
	display: inline;
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
	color: var(--system-ok-dark);
}
/* .m-patient-discharge .c-formatted-keyvalue__item.c-formatted-group__child.c-formatted-group__child--checklist-prealta--elegible .c-formatted-keyvalue__value {
 margin-left: .5rem;
} */
/* 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);
}

.m-patient-discharge .c-form-discharge-checklist-form .datepickerCssClass {
	display: flex;
	align-items: center;
}

.m-patient-discharge .c-form-discharge-checklist-form .datepickerCssClass .c-datepicker__date {
	margin-right: 1rem;
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
	color: var(--gray-a);
}

.m-patient-discharge .c-form-discharge-checklist-form .c-datepicker__hour {
	width: 13rem;
}

/* 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,
.m-patient-discharge .c-form-section-support-service-request__discharge-availability-hour--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;
}

.m-patient-discharge .c-form-section-support-service-request .datepickerCssClass {
	display: flex;
	align-items: center;
}

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

.m-patient-discharge .c-form-section-support-service-request .c-datepicker__hour {
	width: -webkit-fill-available;
}

/* Columna: Entrega de medicamentos */
.m-patient-discharge .c-formatted-bpmtask__label.c-formatted-bpmtask__resolution {
	color: var(--gray-d);
}

.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--1 {
	display: none;
}

.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--5 {
	color:var(--system-error-dark)
}

.m-patient-discharge 
	.c-formatted-bpmtask__state--1::before,
	.c-formatted-bpmtask__state--2::before {
	display: none;
}

.m-patient-discharge .c-formatted-bpmtask .c-formatted-bpmtask__state--2 + .c-formatted-bpmtask__resolution {
  color:var(--system-error-dark);
}

.m-patient-discharge .c-table-body__cell.c-table-body__cell--entrega-medicamentos .c-formatted-bpmtask {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

.m-patient-discharge .c-formatted-bpmtask__state.c-formatted-bpmtask__state--3 {
	margin-top: .5rem;
}

/* Columna solicitud de movilización */
.m-patient-discharge .c-table-cell.c-table-body__cell.c-table-body__cell--solictud-movilizacion {
	color: var(--gray-d);
}

.m-patient-discharge .c-formatted-keyvalue__item.c-formatted-group__child.c-formatted-group__child--Cancelada {
	color: var(--system-error-dark);
}

/* Columna actividades pendientes */
.m-patient-discharge .c-table-body__cell--pending-activities .c-formatted-default__label {
	color: var(--system-error-dark);
}

/* Listo para salir */
.m-patient-discharge .c-table-body__cell--destination .c-formatted-location__label-extra-label {
	background-color: var(--system-ok-normal);
	color: white;
	border-radius: 0.5rem;
	padding: 0.2rem .2rem;
	width: 7rem;
	font: 400 .9rem / normal 'Open Sans', sans-serif;
	box-sizing: border-box;
}

/*Otros Hodom*/
.m-patient-discharge .c-formatted-keyvalue__item.c-formatted-group__child.c-formatted-group__child--estado-hodom--3 {
    color: var(--secondary-b-dark);
}




