#current-month-label, .cjp-tab-btn, .cjp-subtitle, .cjp-hour-btn, .cjp-btn-submit-booking, .cjp-day-item, .cjp-day-item span, .cjp-day-item strong, .legend-item, .cjp-btn-submit, .cjp-especialidad-medico, .cjp-ver-mas-btn, .cjp-specialty-name, .cjp-spec-name, .cjp-spec-date, .cta-call-center, .cjp-calendar-empty-wrapper, .cjp-calendar-empty-footer p{
	font-family: 'Montserrat';
}
.cjp-loading{
	text-align:center;
	width: 100%;
}
.cjp-wrapper {
    background-color: #f4f8fb;
    padding: 30px 20px;
    font-family: 'Montserrat';
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
}
.cjp-specialty-wrapper {
    margin-bottom: 24px;
}
.cjp-calendar-empty-container{
	border: 1.5px solid #395CAF;
	padding: 33px 18px 40px;
	background-color:#F0F2FA;
	margin-top: 35px;
	border-radius: 8px;
}
.cjp-calendar-empty-wrapper{
	background-color: #fff;
	padding: 40px 50px 30px;
	display:flex;
	flex-wrap: wrap;
	justify-content:center;
	gap: 20px;
	border-radius: 12px;
}
.cjp-calendar-empty-wrapper .booking-icon{
	max-width: 64px;
}
.cjp-calendar-empty-wrapper .cta-call-center{
	width: 100%;
	margin-top: 30px;
	height: 50px;
	display:flex;
	justify-content:center;
	align-items:center;
	font-weight: bold;
	font-size: 14px;
	border: 1.5px dashed #395CAF;
	border-radius: 8px;
	color: #203166;
	background: #F4F9FF;
}
.cjp-calendar-empty-footer{
	display:flex;
	align-items: start;
	margin-top: 30px;
    padding: 0 30px;
	font-size: 13px;
	line-height: 20px;
	color:#232C5A;
	gap: 12px;
}
.cjp-calendar-empty-message,
.cjp-calendar-empty-message b {
	color: #343A40;
	font-family: Montserrat;
	font-weight: 500;
	font-size: 14px;
	line-height: 26px;
	letter-spacing: 0px;
}
.cjp-calendar-empty-message b {
	font-weight: 700;
}
.cjp-specialty-label {
	margin: 20px 0;
	color: #1f2937;
	text-align: center;
}

.cjp-specialty-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
	justify-content:center;
}

.cjp-specialty-btn {
    position: relative;
    min-width: 170px;
    min-height: 52px;
    padding: 22px 18px;
	border-width: 1.5px;
	border-style: solid;
    border: 1.5px solid #395CAF;
    border-radius: 8px;
    background: #ffffff;
    color: #0066b3;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
	flex: 1;
}
.cjp-specialty-btn:not(.is-booking-disabled){
	border-color: #395CAF;
}
.cjp-specialty-btn.is-booking-disabled {
	border-color: #A5ADB6;
	cursor: not-allowed;
	pointer-events: none;
}
.cjp-specialty-btn.is-booking-disabled .cjp-specialty-name{
	color: #848E9A;
}

.cjp-specialty-btn.is-booking-disabled .cjp-specialty-disabled-label{
	background-color:#A5ADB6;
	padding: 4px 8px;
	color: #fff;
}
.cjp-specialty-btn:hover {
    background: #f2f8fc;
}

.cjp-specialty-btn.active {
	background: #25AEEC;
	color: #ffffff;
	border-color: #25AEEC;
}
.cjp-specialty-btn.active .cjp-specialty-name {
	color: #fff;
}

.cjp-specialty-check {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #395CAF;
    border: 2px solid #395CAF;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
}

.cjp-specialty-btn.active .cjp-specialty-check {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.cjp-specialty-btn.active .cjp-specialty-check::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cjp-specialty-name {
    display: block;
	color: #343A40;
}

.cjp-card-body {
    padding: 22px 15.5px;
    background-color: #F0F2FA;
}
.cjp-card-body .cjp-inner-body{
	background-color: #fff;
}
.cjp-title {
    color: #1a428a;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: center;
	line-height: 28px;
}
.cjp-title .cjp-article,
.cjp-title .cjp-name {
    display: inline;
}
.cjp-subtitle {
    color: #4a5568;
    font-size: 15px;
    margin: 0 0 25px 0;
    text-align: center;
	font-weight: 500;
}
.cjp-next-schedules-container{
	margin: 20px 0;
}
.cjp-next-schedule-line{
	display:flex;
	align-items:center;
}
.cjp-schedule-info{
	font-size: 13px;
}
.cjp-spec-name{
	font-weight:500;
}
.cjp-spec-date{
	font-weight: 700;
}
.cjp-schedule-info{
	margin-left: 15px;
}
.cjp-main-card-container{
	width: 100%;
    max-width: 550px;
}
.cjp-main-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1.5px solid #395CAF;
    overflow: hidden;
}
.cjp-month-header {
    background: #3c5aa6;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
}
.nav-arrow {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.cjp-tabs {
    display: flex;
    background: #f3f5f9;
}
.cjp-tab-btn {
    flex: 1;
    background: #f0f2fa;
    color: #203166;
    border: none;
    padding: 16px 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cjp-tab-btn.active {
    background: #ffffff;
    color: #3c5aa6;
    border-radius: 12px 12px 0 0;
	font-weight: 600;
}
.cjp-days-section {
    display: flex;
    align-items: center;
    padding: 20px 17px;
    gap: 10px;
	justify-content:space-between;
}
.day-nav-arrow {
    color: #1a428a;
    font-weight: bold;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}
.day-nav-arrow#scroll-right, .nav-arrow#next-month {
	transform: scaleX(-1);
}
.cjp-days-carousel {
    flex: 1;
    display: flex;
    gap: 10px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    justify-content: flex-start;
    max-width: 410px;
    overflow-x: scroll;
    padding-bottom: 5px;
}
.cjp-days-carousel::-webkit-scrollbar { display: none; }
.cjp-day-item {
    border: 1.5px solid #395CAF;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: #4a5568;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    line-height: 20px;
}
.cjp-day-item span { font-size: 12px; margin-bottom: 2px; }
.cjp-day-item strong { font-size: 17px; font-weight: 700; color: #1e293b; }

.cjp-day-item.selected {
    background: #25AEEC;
    border-color: #25AEEC;
}
.cjp-day-item.selected span, .cjp-day-item.selected strong { color: #ffffff; }
.cjp-day-item.selected::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px 7px 0;
    border-style: solid;
    border-color: #25AEEC transparent transparent transparent;
}
.cjp-day-item.disabled {
    background: #e2e8f0;
    border-color: #e2e8f0;
    cursor: not-allowed;
}
.cjp-day-item.disabled span, .cjp-day-item.disabled strong { color: #94a3b8; }

.cjp-hours-wrapper {
    padding: 0 50.68px;
}
.cjp-hours-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 10px;
    margin-bottom: 25px;
}
.cjp-hour-btn {
    background: #ffffff;
    border: 1.5px solid #395CAF;
    border-radius: 8px;
    padding: 13px 0;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.cjp-hour-btn.selected {
    background: #1ba1e2;
    border-color: #1ba1e2;
    color: #ffffff;
    font-weight: 600;
}
.cjp-hour-btn.no-disponible {
    background: #e2e8f0;
    border: none;
    color: #94a3b8;
    cursor: not-allowed;
}
.cjp-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 12px;
    color: #718096;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.dot { width: 14px; height: 14px; border-radius: 50%; }
.dot.disp { border: 1.5px solid #395CAF; background: #ffffff; }
.dot.sel { background: #25AEEC; }
.dot.nodisp { background: rgb(0 0 0 / 20%); }

.cjp-action-wrapper {
    padding: 0 58px 25px;
}
.cjp-btn-submit {
    width: 100%;
    background: #20315c;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.cjp-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cjp-nombre-medico{
	font-size: 32px;
	line-height: 100%;
	font-weight: 700;
	margin-bottom: 20px;
}
.cjp-especialidad-medico{
	font-size: 20px;
	line-height: 125%;
	letter-spacing: 1%;
	font-weight: 500;
	color: #25AEEC;
}
.highlighted {
	font-weight: 700;
}
.btn-info {
	padding: 13px;
	border: 1px solid #395CAF;
	border-radius: 174px;
	font-family: Montserrat;
	font-weight: 500;
	font-size: 13px;
	line-height: 100%;
	letter-spacing: 0px;
	text-align: center;
	display: block;
	margin-inline: 30px;
	color: #232C5A;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.hide {
	display: none;
}
.disabled {
	opacity: 0.3;
}
.cjp-empty-enter {
	animation: cjpEmptyEnter 0.35s ease-out both;
}

@keyframes cjpEmptyEnter {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Preloader general del calendario */
.cjp-calendar-loader {
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.cjp-calendar-loader.hide {
    display: none !important;
}

.cjp-calendar-loader.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cjp-calendar-loader__content {
    width: min(100%, 420px);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-sizing: border-box;
}

.cjp-calendar-loader__content strong {
    font-size: 16px;
    line-height: 1.35;
}

.cjp-calendar-loader__content > span:last-child {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.7;
}

.cjp-calendar-loader__spinner {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-top-color: currentColor;
    border-radius: 50%;
    box-sizing: border-box;
    animation: cjp-calendar-spin 0.8s linear infinite;
}

@keyframes cjp-calendar-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cjp-calendar-loader,
    .cjp-calendar-loader__spinner {
        transition: none;
        animation-duration: 1.4s;
    }
}
@media (max-width:767px){
	 .cjp-calendar-loader {
        min-height: 220px;
    }

    .cjp-calendar-loader__content {
        padding: 28px 18px;
    }
	.cjp-hours-wrapper {
		padding: 0 14px;
	}
	.cjp-specialty-buttons {
        gap: 10px;
    }

    .cjp-specialty-btn {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        font-size: 11px;
		padding: 16px 10px;
		flex: 1;
    }
	.day-nav-arrow {
		padding: 0px;
	}
	.cjp-wrapper {
    	background-color: #f4f8fb;
		padding: 25px 15px;
	}
	.cjp-card-body {
		padding: 10px;
	}
	.cjp-days-section {
		padding: 20px 10px;
	}
	.cjp-days-carousel {
		justify-content: flex-start;
	}
	.cjp-title {
		line-height: 28px;
	}
	.cjp-title .cjp-name {
        display: block;
    }
	.cjp-hours-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 10px;
	}
	.cjp-legend {
		gap: 16px;
	}
	.legend-item {gap: 4px; }
	.dot {
		width: 12px;
		height: 12px;
	}
	.cjp-info-medico-container{
		padding-left: 0px;
		max-width: calc(100% - 150px);
		padding-top: 12px;
	}
	.cjp-nombre-medico{
		font-size: 20px;
		line-height: 28px;
		font-weight: 700;
		margin-bottom: 0px;
	}
	.cjp-especialidad-medico{
		font-size: 16px;
		line-height: 130%;
		letter-spacing: 0;
		font-weight: 700;
		margin-top: 10px;
	}
	.cjp-ver-mas-btn {
		background-color: #F0F2FA;
		border: none;
		border-radius: 50px;
		padding: 4.5px;
		font-size: 11px;
	}
	.cjp-action-wrapper{
		padding: 0 10px 30px;
	}
	.cjp-ver-mas-btn .cjp-icon-arrow {
		height: 12px;
		transform: rotate(-90deg);
	}
	.cjp-schedule-info {
		line-height: 18px;
		display: flex;
		gap: 5px;
		flex-direction: column;
		margin-left: 10px;
	}
	.cjp-separator {
		display: none;
	}
	.cjp-next-schedule-line {
		align-items: flex-start;
	}
	.cjp-next-schedule-line .cjp-schedule-icon {
		margin-top: 4px;
	}
	.cjp-next-schedules-container {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.cjp-spec-name {
		width: calc(100dvw - 80px);
	}
	.cjp-calendar-empty-wrapper {
		padding: 40px 30px 30px;
	}
	.btn-info {
		display: none;
	}
}