:root {
    --primary-color: #2A81A6;
    --primary-color-rgb: 42,129,166;
}

.content-section {
    padding: 5rem 2rem;
}

.logo-img {
    width: calc(5rem + 1vw);
    aspect-ratio: 1;
    object-fit: cover;
}

.no-times {
    background-color: rgba(22, 22, 22, 0.25);
    color: #d1d1d1;
    pointer-events: none;
}

.month-arrow {
    width: 4.4rem;
    height: 4.4rem;
    color: #fff;
    padding: .75rem;
    border-radius: 50%;
    background-color: rgba(255,255,255,.075);
    transition: background-color .1s ease;
}

.month-arrow:hover  {
    background-color: rgba(255,255,255,.12);
}

.border-primary {
    border-color: var(--primary-color);
}

.date-arrow {
    min-width: calc(4rem + .4vw);
    min-height: calc(4rem + .4vw);
    color: rgba(var(--primary-color-rgb), .8);
    border-radius: 50%;
    background-color:  rgba(var(--primary-color-rgb), .2);
    transition: background-color .1s ease;
    box-shadow: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.date-arrow:not(.disabled):hover {
    background-color: rgba(var(--primary-color-rgb), .3);
}

.date-arrow.disabled {
    filter: grayscale(1);
    cursor: default;
    pointer-events: none;
}

.schedule-picker {
    max-width: 550px;
}


#daysPicker.loading {
    opacity: .4;
    pointer-events: none;
    animation: dayLoading .4s ease infinite alternate-reverse;
}

@keyframes dayLoading {
    0%, 100% {
        opacity: .4;
    }
    50% {
        opacity: .7;
    }
}

.picker-label {
    min-width: calc(16rem + 1vw);
}

.picker-label > * {
    text-align: center;
}

.user-select-none {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.month-label,
.year-label{
    font-size: 2rem;
}

.picker-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 14.2%);
}

.picker-row-grid .picker-item {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-label {
    font-size: calc(1.3rem + .15vw);
    color: #fff !important;
    font-weight: bolder;
}

.day-number {
    font-size: calc(1.2rem + .15vw);
    font-weight: bold;
}

.day-number.faded {
    color: #d1d1d1 !important;
    text-decoration: line-through;
}

.day-number.selectable {
    position: relative;
    z-index: 2;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease;
}

#daysPicker:not(.loading) .day-number.faded:not(.selectable, .no-times) {
    opacity: 0;
}

.day-number.selectable:hover {
    background-color: rgba(255,255,255,.1);
}

.day-number.selectable.selected {
    color: #131313;
}

.day-number.selectable.selected::before {
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    position: absolute;
    width: 4rem;
    height: 4rem;
    transition: all .1s ease;
    background-color: #fff;
}

.section-title {
    font-size: calc(1.7rem + 1.2vw);
    line-height: 1.6;
    color: #343434;
}

.section-subtitle {
    font-size: calc(1.6rem + .3vw);
    line-height: 1.6;
    color: #373737;
}

.text-primary {
    color: var(--primary-color) !important;
}

.spacer {
    min-height: 7vh;
}

.inp {
    position: relative;
    margin: auto;
    width: 100%;
    height: 53px;
}

.inp .border {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 18px;
    fill: none;
    pointer-events: none;
}

.inp .border path {
    stroke: #c8ccd4;
    stroke-width: 2;
}

.inp .border path d {
    transition: all 0.2s ease;
}

.inp .check {
    position: absolute;
    top: 20px;
    right: 20px;
    fill: none;
    transform: translate(0, 9px) scale(0);
    transition: all 0.3s cubic-bezier(0.5, 0.9, 0.25, 1.3);
    transition-delay: 0.15s;
}

.inp .check path {
    stroke: var(--primary-color);
    stroke-width: 2;
}

.inp input {
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    padding: 0;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    background: none;
    border-radius: 0;
    color: #223254;
    transition: all 0.15s ease;
}

.inp input:focus {
    outline: none;
}

.inp input:focus + .border path {
    stroke: var(--primary-color);
}

.inp input:valid + .border path {
    animation: elasticInput 0.8s ease forwards;
}

.inp input:valid + .border + .check {
    transform: translate(0, 0) scale(1);
}

::placeholder {
    color: #9098a9;
}

.schedule-times-item .box {
    width: calc(6rem + .2vw);
    height: calc(6rem + .2vw);
    color: #000;
    transition: all .15s ease;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.schedule-times-item:not(.selected):hover .box  {
    transition: background .15s ease;
    background-color: rgba(var(--primary-color-rgb), .1) !important;
}

.schedule-times-item.selected .box  {
    background-color: var(--primary-color);
}

.schedule-times-item.selected .box  > * {
    color: #fff !important
}

.schedule-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.doctor-card-box {
    margin-bottom: 3rem;
}

.btn-time {
    width: 100%;
    min-height: 5.2rem;
}


.btn-time:hover,
.btn-time.selected {
    transition: all .15s ease;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.modal .btn {
    border-radius: 50px;
    min-width: 12rem;
    background-color: transparent;
    font-weight: bolder;
    font-size: calc(1.3rem + .1vw);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.45rem 4rem;
    border: 2px solid;
    transition: all .15s ease;
}

.btn-cancel {
    border-color: #767676 !important;
    color: #767676;
}

.btn-cancel:hover {
    background-color: #767676;
    color: #fff;
}

.btn-reserve {
    border-color: var(--primary-color) !important;
    color: var(--primary-color);
}

.btn-reserve:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

.form-check-input {
    border-color: var(--primary-color) !important;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.skeleton-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    animation: 1.5s shine linear infinite;
    background: linear-gradient(110deg, #e5e5e5 8%, #f0f0f0 18%, #e5e5e5 33%);
    background-size: 200% 100%;
}

.company-logo {
    max-width: 25vw;
}

.profile-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 2rem 0;
}

.doctor-photo {
    max-width: calc(9rem + 2vw);
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.doctor-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.specialty {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.badge-custom {
    background-color:  rgba(var(--primary-color-rgb), .15);
    color: rgba(var(--primary-color-rgb), 1);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
}

.nav-tabs {
    border-bottom: 2px solid #e8e8e8;
    margin-top: 2rem;
}

.breadcrumb .breadcrumb-scroll {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
}

.breadcrumb a {
    transition: all .15s ease;
    border-bottom: 2px solid transparent;
}

.breadcrumb a,
.breadcrumb span {
    font-size: 1.35rem !important;
    color: rgba(105, 102, 123, 0.8);
    line-height: 1.4;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;

}

.breadcrumb a:hover,
.breadcrumb a:focus {
    border-bottom: 2px solid rgba(105, 102, 123, 0.4);
}

.section-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

.office-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #ffffff;
    transition: box-shadow 0.2s;
}

.office-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e8e8e8;
}

.service-item:last-child {
    border-bottom: none;
}

.service-price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.review-card {
    border-left: 3px solid var(--primary-color);
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.review-author {
    font-weight: 600;
    color: #333333;
}

.review-meta {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 0.75rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #333333;
}

.calendar-section {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.date-button {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #ffffff;
}

.date-button:hover {
    border-color: var(--primary-color);
    background-color: #e8f5f4;
}

.date-button.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff;
}

.cta-button {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    background: #ffffff;
    padding: 1.5rem 0;
    z-index: 999;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    transition: all .55s ease;
}

.cta-button.show {
    transform: translateY(0);
}

.schedule-picker-wrapper {
    max-width: 140rem;
    width: 100%;
    background-color: #fff;
    margin: auto;
    transition: all .6s ease;
}

.schedule-times {
    height: 100%;
    overflow-y: auto;
}

.schedule-times-header p {
    font-size: 2rem;
}

.schedule-picker-box {
    min-height: 46rem;
}

.schedule-picker-iframe {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: opacity .4s ease, transform .6s ease;
    transform: translateY(100%);
}

.schedule-picker-iframe.show {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 991px) {
    .schedule-times-header {
        border-bottom: 1px solid #ebe9f1 !important;
    }

    .schedule-picker-wrapper {
        border: 1px solid #f6f6f6;
        border-radius: 1rem;
        box-shadow: rgba(0, 0, 0, 0.05) 0 6px 24px 0, rgba(0, 0, 0, 0.08) 0 0 0 1px;
        height: auto !important;
    }

    .schedule-picker-wrapper.confirmeSchedule {
        max-width: 120rem;
    }

    .schedule-times-body {
        max-height: 57rem;
    }

    .schedule-picker-box {
        min-height: 67em;
    }
}

@-moz-keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}

@-webkit-keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}

@-o-keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}
@keyframes elasticInput {
    33% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,1 253,1 C261,1 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
    66% {
        d: path("M0,12 L226,12 C220,12 220.666667,12 228,12 C239,12 245,17 253,17 C261,17 268,12 278,12 C284.666667,12 285.333333,12 280,12");
    }
}
