
/*******************************************/
/****	 Estilos segun comportamiento 	****/
/*******************************************/

/*--------------	Inputs		--------------*/

input[type="text"], textarea, select{
	height: 40px;
	padding: 1em 5px 0 5px;
	background: none repeat scroll 0 0 var(--content-bg-color);
    border: 1px solid var(--input-border-color);
    width: 100%;
    border-radius: 3px;
}

.inputContainer {
	position: relative;
	margin: 1em 0;
}

.inputContainer select, .inputContainer input[type="text"] {
	--text-scale: 1;
	font-size: calc(var(--basic-font-size) * var(--text-scale));
}

.inputContainer label {
	position: absolute;
	width: fit-content;
	left: 5px;
	top: -25%;
	margin: 1em;
  	transition: 300ms ease all;
	pointer-events: none;
	font-size: calc(var(--basic-font-size) * var(--text-scale));
	color: var(--label-placeholder);
}

.inputContainer select:focus ~ label,
.inputContainer select:active ~ label,
.inputContainer select:valid ~ label,
.inputContainer input[type="text"]:focus ~ label,
.inputContainer input[type="text"]:active ~ label,
.inputContainer input[type="text"]:not(:placeholder-shown) ~ label,
.inputContainer textarea:focus ~ label,
.inputContainer textarea:active ~ label,
.inputContainer textarea:not(:placeholder-shown) ~ label{
	--text-scale: 0.7;
	margin: 1em 0 0 5px;
}

/********************************************/
/*****			Migas de pan			*****/
/********************************************/

/*----------	Texto progreso	-----------*/
.step {
	display: none;
}.current.step {
	display: block;
}
/* En escritorio, step puede pasar a texto visible pero deshabilitado y current lo cambia de color a destacado */

/*----------	Camino progreso	-----------*/
.progress {
	display: flex;
}

.progress-bc {
	width: 25%;
	margin: .5%;
  	height: 10px;
  	background-color:var(--tables-border-row);
  	border-radius: 5px;
}

.big.progress-bc {
  	height: 5px;
  	margin-top: 1em;
}

.progress-step{
  	color:var(--tables-border-row);
}
.big.progress-step {
    padding: 0 .5em;
  	border: solid;
    border-radius: 50%;
}


.big.breadcrumb {
	width: 80%;
	margin: 0 auto;
	padding: 1em 2em;
	background-color: var(--main-bg-color-cal);
	border-radius: 0 0 100px 100px;
}	
.big.breadcrumb .progress {
	width: auto;
    margin: 0 4em;
}
.big.breadcrumb .progress-bc {
	width: 30%;
}

.progress-bc.completed {
  	background-color:var(--empresa-color);
}
.progress-step.completed {
  	color:var(--empresa-color);
}

.big.text-steps {
	display:flex;
	margin: 0 2em;
}

.big.text-steps .step {
	margin: 0 auto;
	color: var(--label-placeholder);
}

.big.text-steps .step.completed {
	color: var(--text-color)
}
.big .first.step{
    margin-left: 0;

}
.big .last.step{
    margin-right: 0;
}


/************************************************/
/*****			Progress feedback			*****/
/************************************************/


#popupCargando{
	display: none;
	text-align: center;
}

/****************************************/
/*****			Specific modal style			*****/
/****************************************/

.modal, .ui-widget-overlay {
	
	background: rgba(0 0 0 / 40%);
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
}

.modal {
	display: none;
}
.ui-widget-overlay {
	opacity: 1;
}

.modal-dialog-centered {
	display: flex;
	align-items: center;
	height: 100%;
    width: 95%;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.modal-content {
	width: 100%;
	max-height: 60%;
}

.modal-header {
	width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.modal-title {
	margin: 0;
	margin-top: 5vh;
}
.modal-btn {
	width:fit-content;
}

.close-modal-btn{
	height: 40px;
    width: 40px !important;
    padding: 0;
    border-radius: 50%;
	background-color: var(--main-bg-color);
	color:var(--text-color);
}
.modal-body {
	height: 100%;
    max-height: 70%;
}

hr {
    border: none;
    height: 1px;
    background-color: #ccc;
}
.pointer {
	cursor: pointer;
}

/* CSS para seccion de botones */
.cntActions {
	display: flex;
}

.confirmButton {
	margin-left: auto;
}

@media (max-width: 768px) {
    .cntActions {
        flex-direction: column-reverse;
    }
}


/* CSS para el dropdown de calendarios */
#cntTablaCalendario {
	width: 100%;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none; 
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "▼";
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

details[open] summary::after {
    transform: rotate(180deg);
}

/*********************/
#acciones-comerciales {
	 margin-top: 15px;
}

#anadirACalendario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.icon-calendar {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/svg/calendar-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-edit {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/svg/edit-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-delete {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/svg/delete-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-proof {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/svg/document-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}