/* Base code Start */
@import "./variable.css";
@import "./responsive.css";
/*@import "./home.css";*/

:root {
    --kendo-font-family: "Inter", sans-serif !important;
}

body {
    font-family: "Inter", sans-serif !important;
    height: 100vh;
    background-color: var(--bodyColor);
}

/* Login Page Styles */
.login-img {
    background-image: url("../images/login-bg.jpg");
    width: 100%;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-img-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: radial-gradient(37.16% 50% at 50% 50%, rgba(73, 73, 73, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%);
}

.login-content-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
}

    .login-content-area .logo {
        width: 14rem;
        height: 80px;
        object-fit: contain;
    }

.login-copy-rights {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    position: absolute;
    width: 100%;
    bottom: 20px;
    padding: 0 2rem;
}

.login-card {
    border: 2px solid #97A5B6;
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(2.5px);
    padding: 1.5rem 2rem;
    border-radius: 10px;
}

    .login-card .form-control {
        height: 46px;
        font-size: 1rem !important;
    }

    .login-card h5 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1d1d1d;
    }

    .login-card .form-control-label {
        font-size: 1rem;
        color: #1d1d1d;
    }

.logo-text {
    font-size: 18px;
    color: var(--primaryTextColor);
    background: #ffffffba;
    padding: 1rem;
    border-radius: 4px;
}

.btn-login {
    background: linear-gradient(90deg, #AF9150 0%, #E9DDB9 50%, #C6AE5F 100%);
    font-size: 1rem !important;
    font-weight: 600;
    border: none !important;
    width: 120px;
}

    .btn-login:hover {
        background: linear-gradient(0deg, #AF9150 0%, #E9DDB9 50%, #C6AE5F 100%);
        transition: 1s;
    }

.login-card .btn-link {
    color: #002863;
}

.scheduler-welcome-banner {
    background: #ffffffad;
    padding: 10px;
    border-radius: 6px;
}

.scheduler-welcome-banner .content-label {
    color: #1a1a1a;
}

/* Form Controls */
.form-control-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primaryTextColor);
    margin-bottom: 0.5rem;
}

.form-control, .form-select, .k-input-inner, .k-input-solid {
    font-size: 0.75rem !important;
    border-color: #ffffff !important;
    color: var(--secondaryTextColor) !important;
    min-height: 36px;
    background-color: #f7f9ff !important;
}

    .form-control:focus {
        border-color: var(--primaryColor);
        box-shadow: 0 0 0 0.1rem rgba(45, 96, 255, 0.25);
    }

.radio-button {
    font-size: .75rem;
    color: var(--primaryTextColor);
    align-items: center;
    display: flex;
    gap: 2px;
    cursor: pointer;
    font-weight: 500;
}

.form-check-label {
    font-size: .75rem;
    color: var(--primaryTextColor);
}

.input-group-text {
    background-color: var(--lightblue);
    border: 1px solid var(--white);
}

/* Button Styles */
.btn-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff !important;
    background-color: var(--primaryColor) !important;
    font-size: 0.9rem;
    min-width: 80px;
    transition: ease-in-out .2s !important;
}

    .btn-primary:hover {
        background-color: #003ecb !important;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        background-color: #ECECEC !important;
        border: none;
        color: #a3a3a3 !important;
    }

.btn-primary-green {
    font-size: 0.9rem;
    color: #fff !important;
    background-color: #1B6F14 !important;
    min-width: 80px;
    transition: ease-in-out .2s !important;
}

    .btn-primary-green:hover {
        background-color: #19950F !important;
    }

.k-button-solid-primary {
    background: var(--primaryColor) !important;
    border-color: var(--primaryColor) !important;
    min-width: 100px;
    font-size: .9rem;
    height: 36px;
}

    .k-button-solid-primary:hover {
        background-color: #003ecb !important;
        border-color: #003ecb !important;
    }

.scheduler-wizard .k-rounded-md.k-button-solid-base,
.questionnaire-wizard .k-rounded-md.k-button-solid-base, .demography-btn {
    min-width: 100px;
    font-size: .9rem !important;
    padding: 0.5rem .75rem;
}

.btn-cancel {
    background-color: #c9c9c9;
    color: var(--primaryTextColor) #282828;
}

    .btn-cancel:hover {
        background-color: #bfbfbf;
    }

.btn-group-sm > .btn,
.btn-sm {
    font-size: 0.75rem !important;
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out .2s;
    font-weight: 500;
}

.btn-lightblue {
    border: 0;
    color: var(--primaryColor)
}

    .btn-lightblue:hover {
        color: var(--primaryColor) !important;
        background: var(--lightblue) !important;
        border: none !important;
    }

/* Text Styles start*/
.heading {
    color: var(--primaryTextColor);
    font-weight: 600;
    font-size: 1.125rem;
}

.content-label {
    font-size: 1rem;
    color: var(--primaryTextColor);
}

.sub-heading {
    color: var(--secondaryTextColor);
    font-size: 14px;
    font-weight: 400;
}

.sub-heading-dark {
    color: var(--primaryTextColor);
    font-size: 14px;
}

.content-sm-dark {
    font-size: .75rem;
    color: var(--primaryTextColor);
}

.content-sm-light {
    font-size: .75rem;
    color: var(--secondaryTextColor);
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-2 {
    font-size: 2rem;
}

.fs-07 {
    font-size: .7rem !important;
}

.fs-08 {
    font-size: .8rem !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-medium, strong {
    font-weight: 600 !important;
}

.primary-text-color {
    color: var(--primaryTextColor) !important;
}

.secondary-text-color {
    color: var(--secondaryTextColor) !important;
}

.primary-color {
    color: var(--primaryColor) !important;
}

/* Text Styles start*/

/* Validation Styles */
.text-danger {
    color: var(--danger) !important;
    font-size: 0.75rem;
}

.validation-message {
    color: var(--danger);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--success);
}

.invalid {
    outline: 1px solid var(--danger);
}

/* Navbar Styles */
.nav-item > a {
    text-decoration: none !important;
    color: unset !important;
}

.navbar_bg {
    background-color: #F0F3FF;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    width: 100%;
}

.navbar-container {
    padding: 1rem;
    background: #dbe3ff;
    position: fixed;
    left: 14rem;
    right: 0;
    z-index: 9;
    transition: left 0.3s ease-in-out;
}

.maincollapse .navbar-container {
    left: 4.2rem;
}

button:focus:not(:focus-visible) {
    box-shadow: none;
}

.mobile-toggle {
    /*    background: var(--primaryColor);
    padding: 0 5px 1px;
    border-radius: 2px;
    cursor: pointer;*/
    display: none !important;
}

.sidebar.mblSidebarOpen {
    display: block !important;
}

.sidebar-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--primaryTextColor);
    margin-right: 0.5rem;
}

    .sidebar-toggle-btn:hover {
        background-color: var(--lightblue);
        color: var(--primaryColor);
    }

    .sidebar-toggle-btn .material-icons {
        font-size: 1.5rem;
    }

.subscriber-logo {
    background-color: var(--bodyColor);
    border: 1px solid var(--borderColor);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    height: 60px;
}

.subscriber-logo-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primaryTextColor);
    height: 60px;
}

.subscriber-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

header ul li {
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.face-avatar {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--primaryColor);
}

.dropdown-toggle::after {
    display: none !important;
}
/* Sidebar Styles */
.sidebar {
    height: 100vh;
    background-color: var(--accentColor);
    transition: ease-in-out 0.3s;
    padding-top: 1rem;
    width: 14rem;
    position: fixed !important;
}

    .sidebar.close {
        width: 4.2rem;
    }

        .sidebar.close .menu_list {
            opacity: 0;
            display: none;
        }

        .sidebar.close .toggle-icon {
            transform: rotate(0deg);
            transition: ease-in 0.5s;
        }

        .sidebar.close .clinic-info-card {
            display: none;
        }

        .sidebar.close .clinic-info-mobile {
            display: block !important;
        }

        .sidebar.close .subscriber-logo {
            padding: 0.5rem;
            height: fit-content;
        }

        .sidebar.close .subscriber-logo-text {
            display: none;
        }

        .sidebar.close .subscriber-logo-img {
            max-width: 40px;
            max-height: 40px;
        }

        .sidebar.close .sidenav_list {
            padding: 0.7rem;
            margin: 0.5rem 0.3rem;
            justify-content: center;
        }

            .sidebar.close .sidenav_list .d-flex {
                justify-content: center;
            }

.clinic-info-mobile .btn img {
    filter: brightness(0) invert(1);
    width: 24px;
}

.toggle {
    position: absolute;
    right: -12px;
    height: 20px;
    width: 20px;
    background-color: var(--primaryColor);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: ease-in-out .3s;
}

.toggle-icon {
    transform: rotate(180deg);
    transition: ease-in 0.5s;
}

.sidebar:hover .toggle {
    opacity: 1;
}

.sidenav_list {
    padding: 0.7rem 0 0.7rem 1rem;
    color: var(--white) !important;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin: .5rem;
    border-radius: 4px;
}

    .sidenav_list .nav-link {
        display: flex;
    }

.sidebar-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.sidenav_items .active, .sidenav_list:hover, .clinic-info-mobile .btn:hover {
    background-color: #00ACBB;
}

.menu_list {
    font-size: 1rem;
    transition: ease-in-out 0.3s;
}

/* Main Section Styles */
.main-section {
    transition: ease-in-out 0.5s;
    width: 100%;
    padding-left: 14rem;
}

    .main-section.maincollapse {
        padding-left: 4.2rem;
    }

/* Header Menu Styles */
.header-icon {
    width: 24px;
    height: 24px;
}

.user-detail {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Dropdown Styles */
.dropdown-default-icon .dropdown-menu[data-bs-popper] {
    right: 0;
    left: unset;
    padding: 0;
}

.dropdown-default-icon .dropdown-toggle::after {
    display: none;
}

.dropdown-item {
    font-size: .75rem;
    color: var(--secondaryTextColor) !important;
    cursor: pointer;
    padding: .4rem 1rem;
}

    .dropdown-item.active, .dropdown-item:active {
        color: #fff !important;
        background-color: var(--primaryColor);
    }

.dropdown-menu {
    background-color: var(--white);
    border: 1px solid var(--borderColor);
    box-shadow: rgba(0, 0, 0, 0.30) 0px 10px 30px 2px !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: var(--primaryColor) !important;
    background-color: var(--lightblue);
}

.confirmation-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #00000052;
}

.modal-content {
    background: var(--white);
}

.confirmation-modal .modal-content {
    border: none !important;
}

.k-window {
    border-radius: 6px !important;
}

.k-window-titlebar {
    border-radius: 6px 6px 0 0 !important;
}

.border-static {
    border-color: #ced4da !important;
}
/* Clinic Info Card Styles */
.clinic-info-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(330deg, #F9FEFF -44.67%, #00ACBB 110.12%);
    margin: 1rem;
    border-radius: 10px;
}

.clinic-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    position: absolute;
    top: -70px;
    left: 0;
}

.clinic-info-mobile {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: none;
}

/* Utility Classes */
.cursor-pointer {
    cursor: pointer;
}

/* ==========================================================================
   Badge Component - Reusable status badges
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.badge-blue {
    color: #2D60FF;
    background-color: #D6E0FF;
    border: 1px solid #B4C6FF;
}

.badge-green {
    color: #1B6F14;
    background-color: #F7FFEA;
    border: 1px solid #C9DCAA;
}

.badge-orange {
    color: #AA6B0C;
    background-color: #FFE3B8;
    border: 1px solid #FED18D;
}

.badge-gray {
    color: #4B4B4B !important;
    background-color: #E7E7E7 !important;
    border: 1px solid #CBCBCB !important;
}

.badge-primary {
    color: #fff;
    background-color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
}

.badge-secondary {
    color: #1B6F14;
    background-color: #F7FFEA;
    border: 1px solid #C9DCAA;
}

/*dashboard css */

.welcome-banner {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #93B5FF 0%, rgba(159, 192, 255, 0.20) 100%);
    border-radius: 4px;
}

.appointments-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.appointment-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #a5a5a5
}

.detail-card {
    padding: 1rem;
    border-radius: 4px;
    border: var(--dashboard-card-stroke);
    background: var(--dashboard-card);
}

.dashboard-card {
    min-height: 194px;
}

.dashboard-card-height {
    height: 210px;
    overflow: auto;
}

.profile-card {
    min-height: 586px;
}

.task-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .task-list-item:hover {
        background-color: #f9fbff;
        box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.04);
    }

.profile-card-header {
    border-radius: 4px;
    background: radial-gradient(378.12% 74.18% at 50% 49.69%, #CBDAFF 0%, #95B6FF 100%);
}

.profile-edit-btn {
    position: absolute;
    right: 10px;
}

.profile-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bodyColor);
    border: 3px solid var(--primaryColor);
}

.profile-picture-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primaryColor);
}

.profile-picture-image,
.profile-picture-default {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-picture-wrapper:hover .profile-picture-overlay {
    opacity: 1;
}

.profile-picture-btn img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.profile-picture-loading {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.upload-area {
    border: 2px dashed var(--borderColor);
    border-radius: 8px;
    background-color: var(--lightblue);
}

.preview-container {
    padding: 1rem;
    background-color: var(--bodyColor);
    border-radius: 8px;
}

.preview-image {
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.files-menu-icon {
    filter: brightness(0) !important;
}

.file-cabinet-grid {
    border-radius: 8px;
    min-height: 460px;
    max-height: calc(100vh - 13rem);
}

    .file-cabinet-grid .k-grid-header th {
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--primaryTextColor);
    }

    .file-cabinet-grid .k-grid-content td {
        font-size: 0.75rem;
        color: var(--secondaryTextColor);
    }

.k-grid .k-grid-md td, .k-grid .k-grid-md .k-table-td, .k-grid-md td, .k-grid-md .k-table-td {
    border-bottom: 1px solid #d7d7d7 !important;
    border-right: 0 !important;
}

.k-grid .k-grid-header .k-table-th {
    padding-top: .8rem;
    padding-bottom: .8rem;
    font-size: 0.85rem;
    color: var(--primaryTextColor);
    font-weight: 700;
    border-right: 0;
    background: #d3d3d3;
}

.k-grid .k-grid-aria-root {
    border-radius: 6px;
}

.text-hyperlink {
    text-decoration: none !important;
}

    .text-hyperlink:hover {
        text-decoration: underline !important;
    }

.grid-action-img {
    width: 16px;
    height: 16px;
}

.category-text {
    color: var(--secondaryTextColor);
}

.border-right-divider {
    border-right: 1px solid #c5c5c5;
    height: 20px;
}

.pending-tasks-content .task-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pending-task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem;
    border: 1px solid var(--borderColor);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--white);
}

    .pending-task-item:hover {
        background-color: var(--bodyColor);
        border-color: var(--primaryColor);
        box-shadow: 0 2px 8px rgba(45, 96, 255, 0.15);
    }

.task-details {
    flex: 1;
    min-width: 0;
}

    .task-details label {
        cursor: pointer;
    }

.task-arrow {
    color: var(--secondaryTextColor);
    flex-shrink: 0;
}

.pending-task-item:hover .task-arrow {
    color: var(--primaryColor);
}

/* Styling to match your task list theme */
.upload-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Demographics Page Styles */
.box-shadow-1 {
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.04);
}

.border {
    border: 1px solid var(--lightblue) !important;
}

.border-end, .border-start, .border-bottom, .border-top {
    border-color: var(--lightblue) !important;
}

.card-header {
    background-color: #d1daf7;
    border-bottom: 1px solid var(--borderColor);
}

.custom-card-border {
    border: 1px solid var(--lightblue);
    border-radius: 4px;
}

.icon-wid-20 {
    width: 20px;
    height: 20px;
}

.btn-color-red {
    color: var(--danger);
}

    .btn-color-red:hover {
        background-color: rgba(238, 0, 5, 0.1);
    }

.icon-mode-change {
    filter: none;
}

/* Telerik TabStrip Customizations */

.demography-card .k-tabstrip-content.k-active {
    height: calc(100vh - 16rem);
}

.k-tabstrip-items-wrapper .k-item {
    color: var(--primaryTextColor) !important;
    padding: 4px 4px !important;
    font-size: .9rem;
    font-weight: 500;
}

.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
    background: var(--secondaryColor) !important;
    border: 0;
    color: var(--white) !important;
}

    .k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active .icon-wid-20 {
        filter: brightness(0) invert(1);
    }

.k-tabstrip-items-wrapper .k-item:hover {
    color: var(--primaryColor) !important;
}

    .k-tabstrip-items-wrapper .k-item:hover .icon-wid-20 {
        filter: unset;
    }

.k-tabstrip-content {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.k-tabstrip-items .k-item .icon-wid-20 {
    filter: brightness(0) invert(.2);
}

.k-menu-group .k-item:focus > .k-link, .k-menu-group .k-item.k-focus > .k-link, .k-menu.k-context-menu .k-item:focus > .k-link, .k-menu.k-context-menu .k-item.k-focus > .k-link {
    box-shadow: none !important
}

.k-menu-group .k-item > .k-link:active, .k-menu-group .k-item > .k-link.k-active,
.k-menu-group .k-item > .k-link.k-selected, .k-menu.k-context-menu .k-item > .k-link:active,
.k-menu.k-context-menu .k-item > .k-link.k-active, .k-menu.k-context-menu .k-item > .k-link.k-selected {
    background-color: var(--lightblue) !important;
    color: #424242 !important;
}
/*scheduler customization*/
.scheduler-wizard .k-stepper.telerik-blazor {
    background: var(--dashboard-card);
    padding: 1.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--white);
}

.scheduler-wizard .k-wizard-steps {
    background: var(--dashboard-card);
    border-radius: 4px;
    border: 1px solid var(--white);
}

.scheduler-wizard .k-wizard-step {
    padding: 0 !important;
}

.scheduler-wizard .k-wizard-content {
    padding: 1rem;
    height: calc(100vh - 23rem);
    min-height: 300px;
}

.scheduler-wizard .k-wizard-buttons {
    border-top: 1px solid var(--borderColor);
    padding: .75rem 1rem;
    margin-top: 0 !important;
}

.scheduler-wizard .k-progressbar {
    background-color: var(--lightblue);
}

    .scheduler-wizard .k-progressbar .k-selected,
    .scheduler-wizard .k-stepper .k-step-done .k-step-indicator,
    .scheduler-wizard .k-stepper .k-step-current .k-step-indicator {
        border-color: var(--secondaryColor) !important;
        background-color: var(--secondaryColor) !important;
    }

.time-slot-card {
    border: 1px solid #ffffff;
    padding: .75rem 1rem;
    width: 100px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f7f9ff;

    &:hover {
        background: var(--lightblue);
        box-shadow: 0 2px 8px rgba(45, 96, 255, 0.15);
    }

    &.selected {
        border-color: var(--primaryColor, #2D60FF);
        background-color: var(--primaryColor, #2D60FF);
        color: #fff;

        .sub-heading-dark {
            color: #fff;
        }
    }
}

.condition-question-pdf .k-pdf-viewer-pages {
    height: calc(100vh - 17.5rem);
    min-height: 240px;
}

.condition-question-pdf.k-pdf-viewer .k-toolbar {
    border-bottom: 1px solid var(--borderColor);
}

/*questionnaire wizard customization*/

.questionnaire-wizard .k-stepper.telerik-blazor {
    background: var(--dashboard-card);
    padding: 1.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--white);
}

.questionnaire-wizard .k-wizard-steps {
    background: var(--dashboard-card);
    border-radius: 4px;
    border: 1px solid var(--white);
}

.questionnaire-wizard .k-wizard-step {
    padding: 0 !important;
}

.questionnaire-wizard .k-wizard-content {
    padding: 1rem;
    height: calc(100vh - 22rem);
    min-height: 300px;
    overflow-y: auto;
}

.questionnaire-wizard .k-wizard-buttons {
    border-top: 1px solid var(--borderColor);
    padding: .75rem 1rem;
    margin-top: 0 !important;
}

.questionnaire-wizard .k-progressbar {
    background-color: var(--lightblue);
}

    .questionnaire-wizard .k-progressbar .k-selected,
    .questionnaire-wizard .k-stepper .k-step-done .k-step-indicator,
    .questionnaire-wizard .k-stepper .k-step-current .k-step-indicator {
        border-color: var(--secondaryColor) !important;
        background-color: var(--secondaryColor) !important;
    }

.questionnaire-wizard .k-stepper .k-step-label {
    font-size: 0.75rem;
    max-width: 100px;
    text-align: center;
}

.questionnaire-wizard .k-stepper .k-step-disabled .k-step-indicator,
.questionnaire-wizard .k-stepper .k-step-disabled .k-step-label {
    opacity: 0.5;
}

.appointment-type-card {
    width: 294px;
    height: 110px;
}

.branch-card {
    width: 294px;
    height: 150px;
}

.provider-card {
    width: 294px;
    height: 80px;
}

/* Radio Selection List Styles - for appointment type and provider selection */
.radio-selection-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-selection-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f7f9ff;
    border: 1px solid #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .radio-selection-item:hover {
        border-color: var(--primaryColor);
        box-shadow: 0 2px 8px rgba(45, 96, 255, 0.15);
    }

    .radio-selection-item.selected {
        border-color: var(--primaryColor);
        background-color: var(--lightblue);
    }

.radio-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
}

.radio-outer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid var(--borderColor);
    border-radius: 50%;
    background-color: var(--white);
    transition: all 0.2s ease;
}

.radio-selection-item:hover .radio-outer {
    border-color: var(--primaryColor);
}

.radio-selection-item.selected .radio-outer {
    border-color: var(--primaryColor);
}

.radio-inner {
    width: 10px;
    height: 10px;
    background-color: var(--primaryColor);
    border-radius: 50%;
}

.radio-selection-content {
    flex: 1;
}

.radio-button input[type="radio"] {
    width: 16px;
    height: 16px;
}

/* checkbox code start */
/* Hide the default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Create a custom checkbox container */
.checkbox-container {
    position: relative;
    display: inline-block;
    font-size: 18px; /* Make the checkbox slightly bigger */
    margin-bottom: 12px;
    cursor: pointer;
}

/* Style the checkmark */
.checkmark {
    position: absolute;
    top: -2px;
    left: 0;
    height: 16px; /* Make the checkbox slightly bigger */
    width: 16px; /* Make the checkbox slightly bigger */
    border: 2px solid #8a889b; /* Default border color */
    border-radius: 4px; /* Round the corners */
    background-color: var(--white); /* Default color for the box */
    transition: all 0.3s ease; /* Add smooth transition */
}

/* Show the checkmark when checkbox is checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
    animation: checkboxExpand 0.3s ease forwards, glowEffect 1s infinite alternate; /* Add glow effect */
}

/* Style the checkmark/indicator */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 40%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%) rotate(45deg) scale(1); /* Center and hide initially, then scale to appear */
    width: 6px;
    height: 12px;
    border: 1px solid #000;
    border-width: 0 2px 2px 0;
}

/* When the checkbox is checked, change the box color to red */
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primaryColor); /* Change box color to red */
    border-color: var(--primaryColor); /* Change border color to red */
}

    /* When the checkbox is checked, change the tick color to black */
    .checkbox-container input:checked ~ .checkmark:after {
        border-color: var(--white); /* Change tick color to black */
    }

/* On hover, add a slight shadow */
.checkbox-container:hover .checkmark {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */
}

.form-checkbox {
    font-size: 0.75rem;
    margin-left: 1.4rem;
    color: var(--primaryTextColor);
    line-height: 18px;
    font-weight: 400;
    font-style: normal;
}

.k-slider {
    gap: 16px !important;
}

.k-slider .k-slider-track {
    background: linear-gradient(270deg, #F00 0%, #F90 27%, #E5A603 52.72%, #28E124 64.47%, #0CAB09 100%);
}

.k-slider .k-slider-selection {
    background: none !important;
}

.k-slider .k-draghandle:focus, .k-slider .k-draghandle.k-focus {
    box-shadow: none;
}

.k-slider .k-draghandle {
    border-color: var(--primaryColor) !important;
    color: white !important;
    background-color: var(--primaryColor) !important;
    border-radius: 50% !important;
    border: 2px solid;
    width: 20px;
    height: 20px;
}

.assessment-slider.k-slider .k-label {
    font-size: 12px !important;
    color: var(--secondaryTextColor);
    bottom: -4em;
    min-width: 100px !important;
    display: flex;
    flex-direction: column;
    line-height: 4px;
    text-align: center;
    word-wrap: break-word;
    text-wrap: wrap;
}

    .assessment-slider.k-slider .k-label span {
        line-height: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.slider-card {
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
    padding-bottom: 4rem;
}
/*Toast Styles start*/

.blazored-toast-container {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 999;
}

.blazored-toast {
    display: flex;
    position: relative;
    flex-direction: row;
    animation: fadein-b-jnm4noxjw5 1.5s;
    width: 20rem;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.30) 0px 10px 30px 2px;
}

.position-topcenter {
    top: 74px !important;
    z-index: 999;
    left: 50%;
    transform: translate(-50%, 0%);
}

.blazored-toast-message {
    margin-bottom: 0;
    font-size: .9rem;
}

.blazored-toast .blazored-toast-close {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 0 0 0 1rem;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    color: #f1f1f1;
    font-size: 0.9rem;
}

.blazored-toast-icon {
    display: none !important;
}

.success-toast, .error-toast {
    color: #fff !important;
    gap: 10px;
    border: none !important;
    margin-bottom: 0 !important;
    padding: 8px !important;
}

.success-toast {
    background-color: var(--success) !important;
}

.error-toast {
    background-color: var(--danger) !important;
}

.password-toggle-btn {
    position: absolute;
    top: 70%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}

    .password-toggle-btn img {
        width: 22px;
        height: 22px;
        opacity: 0.7;
    }

        .password-toggle-btn img:hover {
            opacity: 1;
        }

.work-accident-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem;
    margin-bottom: .75rem;
    border: 1px solid var(--lightblue);
    border-radius: 4px;
    gap: 1rem;
    cursor: pointer;
}

    .work-accident-card.selected {
        background: var(--lightblue);
    }

.auto-accident-border {
    border-bottom: 1px solid #b8b8b8 !important;
}

.success-card {
    max-width: 840px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.success-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: #bce3bf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-summary {
    background: var(--lightblue);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.score-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primaryColor);
}

.action-buttons .btn {
    min-width: 150px;
}

.image-modal-body {
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
}

.disabled-div {
    pointer-events: none;
    opacity: 0.7;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.k-pdf-viewer-pages .k-dropzone-inner {
    display: none;
}

.k-pdf-viewer .k-upload,
.k-pdf-viewer .k-dropzone {
    display: none !important;
}

.k-pdf-viewer {
    border: var(--dashboard-card-stroke);
}

    .k-pdf-viewer .k-pdf-viewer-canvas {
        background-color: var(--dashboard-card) !important;
    }

.context-menu-icon {
    width: 16px;
    height: 16px;
}

.fri-history-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fri-history-card .card-body {
    padding: 1.5rem 1rem;
}

.view-link .material-icons {
    font-size: 1.5rem;
    background: aliceblue;
    padding: 4px;
    border-radius: 50%;
}

.fri-history-card {
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    min-width: 300px;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0px 4px 12px rgba(96, 97, 112, 0.24);
    }

    & .card-header {
        padding: 1rem;
        background: var(--bodyColor);
        border-bottom: 1px solid var(--borderColor);
    }
}

.fri-card {
    height: calc(100vh - 14rem);
    overflow: auto;
}

.fri-score-card {
    background: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    min-width: 80px;
}

.signature-field {
    border-bottom: 1px solid var(--primaryTextColor);
    height: 30px;
    margin-bottom: 0.5rem;
}

.office-box {
    border: 1px solid var(--borderColor);
    padding: 1rem 1.5rem;
    background: var(--bodyColor);
    border-radius: 4px;
}

.tick-value {
    display: block;
    font-size: 0.75rem;
    color: var(--secondaryTextColor);
    text-align: center;
    margin-top: 2px;
}

.skeleton-text {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 16px;
    width: 120px;
}

.skeleton-address {
    height: 32px;
    width: 100%;
}

.skeleton-phone {
    height: 14px;
    width: 100px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.is-invalid .k-input-inner,
.is-invalid .k-input {
    border: 1px solid red !important;
}

.pat-info-bg {
    padding: 12px;
    text-align: left;
    border: 1px solid #e3e3e3;
    background-color: #f2f2f2;
    width: 200px;
    font-weight: bold
}

.pat-info-detail-title, .pat-info-detail {
    padding: 12px;
    text-align: left;
    border: 1px solid #e3e3e3;
}

.pat-info-detail-title {
    width: 200px;
}

.pat-info-detail {
    width: 380px !important;
}

.document-upload-card .list-group .list-group-item {
    word-wrap: break-word;
    font-size: .75rem;
    display: flex;
    align-items: center;
    text-align: left;
    overflow-wrap: anywhere;
}

.k-wizard .k-wizard-step:focus,
.k-wizard .k-wizard-step.k-focus {
    outline: none;
    box-shadow: none; /* or use a soft shadow if needed */
}