* {
    box-sizing: border-box;
    /* margin: 0;
    padding: 0; */
   font-family: "Inter", sans-serif !important;
}

body {
    background: #f5f7f9;
    color: #1b1f23;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: #ffffff;
    border-bottom: 1px solid #e1e4e8;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 26px;
    font-weight: 600;
    color: #31a15b;
}

.location-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .location-select select {
        padding: 6px 28px 6px 10px;
        border-radius: 4px;
        border: 1px solid #d0d7de;
    }

.nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.nav-item {
    cursor: pointer;
    text-decoration: none;
    color: #333333;
}

    .nav-item.active {
        color: #0E4BA8;
        font-weight: 600;
    }

.user-avatar {
    background: #fff;
}

.page {
    padding: 24px 40px;
}

.grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1.4fr;
    grid-gap: 20px;
    align-items: start;
}

.card {
    border-radius: 10px;
    padding: 18px;
    border: 0.2px solid #547144;
    background: #F0F4F1;
}

    .card.card2 {
        background: #FFFFFF;
        box-shadow: 0px 0px 25px 5px #0000001A;
        border: none;
    }

    .card h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: #0E4BA8;
    }

.small-text {
    font-size: 14px;
    color: #333333;
    display: inline-block;
}

.btn-primary {
    background: #0E4BA8;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
}

.pill-input {
    color: #0E4BA8;
    border-radius: 5px;
    padding: 6px 3px;
    font-size: 15px;
    min-width: 110px;
    text-align: left;
    display: inline-block;
    font-weight: 600;
}

.list {
    margin-top: 10px;
}

.list-item {
    padding: 10px 0;
    border-top: 1px solid #f0f3f6;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 5px 10px;
    margin: 10px 0px 0px 0px;
    border-radius: 10px;
}

    .list-item:first-child {
        border-top: none;
    }

.link-btn {
    font-size: 11px;
    padding: 4px 8px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.business-main {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-top: 12px;
    margin-bottom: 12px;
}

    .business-main .value {
        font-size: 30px;
        font-weight: 700;
    }

    .business-main .month {
        text-align: right;
        font-size: 13px;
        color: #6a737d;
    }

.metric-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
    margin-top: 14px;
}

.metric {
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

    .metric .amount {
        font-size: 20px;
        font-weight: 600;
        color: #0b7a34;
    }

        .metric .amount.blue {
            color: #0366d6;
        }

.progress-bar {
    margin-top: 18px;
    height: 14px;
    background: #cdeec9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar-inner {
    height: 100%;
    width: 60%;
    background: #0366d6;
}

.progress-caption {
    margin-top: 6px;
    font-size: 11px;
    color: #6a737d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

    .trend-header span {
        font-size: 12px;
        color: #6a737d;
    }

    .trend-header .up {
        color: #0b7a34;
        font-size: 11px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.trend-chart {
    height: 220px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding: 10px 12px 0px 10px;
    border: 1px solid #5387D5;
    max-width: 80%;
    margin: 0 auto;
    border-top: none;
    border-right: none;
}

.trend-bar {
    flex: 1;
    background: #cdeec9;
    border-radius: 4px 4px 0 0;
    position: relative;
}

    .trend-bar span {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 11px;
        color: #6a737d;
        width: 100%;
        text-align: center;
    }

.trend-y {
    position: absolute;
    left: 0;
    top: 32px;
    font-size: 10px;
    color: #333333;
}

.trend-wrapper {
    position: relative;
    height: 220px;
}

.trend-y div {
    margin-bottom: 18px;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
    margin-top: 14px;
}

.summary-box {
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    background: #F0F4F1;
}

.summary-value {
    font-size: 22px;
    font-weight: 600;
    margin-top: 6px;
    color: #0E4BA8;
}

.summary-big {
    margin-top: 16px;
    border-radius: 8px;
    padding: 15px 12px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F0F4F1;
}

    .summary-big .value {
        font-size: 26px;
        font-weight: 700;
        color: #0366d6;
    }

.side-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.side-card {
    background: #F0F4F1;
    border-radius: 10px;
    border: 1px solid #e1e4e8;
    padding: 14px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0.2px solid #547144
}

.side-card-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #0E4BA8;
}

.side-card-sub {
    font-size: 12px;
    color: #6a737d;
}

.side-card button {
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 4px;
    border: none;
    background: #5387D5;
    color: #fff;
    cursor: pointer;
    width: 100px;
}

.recent {
    max-height: 135px;
    overflow-y: auto;
    margin-top: 10px;
}

.recent-item {
    padding: 10px 0;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 5px 10px;
    margin: 10px 0 0 0;
    border-radius: 10px;
}

.recent-meta {
    font-size: 11px;
    color: #6a737d;
    margin-top: 2px;
}

.tag {
    color: #0366d6;
    font-size: 11px;
    margin-right: 4px;
    display: block;
}

.edit-link {
    font-size: 11px;
    color: #0366d6;
    cursor: pointer;
}

.sign {
    margin-right: 5px;
}


/* jay */

.pg-heading {
    background-color: #F0F4F1;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
}

.doctor-name {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #0E4BA8;
}

.calender {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-item {
    padding: 20px 0px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.table-container {
    max-height: 230px;
    /* adjust based on 4 rows height */
    overflow-y: auto;
    border: 1px solid #ddd;
}

.tablebx {
    padding: 14px 0px 0px 0px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
}

    .tablebx h4 {
        color: #0E4BA8;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        padding-left: 20px;
    }

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    background-color: #ffffff;
}

    tr:nth-child(even) {
        background-color: #f6f6f6;
    }

th,
td {
    padding: 12px 12px 12px 20px;
    text-align: left;
    color: #333333;
}

thead th {
    position: sticky;
    top: 0;
    background: #e1f3f1;
    color: #65AB14;
    font-weight: 600;
}

/* ✨ Fancy Scrollbar (Chrome, Edge, Safari) */
.table-container::-webkit-scrollbar {
    width: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff7a18, #ff3d00);
    border-radius: 10px;
}

    .table-container::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #ff3d00, #c62828);
    }

/* Firefox */
.table-container {
    scrollbar-width: thin;
    scrollbar-color: #C7C7C7 #F5F5F5;
}

.name {
    color: #000000DE;
}

.business {
    color: #000000DE;
}

.new {
    color: #149714;
    border: 1px solid #149714;
    font-size: 12px;
    padding: 0px 5px;
    border-radius: 5px;
}

.old {
    color: #C0A014;
    border: 1px solid #C0A014;
    font-size: 12px;
    padding: 0px 5px;
    border-radius: 5px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .actions button {
        background: none;
        border: none;
        cursor: pointer;
    }

.patient_list thead th {
    position: sticky;
    top: 0;
    background: #F6F6F6;
    color: #939393;
    font-weight: 600;
}

.busi_doc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

    .busi_doc .metric {
        width: 30%;
        background: #F0F4F1;
    }

.patient_list .table-container {
    max-height: 430px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.btn_wrap {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    background: #F0F4F1;
    border: 0.2px solid #547144;
    position: fixed;
    bottom: 0px;
    width: 100%;
    left: 0px;
}



.btn-add, .btn-remove {
    border: 1px solid #0E4BA8;
    font-size: 14px;
    background-color: #0E4BA8;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    line-height: 13px;
    padding: 7px;
    border-radius: 5px;
}
.btn-add, .btn-remove:hover {
     border: 1px solid #0E4BA8;
    background-color: #0E4BA8;
    color: #fff;

}

    .btn-add:hover {
        border: 1px solid #0b7a34;
        color: #0E4BA8;
    }

    .btn-remove:hover {
        border: 1px solid #cc0000;
        color: #0E4BA8;
    }

    .btn-add > img {
        background-color: #0E4BA8;
        border-radius: 5px;
    }

    .btn-remove > img {
        background-color: #0E4BA8;
        border-radius: 5px;
    }

.btn-increment {
    border: 1px solid #0E4BA8;
    color: #0E4BA8;
}

    .btn-increment:hover {
        color: #0E4BA8;
        border: 1px solid #0E4BA8;
    }

.text-increment {
    border-top: 1px solid #0E4BA8;
    border-bottom: 1px solid #0E4BA8;
}

.btn-add-doctor {
    background-color: #0E4BA8;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

    .btn-add-doctor:hover {
        background-color: #0E4BA8;
        font-size: 16px;
        font-weight: 600;
        color: white;
    }

.toggle-label {
    font-size: 18px;
    cursor: pointer;
    user-select: none;
}

.form-switch .form-check-input {
    width: 50px;
    height: 25px;
    cursor: pointer;
}

.inactive-text {
    color: #aaa;
}

.active-text {
    font-weight: 500;
    color: #000;
}


.boxClinic {
    background-color: #e0e0e0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 10px;
}

    .boxClinic > p {
        margin: 0px;
    }

    .boxClinic .remove-btn-clinic {
        border: none;
        background-color: transparent;
        margin: 0px;
    }

        .boxClinic .remove-btn-clinic > img {
            background-color: #cc0000;
            border-radius: 50%;
            margin-right: 5px;
        }

.most-visited {
    font-size: 14px;
    color: #0E4BA8;
    font-weight: 600;
    text-align: right;
}

    .most-visited span.small-text {
        font-size: 12px;
        color: #6a737d;
        font-weight: normal;
    }

#mostVisitedDoctors .list-item > div {
    font-size: 15px;
    font-weight: 500;
}


.scrollbar {
    overflow-y: auto;
}

    /* ✨ Fancy Scrollbar (Chrome, Edge, Safari) */
    .scrollbar::-webkit-scrollbar {
        width: 8px;
    }

    .scrollbar::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .scrollbar::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #ff7a18, #ff3d00);
        border-radius: 10px;
    }

        .scrollbar::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #ff3d00, #c62828);
        }

.scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #C7C7C7 #F5F5F5;
}

.down {
    color: #cc0000;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    margin-bottom: 10px;
}


#patients_list th {
    cursor: pointer;
    background-color: #f4f4f4;
    position: relative;
}

    #patients_list th .arrow {
        font-size: 12px;
        margin-left: 5px;
        opacity: 0.3;
    }

    #patients_list th.active .arrow {
        opacity: 1;
    }

.pb100 {
    padding-bottom: 100px;
}

.col-form-label > span {
    color: #cc0000;
}

input:not([type="checkbox"]):not([type="radio"])::placeholder,
textarea::placeholder {
    color: #333333;
    opacity: 0.5;
}

/* WebKit browsers (Chrome, Safari) */
input:not([type="checkbox"]):not([type="radio"])::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #333333;
    opacity: 0.5;
}

/* IE 10-11 */
input:not([type="checkbox"]):not([type="radio"]):-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #333333;
    opacity: 0.5;
}

/* Edge (older versions) */
input:not([type="checkbox"]):not([type="radio"])::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #333333;
    opacity: 0.5;
}



select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image: url("../img/down.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    margin-bottom: 10px;
}

#step1 select {
    max-width: 300px;
}

#step1 input {
    max-width: 180px;
}


.section1 label {
    max-width: 850px;
    margin: 20px auto;
}

.section1 textarea {
    max-width: 630px;
}

#step1 .table td, #step2 .table td {
    text-align: left;
}

#step2 input, select, textarea {
    border-radius: 6px;
}


.modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            position: absolute;
            top: 0;
            bottom: 0;
            margin: auto auto;
            left: 50%;
            transform: translateX(-50%);
            width: 90vw;
            width: 90dvw;
            background: white;
            border-radius: 10px;
            overflow: hidden;
        }

        iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .closePopup {
            position: absolute;
            border: none;
            background: none;
            cursor: pointer;
            top: 10px;
            right: 5px;
        }
        
.button-remove {
    color: #C00000;
    border: 2px solid #C00000;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.button-edit {
    color: rgba(101, 171, 20, 1);
    border: 2px solid rgba(101, 171, 20, 1);
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.places-table {
    border: 1px solid #C0C0C0;
    border-radius: 20px;
    border-collapse: collapse;
}

    .places-table td {
        padding: 8px 12px;
        border-collapse: collapse;
        border-bottom: 1px solid #C0C0C0;
        font-size: 14px;
    }

        .places-table td:last-child {
            text-align: right;
        }

.lightbg {
    background-color: rgba(183, 211, 255, 0.1);
}

.commentbx {
    display: flex;
}

.btnwrap {
    text-align: right;
    margin: 15px 0px;
}

.btn-proceed {
    background-color: #0E4BA8;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    width: unset !important;
    padding: 10px 40px;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    margin: 0px 0px 0px auto;
    max-width: unset !important;
}
.btn-proceed:hover {
    background-color: #0E4BA8;
    color: white;
}

.table-wrap {
    display: flex;
    gap: 0px 30px;
}

.empty-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .empty-section > h3 {
        color: rgba(14, 75, 168, 1);
        font-size: 16px;
        text-align: center;
        font-weight: 600;
    }


.progress-caption span>img{
    width: 22px;
    height: 22px;
}
#todayDate{
    display: none;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(255,255,255,0.6); /* glossy effect */
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}



.head-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.table-div-row{
    display: flex;
    justify-content:space-between;
    align-items:center;
    padding: 10px 10px;
}
.table-div-row-data{
    color: #0E4BA8;
    font-size: 18px;
    font-weight: 600;
}

.table-div-row:nth-child(even) {
    background-color: #ffffff;
}

.table-div-row:nth-child(odd) {
    background-color: #f2f2f2;
}



#div_doct .table-container{
    border: none;
}
#div_doct .table-container > table{
     margin-top: 0px;
}


/* ===== NAV ===== */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
}

.nav-item {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.nav-item.active {
    font-weight: bold;
}

/* ===== USER DROPDOWN ===== */
.user-dd {
    position: relative;
}

/* Toggle */
.user-dd-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-dd-toggle.active > span {
    color: #0E4BA8;
    font-weight: bold;
}

/* Icon */
.user-icon {
    width: 24px;
    height: 24px;
}

/* Arrow */
.user-dd-arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -3px;
}

/* Rotate arrow */
.user-dd.active .user-dd-arrow {
    transform: rotate(-135deg);
    margin-top: 0px;
}

/* Menu */
.user-dd-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}


.user-dd.active .user-dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dd.active {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;

}
.user-dd.active .user-dd-toggle{
    background-color: #F8F9FB;
}

.user-dd-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: normal;
}

.user-dd-item:hover {
    background: #f5f5f5;
}
.btn-enter-now{
    background-color: #0E4BA8;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 13px;
    cursor: pointer;
}
.form-control:focus{
    box-shadow: none;
}

.loader-trend{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,0.2);
    z-index:10;
    width: 100%;
    height: 100%;
}
.sm-faded{
    opacity: 0.5;
    font-weight: normal !important;
    font-size: 16px !important;
}
#btn_call{
    padding: 10px 30px;
    font-size: 16px;
    line-height: normal;
}


.popupSmall{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Popup Box */
.popupBody {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 550px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}