@media (min-width: 768px) {
    .h-md-58 {
        height: 58% !important;
    }
    .h-md-42 {
        height: 42% !important;
    }
}

.star-ratings {
    unicode-bidi: bidi-override;
    color: #ccc;
    font-size: 64px;
    position: relative;
    margin: 0;
    padding: 0;
}
.fill-ratings {
    color: #ffa800;
    padding: 0;
    position: absolute;
    z-index: 1;
    display: block;
    top: 0;
    left: 0;
    overflow: hidden;
}
.empty-ratings {
    padding: 0;
    display: block;
    z-index: 0;
}
.bg-gray {
    background-color: #fbfbfb !important;
}
.text-gray {
    color: #a7a9b7 !important;
}
.bg-pedi {
    background-color: #10213e !important;
}
.bg-brand {
    background-color: #e64734 !important;
}
.bg-pedi-sidebar {
    background-image: linear-gradient(#1b2e4b, #10213e);
}
.bg-gray-accent {
    background-color: #a7a9b7 !important;
}
[data-kt-app-layout="dark-sidebar"]
    .app-sidebar
    .menu
    .menu-item
    .menu-link.active {
    background-color: transparent !important;
}
[data-kt-app-layout="dark-sidebar"]
    .app-sidebar
    .menu
    .menu-item
    .menu-link.active
    .menu-title {
    color: #e64734 !important;
}
.btn-pedi-primary {
    background-color: #10213e !important;
    padding: 0;
    display: block;
    z-index: 0;
}
.bg-cover {
    background-size: cover;
}
.bp-center {
    background-position: center;
}

.btn-brand,
.btn-brand:focus,
.btn-brand:active,
.btn-brand:visited {
    color: #ffffff;
    background-color: #e64734;
}

.text-brand-primary {
    color: #e64734;
}

.text-brand-secondary {
    color: #1b2e4b !important;
}

.text-app-brand-primary {
    color: #dd1600;
}

.btn-brand-primary {
    color: #ffffff;
    background-color: #f75a48;
}

.btn-brand-secondary {
    color: #ffffff;
    background-color: #1b2e4b;
}

.btn-brand:hover {
    color: #ffffff;
    background-color: #f75a48;
}

.btn-outline-brand {
    box-sizing: border-box;
    border: 2px solid#e64734;
    padding: 5px 10px;
    border-radius: 5px;
}

.btn-outline-brand:hover {
    color: #f75a48;
    box-sizing: border-box;
    border: 2px solid#e64734;
    padding: 5px 10px;
    border-radius: 5px;
}

.badge-brand-primary {
    color: #ffffff;
    background-color: #e64734;
}

.bg-light-brand-primary {
    background-color: #f3d2ce !important;
}

.badge-blue {
    color: #ffffff;
    background-color: #3b82f4;
}

.badge-green {
    color: #ffffff;
    background-color: #00b81f;
}

.badge-red {
    color: #ffffff;
    background-color: #d82d2d;
}

.badge-silver-gray {
    color: #ffffff;
    background-color: #a7a9b7;
}

.badge-pink {
    color: #ffffff;
    background-color: #ff00b8;
}

.badge-purple {
    color: #ffffff;
    background-color: #a739ea;
}

.badge-blue-violet {
    color: #ffffff;
    background-color: #7239ea;
}

.badge-yellow {
    color: #ffffff;
    background-color: #fbbb00;
}

.badge-gray-accent {
    color: #ffffff;
    background-color: #a7a9b7;
}

.badge-brand-light-primary {
    color: #e64734;
    background-color: #ffe9e9;
}

.text-hover-brand:hover {
    color: #f75a48;
}

[data-kt-app-layout="dark-sidebar"] .app-sidebar .app-sidebar-logo {
    border-bottom: none !important;
}

.notification-badge {
    background-color: #009ef7;
    border-radius: 25px;
    width: auto;
    height: auto;
    padding: 0px 6px 0px 6px;
    color: #ffffff;
    transform: translate(-8px, -4px);
    font-size: 10px !important;
}
.svg-hover-brand:hover {
    fill: #e64734;
    transition: 0.3s;
}

.blink_me {
    animation: blinker 1s linear 3;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.green-gray-color-change {
    animation: colorChange1 1s linear infinite;
}

@keyframes colorChange1 {
    0% {
        background-color: #a7a9b7;
        transform: scale(1);
        opacity: 1;
    }
    50% {
        background-color: #00b81f;
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        background-color: #00b81f;
        transform: scale(1);
        opacity: 1;
    }
}

.max-two-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.badge-transparent {
    background: rgba(0, 0, 0, 0.1);
}

.imagesDiv .symbol:hover {
    margin-right: 10px;
    transition: margin-right 0.3s ease;
}

.btn-check:active + .btn.btn-active-brand,
.btn-check:checked + .btn.btn-active-brand,
.btn.btn-active-brand.active,
.btn.btn-active-brand.show,
.btn.btn-active-brand:active:not(.btn-active),
.btn.btn-active-brand:focus:not(.btn-active),
.btn.btn-active-brand:hover:not(.btn-active),
.show > .btn.btn-active-brand {
    color: var(--kt-primary-inverse);
    border-color: var(--kt-primary);
    background-color: #e64734 !important;
}

#legend {
    display: none;
}

#mobile-view-legend {
    display: block;
}

@media (min-width: 1400px) {
    #legend {
        display: block;
    }
    #mobile-view-legend {
        display: none;
    }
}

@media (max-width: 1399px) {
    #legend {
        display: none;
    }
    #mobile-view-legend {
        display: block;
    }
}

.timeline {
    --bs-timeline-icon-size: 38px;
    --bs-timeline-icon-space: 0.35rem;
}

.timeline .timeline-icon {
    z-index: 1;
    flex-shrink: 0;
    margin-right: 1rem;
    width: var(--bs-timeline-icon-size);
    height: var(--bs-timeline-icon-size);
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-gray-300);
    border-radius: 50%;
}

.timeline .timeline-line {
    display: block;
    content: " ";
    justify-content: center;
    position: absolute;
    z-index: 0;
    left: 0;
    top: var(--bs-timeline-icon-size);
    bottom: 0;
    transform: translate(50%);
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: var(--bs-gray-300);
    width: var(--bs-timeline-icon-size);
    margin-top: var(--bs-timeline-icon-space);
    margin-bottom: var(--bs-timeline-icon-space);
}

.underline-link {
    text-decoration: underline !important;
}

.underline-link:hover {
    text-decoration: underline !important;
}

.custom-nav-link.active {
    color: #dd1600 !important;
    border-color: #dd1600 !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.custom-nav-link.active .custom-nav-text {
    color: #dd1600 !important;
}

.custom-nav-link:hover {
    color: #dd1600 !important;
    border-color: #dd1600 !important;
    border-style: solid !important;
}

.custom-nav-icon {
    color: #a1a5b7 !important;
}

.custom-nav-link.active .custom-nav-icon {
    color: #dd1600 !important;
}

.custom-shadow-sm {
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.3),
        -5px -5px 15px rgba(0, 0, 0, 0.1), 0px 0px 20px rgba(0, 0, 255, 0.2);
}

.active-circle {
    width: 10px;
    height: 10px;
    background-color: #28a745; /* Green color */
    border-radius: 50%;
    position: relative;
}

.active-circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: rgba(40, 167, 69, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}