html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    transition: margin-left .5s;
    background-color: #f6f6f6;
    font-family: 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/*Navbar*/

header {
    top: 0;
}

.NavHead {
    transition: margin-left .5s;
    margin-top: -10px;
    /*margin-bottom:-10px;*/
    top: 0;
    background-color: #efefef;
    padding-left: 20px;
    height: 60px;
}

.navbar-brand {
    color: #598D41 !important;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.navLogo {
    height: 45px;
    /*width: 100px;*/
    margin-right: 10px;
}

.navLink > li > a > i {
    color: #ffffff;
    font-size: 18px;
}

.navLinkMenu > li > a {
    color: #ffffff;
    font-size: 18px;
}

.NavHead > div > a > i {
    color: #ffffff;
    font-size: 20px;
    margin-right: 20px;
    padding-top: 10px;
}

.navMenu > li > a {
    color: #FF9966 !important;
    font-weight: 600;
}

.menuOpenBtn {
    color: #FF9966 !important;
    background-color: transparent;
    border: none;
    margin-right: 20px;
}

.menuLoginBtn {
    color: #336699 !important;
    background-color: transparent;
    border: none;
}

.navUsr {
    font-weight:500;
}

    .navUsr > b, .navUsr > i {
        color: #336699;
    }

/*Footer*/
.footer {
    transition: margin-left .5s;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 60px;
    width: 100%;
    background-color: #336699;
    color: white;
    text-align: center;
    /*margin-left: 50px;*/
}

    .footer > div {
        padding-top: 20px;
        padding-left: 20px;
    }

.footerLeft {
    color: #ffffff;
    font-size: 13px;
    float: left;
    text-align: left;
}

.footerRight {
    color: #c4c4c4;
    font-size: 13px;
}

    .footerRight > a {
        color: #c4c4c4;
        text-decoration: none;
    }

/*Login Form*/
.loginModalContent {
    outline: none;
    border: none;
    box-shadow: 5px 5px 5px #656565;
}

.LogModal {
    width: 30% !important;
}

.loginCardIcon {
    text-align: center;
    font-size: 30px;
    background-color: #1c3a66;
    color: #ffffff;
    padding: 20px;
    border-radius: 60px;
}

.loginCardHead {
    text-align: center;
    color: #f47921;
    font-weight: 600;
    padding-bottom: 10px;
}

.loginCardBody {
    padding-left: 30px;
    padding-right: 30px;
}

#usrname {
    border: none;
    background-color: #f6f6f6;
    color: #41598D;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

    #usrname:focus, #usrname:active {
        outline: none;
        border: none;
        box-shadow: none;
        background-color: #f6f6f6;
        color: #41598D;
        padding: 10px;
        margin-bottom: 20px;
        font-size: 14px;
    }

#psw {
    border: none;
    background-color: #f6f6f6;
    color: #41598D;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

    #psw:focus, #psw:active {
        outline: none;
        border: none;
        box-shadow: none;
        background-color: #f6f6f6;
        color: #41598D;
        padding: 10px;
        margin-bottom: 20px;
        font-size: 14px;
    }

#clientname {
    border: none;
    background-color: #c6e6b8;
    color: #656565;
    margin-bottom: 10px;
    font-size: 12px;
    height: 5%;
    padding: 10px;
}

/*#clientname:focus, #clientname:active {
    outline: none;
    border: none;
    box-shadow: none;
    background-color: #f6f6f6;
    color: #41598D;
    padding: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}*/

.loginCardFrgtPswd {
    color: #f47921;
    text-decoration: none;
    font-size: 14px;
}

    .loginCardFrgtPswd > a {
        color: #f47921;
        text-decoration: none;
        font-size: 14px;
    }

.LogBtn {
    position: absolute !important;
    z-index: 10;
    align-items: center;
    bottom: -60px !important;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    background-color: #72b454;
    color: #d9efcf;
}

    .LogBtn:hover {
        position: absolute;
        z-index: 10;
        align-items: center;
        bottom: -40px;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        background-color: #72b454;
        color: #267900;
    }

/* ************************ */
.forgotPWD {
    font-size: 10px;
    font-style: italic;
    margin-top: -30px;
    margin-left: -10px;
}

#forgotBtn .dx-button-text {
    text-transform: unset !important;
}

.flipper {
    width: 500px;
    height: 410px;
    position: relative;
    transition: 0.6s;
    transform-style: preserve-3d;
}

.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    backface-visibility: hidden;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
}

.flip {
    transform: rotateY(180deg);
}

.infohide {
    height: 1px;
    display: none;
    margin-bottom: 20px;
}

.infoshow {
    margin-bottom: 20px;
    height: 15px;
    display: block;
}
/* ************************ */

/* Master Card */
.cardht {
    background-color: #FF9966;
    color: #fff;
    font-weight: 500;
}

.masterCardBody {
    box-shadow: 5px 2px 10px 0px #dbdbdb;
    padding: 0px;
}

.masterActualBody {
    padding: 0px 10px 0px 10px;
}

/* Master Btn */
.masterBtn {
    color: #fff;
    float: right;
    padding: 0px;
}

    .masterBtn :hover {
        color: #297c8a;
    }

/* Info Card - with selection details */

.infoCard {
    height: 100%;
    border-radius: 0px;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid #336699;
    box-shadow: 2px 2px 8px 0px #dbdbdb;
    margin-right: 30px;
}

.infoCard2 {
    height: 100%;
    border-radius: 0px;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 5px solid #598D41;
    box-shadow: 2px 2px 8px 0px #dbdbdb;
    margin-left: -10px;
    margin-right: 30px;
}

.infoCardBody {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
}

#capLineHead {
    color: #336699;
    font-size: 15px;
    font-weight: 500;
}

#capLineOne {
    color: #FF9966;
    font-size: 14px;
    font-weight: 500;
}

#capLineTwo {
    color: #454545;
    font-size: 14px;
    font-weight: 400;
}

#capLineHead2 {
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 600;
}

#capLineOne2 {
    color: #598D41;
    font-size: 14px;
    font-weight: 500;
}

#capLineTwo2 {
    color: #454545;
    font-size: 14px;
    font-weight: 400;
}

/* Filter Accordion */
#filterAccordion {
    margin-bottom: 10px;
}

#filterAccordionBtn {
    background-image: linear-gradient(to left, #7689b1, #41598D);
    /*background-color: #f47921;*/
    color: #f1daca;
    font-weight: 600;
    padding-bottom: 10px;
    border-radius: 0px;
}

    #filterAccordionBtn:focus {
        box-shadow: none;
    }

#filterAccordionOne {
    border-radius: 0px;
}

#filterAccordionBody {
    background-color: #fff;
    border: solid 1px #c7daf6;
    padding-top: 20px;
}

.dx-texteditor-input {
    padding-top: 20px !important;
}

.filtered-row .dx-texteditor-input {
    padding-top: 0px !important;
}

.filtered-row .filter-row-focus .dx-texteditor-input {
    padding-top: 0px !important;
}

.loader {
    background: rgba(255,255,255,.8);
    padding-top: 5px;
    z-index: 99999;
}

    .loader div {
        border: 16px solid #f3f3f3; /* Light grey */
        border-top: 16px solid #3498db; /* Blue */
        border-radius: 50%;
        width: 20px;
        height: 20px;
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sidenav {
    height: 86%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    margin-top: 61px;
    left: 0;
    background-color: rgba(61, 104, 138, 0.90);
    overflow-x: hidden;
    transition: 0.5s !important;
    padding-top: 30px;
}

    .sidenav a {
        /*padding: 80px 8px 8px 32px;*/
        text-decoration: none;
        /*font-size: 25px;*/
        color: #818181;
        display: block;
        transition: 0.3s;
        text-decoration: none !important;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }


/* --- Register Modal Styling --- */
/* Modal Close Button White */
#registerModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}

    /* Modal Close Button Hover Effect */
    #registerModal .btn-close:hover {
        filter: invert(1) grayscale(0%) brightness(150%) !important;
    }


#registerModal .modal-header {
    background-color: #3498db; /* Soft flat blue */
    color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid #2980b9;
}

#registerModal .modal-title i {
    margin-right: 6px;
}

#registerModal .modal-body {
    background-color: #f4f6f7; /* Very light grey */
    padding: 15px;
}

#registerModal .modal-footer {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-top: 1px solid #dee2e6;
}

/* --- Tab Styling --- */
/*#registerModal .nav-tabs .nav-link.active {
    background-color: #27ae60 !important;*/ /* Flat green */
    /*color: #fff;
    font-weight: bold;
    border: none;
}

#registerModal .nav-tabs .nav-link.active {
    border: none !important;
    border-bottom: 3px solid #f1c40f !important;*/ /* Flat Yellow underline for active tab */
    /*color: #2c3e50 !important;
    background-color: transparent !important;
    font-weight: 600;
}*/

/* --- Tab Headers Style --- */
#registerModal .nav-tabs .nav-link {
    font-weight: 500;
    font-size: 16px;
    color: #34495e; /* Flat dark blue color */
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
}

    /* Active Tab Styling */
    #registerModal .nav-tabs .nav-link.active {
        font-weight: 700; /* Make text bolder */
        color: #598D41 !important; /* Flat orange for active tab */
        border-bottom: 2px solid #f1c40f !important; /* Yellow underline */
        background-color: transparent !important;
    }

/* --- Form Styling --- */
.dx-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
}

.dx-field-label {
    font-weight: 600;
    color: #2c3e50;
}

.dx-field-value {
    margin-top: 5px;
}

.dx-texteditor-input {
    background-color: transparent !important; /* Very Light Blue */
    border-radius: 5px;
    border: 1px solid #b8daff;
}

.dx-texteditor.dx-state-focused .dx-texteditor-input {
    background-color: #d1ecf1;
    border-color: #17a2b8;
}

.dx-lookup-field {
    background-color: transparent !important;
}

/* --- Upload Control Styling --- */
.dx-fileuploader {
    background-color: #ffffff;
    border: 1px dashed #6c757d;
    padding: 20px;
    border-radius: 8px;
}

    .dx-fileuploader .dx-fileuploader-input-container {
        background-color: #e9f7fe;
        border: none;
    }

/* Make the file name and trash icon sit nicely side-by-side */
.dx-fileuploader-file-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

/* File name text inside */
.file-name-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 85%; /* Adjust as needed */
    display: inline-block;
    vertical-align: middle;
}

/* --- Buttons --- */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

    .btn-success:hover {
        background-color: #218838;
        border-color: #1e7e34;
    }

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

    .btn-warning:hover {
        background-color: #e0a800;
        border-color: #d39e00;
    }

/* --- Progress Bar --- */
.dx-progressbar-range {
    background-color: #17a2b8; /* Bootstrap info color */
}

.dx-progressbar-status {
    font-weight: bold;
}

/* --- Modal Content Final Clean Styling --- */
#registerModal .modal-content {
    border: none !important; /* No borders */
    outline: none !important; /* No outline */
    border-radius: 10px; /* Smooth rounded corners */
    background-color: #ffffff;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.15); /* Soft elegant shadow */
}

/* --- Modal Dialog Spacing --- */
#registerModal .modal-dialog {
    max-width: 900px;
    margin-top: 15px; /* Lower it slightly */
}

/* --- Input Icons Flat Coloring --- */
.dx-button.dx-button-has-icon.dx-button-mode-contained.dx-button-normal {
    background-color: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.dx-button-content .dx-icon {
    color: #5dade2; /* Light flat blue for generic icons */
    font-size: 18px;
}

/* Specific icons if you want different colors */
.dx-button-content .dx-icon-user {
    color: #3498db !important; /* Flat blue for user */
}

.dx-button-content .dx-icon-tel {
    color: #1abc9c !important; /* Flat teal for phone */
}

.dx-button-content .dx-icon-email {
    color: #e67e22 !important; /* Flat orange for email */
}

.dx-button-content .dx-icon-event {
    color: #9b59b6 !important; /* Flat purple for calendar/date */
}

/* Optional: slight hover effect */
.dx-button:hover .dx-icon {
    color: #2980b9 !important; /* Slight darker blue on hover */
}

/* Drag Enter Highlight */
.highlight-dropzone {
    border: 2px solid #2ecc71 !important; /* Green Border */
    background-color: #eafaf1 !important; /* Light Green BG */
}

/* Trash icon styling */
.delete-upload-icon {
    margin-left: 10px;
    color: #e74c3c;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0; /* Do not shrink the trash icon */
}

    .delete-upload-icon:hover {
        color: #c0392b;
    }

/* Wrapped Filename */
.file-name-text {
    vertical-align: middle;
}

.ViewHead{
    background-color: #eeebab;
    color: #598D41;
    padding: 10px;
    font-weight: 500;
    font-size: 18px;
}

.prescCardBody {
    box-shadow: 5px 2px 10px 0px #dbdbdb;
    padding: 10px;
    background-color:#fbfbfb;
}

.custom-toast {
    width: 500px; /* Adjust width as needed */
    max-width: none;
}

.custom-consult-btn{
    /*visibility:*/
}