.custom-datepicker {
    padding: .875rem 1rem;
    border-radius: 10px;
    border: .0625rem solid #D1D5DB;
    background-color: #fff;
    outline: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #252c32;
    box-shadow: 0 1px 2px 0 rgba(1, 18, 34, .04);
    display: flex;
    gap: .5rem;
}

.custom-datepicker input, .custom-datepicker select {
    width: 100% !important;
    display: block;
    border: 0;
    font-size: 1rem;
}

.custom-datepicker .p-component {
    width: 100%;
}

.custom-datepicker input:focus-visible, .custom-datepicker select:focus-visible {
    outline: 0;
}

.p-datepicker {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    top: 0;
}

[data-pc-section="tablebodyrowprops"] td {
    margin: 10px !important;
    padding: 10px;
}

[data-pc-section="tablebodyrowprops"] td span {
    border: 1px solid #a083835c;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    padding: 10px !important;
}

.p-datepicker-today span, [aria-disabled="false"] {
    border: 1px solid #333 !important;
    transition: all .2s ease-in-out;
}

[aria-disabled="false"]:hover {
    background: #fc8fb8 !important;
    color: #fff;
}

.p-datepicker-next, .p-datepicker-prev {
    background: none;
    border: none;
    color: #fc8fb8;
}

.p-datepicker-header {
    margin-bottom: 1rem;
}

.p-link {
    padding-left: 1rem;
}

.p-button-secondary {
    margin-top: 1rem;
    background: #fff;
    border: 0;
    color: #fc8fb8;
    text-decoration: underline;
}

.mx-auto {
    margin: auto;
}

.text-center {
    text-align: center;
}

.radio-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radio-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding: 15px;
    margin: 10px 0;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.radio-button input {
    display: none;
}

.radio-button.selected {
    border-color: #FC8FB8;
}

.next-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FC8FB8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.next-button.inactive {
    background-color: #FC8FB880;
}

.next-button:hover {
    background-color: #FC8FB8;
}

.back-link {
    color: #252C32;
    background: none;
    border: 0;
    display: flex;
    gap: 1rem;
}

.question-title {
    color: #252C32;
    font-size: 20px;
    font-weight: 500;
}

label.radio-button {
    font-size: 14px;
}

.red-alert {
    color: #cc0000;
    font-size: 14px;
    text-align: center;
}

.text-left {
    text-align: left;
}

.progress-wrapper {
    width: 90%;
}

.progress-bar-container {
    width: 100%;
    background-color: #D9D9D9;
    height: 3px;
    margin-top: 2rem;
}

.progress-bar {
    height: 3px;
    background-color: #FC8FB8;
    transition: width 0.4s ease-in-out;
}

.instructions {
    background: #FFFAE7;
    border-radius: 20px;
    padding: 0 10px;
    color: #A05F08 !important;
    font-size: 12px !important;
    border: 1px solid #f8c513;
}

h3.inst-heading {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    margin: 10px 0 0 0;
}

.instructions p {
    color: #A05F08;
    padding-left: 1.5rem;
    font-size: 12px;
    line-height: 1.5;
    margin-top: .5rem;
}

.radio-button {
    display: block;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    text-align: center;
    background-color: #fff;
    transition: border-color 0.3s, background-color 0.3s;
}

.other-texarea {
    width: 90%;
    margin-top: 1rem;
}

.nursing-home-booking .popup__body {
    max-width: 591px;
}

.nursing-home-booking .popup__description {
    padding-top: 0;
    padding-left: 2px;
    padding-right: 2px;
}

.class-flex {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nursing-home-booking .form-field__label{
    margin-top:5px
}

.nursing-home-booking .popup__description-header{
    padding-right:0 !important;
}

.nursing-home-booking .base_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin: 0 auto;
}

.nursing-home-booking .second_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76.75px;
    height: 76.75px;
    background: radial-gradient(143.04% 143.04% at 50% 0%, #FC8FB8 17.5%, #FF649E 100%);
    box-shadow: 0px 0px 16px 0px #FF6FA6 inset;
    border-radius: 50%;
}

.input-all-custom-field {
    border: 1px solid rgba(252, 143, 184, 1);
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.5;
    padding: 10px;
}

.thankyou-image {
    height: 400px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    border-radius: 10px;
}

select.time-selector {
    appearance: none; /* Remove default styling (iOS and modern browsers) */
    -webkit-appearance: none; /* Remove iOS-specific styling */
    -moz-appearance: none; /* Remove Firefox-specific styling */
    background-color: #fff; /* Light background */
    border: .0625rem solid #D1D5DB; /* Add border */
    padding: .875rem 1rem; /* Add padding */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    border-radius: 10px; /* Rounded corners */
    color: #252c32;
    width: 100%; /* Make it full width */
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
    box-shadow: 0 1px 2px 0 rgba(1, 18, 34, .04);
    display: flex;
    gap: .5rem;
}

select.time-selector:focus {
    border-color: #D1D5DB; /* Highlight border on focus */
    outline: none; /* Remove default outline */
}

select.time-selector option {
    padding: 10px; /* Add padding to options for better readability */
    color: #333; /* Option text color */
}

.margin-top-4{
    margin-top:1rem;
}

p.popup__description {
    font-size: 20px;
    font-weight: 500;
    color: #252C32;
    width: 80%;
    line-height: 1.3;
}

.relative{
    position:relative;
}

.search-page-preloader__spinner-react{
    transform: translate(-50%,-50%);
    border: 16px solid #f9fafb; /* Light grey */
    border-top: 16px solid #fba2c4; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin:auto;
}

.react-tel-input .special-label {
    display: none;
}

#contact-form-widget .question-title {
    font-size: 16px;
}

#contact-form-widget .radio-button {
    padding: 10px;
    margin: 6px 0;
}

/*//LOADER*/

.chart-loader {
    width: 120px;
    height: 120px;
    margin: auto;
}

.chart-spinner {
    border: 16px solid #f9fafb;
    border-top: 16px solid #fba2c4;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: spin 2s linear infinite;
}

/* Skeleton Loading Animations */

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-title {
    width: 280px;
    height: 32px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 30px;
}

.skeleton-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #E4E7EC;
    background: #fff;
}

.skeleton-chart__title {
    width: 140px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-chart__content {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-chart__content--donut {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 20px auto;
}

.skeleton-chart__content--bubble {
    width: 100%;
    height: 250px;
    margin: 20px 0;
}

.skeleton-chart__content--map {
    width: 100%;
    height: 300px;
    margin: 20px 0;
}

.chart-home-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
    position: relative;
}

.chart-home-section .highcharts-credits {
        display: none;
    }

.chart-home-section .chart-home-section__donut {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

@media (max-width: 1280px) {

.chart-home-section .chart-home-section__donut {
            grid-template-columns: 1fr;
    }
        }

.chart-home-section .donut__item {
        display: flex;
        gap: 22px;
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
        border-radius: 16px;
        border: 1px solid #E4E7EC;
    }

.chart-home-section .donut__item .recharts-tooltip-wrapper {
            z-index: 12;
        }

@media (min-width: 1280px) {
            .chart-home-section .donut__item.dount__item-map-wrapper {
                grid-column: 1 / span 2;
                grid-row: 2;
            }
        }

.chart-home-section .donut__item .dount__item-content {
            display: flex;
            align-items: center;
            justify-content: space-between;

        }

.chart-home-section .donut__item .dount__item-content .dount__item-title-wrapper {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 20px;
            }

@media (max-width: 993px) {

.chart-home-section .donut__item .dount__item-content .dount__item-title-wrapper {
                    gap: 10px;
            }
                }

.chart-home-section .donut__item .dount__item-content .dount__item-title {
                margin: 0;
                font-weight: 400;
            }

@media (max-width: 993px) {

.chart-home-section .donut__item .dount__item-content .dount__item-title {
                    font-size: 16px;
            }
                }

.chart-home-section .donut__item .dount__item-content .dount__item-select {
                padding: 6px 12px;
                border-radius: 4px;
                border: 1px solid #ccc;
                font-size: 14px;
                color: #333;
                max-width: 160px;
                width: 100%;
            }

@media (max-width: 993px) {

.chart-home-section .donut__item .dount__item-content .dount__item-select {
                    width: -moz-fit-content;
                    width: fit-content;
            }
                }

.chart-home-section .donut__item .dount__item-map-wrapper {
            width: 100%;
            max-width: 1344px;
            max-height: 436px;
            position: relative;
            overflow: hidden;

            background: #FDF4F6;
            border-radius: 25px;
        }

.chart-home-section .donut__item .dount__item-map-wrapper .dount__item-map {
                position: relative;
                width: 100%;
                /* 8.4 / 16 = 52.5% — высота как % от ширины */
                padding-bottom: 52.2%;
                overflow: hidden;
            }

.chart-home-section .donut__item .dount__item-map-wrapper .dount__item-map #mapDiv {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                }

/* Кастомный скроллбар */

.chart-home-section .donut__item .dount__item-map-wrapper .dount__item-map::-webkit-scrollbar {
                    width: 10px !important;
                    border-radius: 5px;
                }

.chart-home-section .donut__item .dount__item-map-wrapper .dount__item-map::-webkit-scrollbar-track {
                    background: #d9d9d9;
                    border-radius: 5px;
                }

.chart-home-section .donut__item .dount__item-map-wrapper .dount__item-map::-webkit-scrollbar-thumb {
                    background: #a7a7a7;
                    border-radius: 5px;
                }

.chart-home-section .donut__item .dount__item-map-wrapper .dount__item-map::-webkit-scrollbar-thumb:hover {
                    background: #fc8fb8;
                }

.chart-home-section .donut__item .recharts-responsive-container tspan {
                font-weight: 400;
                color: #637083;
                line-height: 16px;
            }

.chart-home-section .donut__item .recharts-responsive-container .recharts-label {
                text-decoration: underline;

            }

.chart-home-section .donut__item .dount__btns-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            max-width: 138px;
            width: 100%;
            font-weight: 500;
            line-height: 20px;
            font-size: 14px;
        }

.chart-home-section .donut__item .dount__btns-wrapper .dount__btn-zoom-out,
            .chart-home-section .donut__item .dount__btns-wrapper .dount__btn-zoom-in {
                border: 1px solid #E4E7EC;
                width: 100%;
                background: transparent;
                padding: 0;
                margin: 0;
                min-height: 32px;
                transition: all 300ms;
            }

.chart-home-section .donut__item .dount__btns-wrapper .dount__btn-zoom-out:hover, .chart-home-section .donut__item .dount__btns-wrapper .dount__btn-zoom-in:hover {
                    cursor: pointer;
                    background: #fc8fb8;
                    border-color: #fc8fb8;
                }

.chart-home-section .donut__item .dount__btns-wrapper .dount__btn-zoom-out {
                border-top-right-radius: 10px;
                border-bottom-right-radius: 10px;
            }

.chart-home-section .donut__item .dount__btns-wrapper .dount__btn-zoom-in {
                border-top-left-radius: 10px;
                border-bottom-left-radius: 10px;

            }

/* Plotly tooltip overrides for map hover */

#chart-home-widget #mapDiv .hoverlayer .hovertext rect {
    fill: #141C25 !important;
    rx: 8 !important;
    ry: 8 !important;
}

#chart-home-widget #mapDiv .hoverlayer .hovertext path {
    fill: #141C25 !important;
    stroke: #141C25 !important;
    stroke-width: 10px !important;
    stroke-linejoin: round !important;
    stroke-linecap: round !important;
}

#chart-home-widget #mapDiv .hoverlayer .hovertext text.name {
    fill: #FFF !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 16px !important;
}

#chart-home-widget #mapDiv .hoverlayer .hovertext text.nums {
    fill: #FFF !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 16px !important;
}

#chart-home-widget #mapDiv .hoverlayer .hovertext text.nums tspan:first-child {
    font-weight: 700 !important;
}

.dount__item-map-wrapper1 {

}

.dount__item-map1 {

}


