:root {
    --primary-color: #0f1e46;
    --secondary-color: #3b4a7f;
    --btn-color: #f08d86;
    --text-color: #0f1e46;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.cursor-pointer {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .cursor-pointer:hover {
        background-color: #e9ecef;
    }

.chat-text {
    max-width: max-content !important;
}

.heading {
    color: var(--text-color);
}

.main-div {
    background-color: var(--primary-color) !important;
}

    .main-div .sidebar {
        max-width: 25%;
        min-width: 20rem;
        transition: all 0.3s ease;
    }

.custom-toggle {
    width: 90px;
    height: 45px;
    background-color: #3b4a7f;
    cursor: pointer;
}

.custom-slider {
    left: 9px;
    width: 35px;
    height: 35px;
    background-color: #fdcb58;
    transition: all 0.4s ease;
}

.form-check-input:checked + .custom-toggle .custom-slider {
    transform: translate(39px, -50%) !important;
    background-color: #333;
}

.custom-icons {
    padding: 0 15px;
    color: #fff;
}

    .custom-icons .fa-sun {
        color: var(--text-color);
    }

.light-dark-mode .form-check-input {
    display: none;
}

.patient-profile {
    background: var(--secondary-color) !important;
}

    .patient-profile .badge {
        background: var(--primary-color) !important;
        font-size: 0.8em;
    }

#AllOnboarding {
    width: 100%;
}

/* Responsive for small screens */
@media (max-width: 767.98px) {
    .chat-heading {
        margin-left: 25px;
    }

    #sidebarToggleBtn {
        position: fixed;
        top: 7px;
        color: #0f1e46;
        z-index: 1000;
        font-size: 1.5rem;
        background: transparent;
        border: none;
    }

    .main-div .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        z-index: 1000;
        max-width: none;
        background: #0f1e46;
        min-width: 10rem;
        transition: all 0.3s ease;
        overflow-y: auto;
    }

        .main-div .sidebar.show {
            left: 0;
        }
}

/**/
.chat-generator {
    width: 100%;
    height: 100%;
}

    .chat-generator .chat-heading {
        color: var(--text-color);
    }

.chats-body {
    height: 71vh;
}

@media (max-width: 576px) {
    .chats-body {
        height: 62vh;
    }

    .chat-generator {
        height: 92vh;
        border-radius: 0 !important;
    }
}

.chat-options {
    top: 55px;
}

.chat-generator .chat-text-input,
.chat-details .chat-text-input {
    border-radius: 0.8rem;
    width: calc(100% - 2rem);
}

    .chat-generator .chat-text-input input:focus,
    .chat-details .chat-text-input input:focus {
        box-shadow: none !important;
    }

.chat-generator .chat-input-text-header,
.chat-details .chat-input-text-header {
    background: #d5dae7;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

#chat-input.dark-placeholder::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.chat-history {
    width: calc(45% - 21rem) !important;
    min-width: 28rem !important;
}

.search-history:focus {
    box-shadow: none !important;
    border: 2px solid #dee2e6 !important;
    border-right: 0 !important;
}

.previous-chats,
.chats-body {
    max-height: 77vh;
}

.statistics-container {
    width: 350px;
}

.stats-labels {
    font-weight: bold;
    font-size: 1rem;
}

/* Landing Page CSS Start */
#GetStartedBody {
    font-family: 'Roboto', sans-serif;
}

.hero-section,
.navbar {
    background-color: #f1f9ff !important;
}

.stat-box {
    border-radius: 10px;
}

.specialist-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .specialist-card:hover {
        background-color: #007bff;
        color: white;
        transform: scale(1.05);
    }

        .specialist-card:hover .card-title,
        .specialist-card:hover .card-text {
            color: white;
        }

.testimonials .card {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.footer a {
    text-decoration: none;
}

/* Animation CSS */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
/* Landing Page CSS End */

/* Login/SignUp Page CSS Start */
#loginBody,
#SignUpBody {
    font-family: 'Poppins', sans-serif;
}
/* Login/SignUp Page CSS End */

/* Subscription Page CSS Start */
.pricing-body-bg {
    background-color: #0f1e46 !important;
}

.pricing-card {
    background-color: #1f2a5c !important;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    .pricing-card a.btn {
        background: #f08d86;
        padding: 10px 0;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

        .pricing-card a.btn:hover {
            background: #e07a72;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

.text-success {
    color: #5ed3c7 !important;
}

.text-secondary {
    color: #b0b8d9 !important;
}

.text-small {
    font-size: 14px;
}
/* Subscription Page CSS End */

/* Login/SignUp Page CSS Start */
#loginBody,
#SignUpBody {
    font-family: 'Poppins', sans-serif;
}
/* Login/SignUp Page CSS End */

/* Statistics Page CSS Start */
.statistics-container {
    width: 350px;
}

.stats-labels {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: bold;
}

.statistics-container canvas {
    position: relative;
}
/* Statistics Page CSS End */

/* Chat Generator response Box CSS Start */

.user-response {
    background-color: #fce8e7;
}

.bot-response {
    background-color: #d5dae7;
}

.user-profile,
.bot-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Chat Generator response Box CSS End */

/* Login/SignUp Form Validations Start */

.is-invalid {
    border-color: red !important;
}

    .is-invalid::placeholder {
        color: red !important;
    }

.input-group.is-invalid .form-control,
.input-group.is-invalid .btn {
    border-color: #dc3545;
}

/*.input-group.is-invalid .btn {
    border-left: none;
}*/

.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Login/SignUp Form Validations End */



/* Chat Responce Animation Start */

.ripple-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: relative;
}

    .ripple-loader div {
        width: 20px;
        height: 20px;
        margin: 5px;
        border: 4px solid #007bff;
        border-radius: 50%;
        animation: ripple 1.4s infinite ease-in-out;
    }

        .ripple-loader div:nth-child(2) {
            animation-delay: -0.7s;
        }

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}



/* Chat Responce Animation End */