body{
    background-color: #dddae7;
}

:root {
    --bs-primary: #0d6efd; /* Bootstrap default primary color */
}

.cursor-pointer{
    cursor: pointer;
}

/* General input focus reset */
input:focus, textarea:focus, button:focus, select:focus {
    outline: none !important;
    box-shadow: none !important;
}
.bi.bi-x-circle, .bi.bi-trash, .bi.bi-arrows-move{
    cursor: pointer;
}

.spinner-color{
    color: var(--bs-primary);
}

.input-wrapper .input-label{
    font-size: 10px;
    font-weight: 900;
    display: block;
    height: 10px;
}
.input-wrapper input{
    width: 100%;
    height: 18px;
    font-size: 10px;
    padding: 3px 8px;
    border: 1px solid var(--bs-primary);
    border-radius: 3px;
}
.input-wrapper span{
    font-size: 10px;
    font-weight: 700;
}
.custom-btn{
    padding: 2px 8px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-wrapper{
    height: calc(100vh - 2px);
    padding: 10px 20px;
    overflow-y: auto;
}
/* Custom style for the checkbox */
.form-check-input:checked {
    background-color: var(--bs-primary); /* Bootstrap primary color */
    border-color: var(--bs-primary); /* Bootstrap primary color */
}



/* Optional: For the checkbox border when unchecked */
.form-check-input {
    border: 1px solid var(--bs-primary); /* Default border color */
}

/* Navbar Styles */
.navbar {
    padding: 10px 0;
    background-color: #f8f9fa;
    /* border: 1px solid var(--bs-primary); */
}
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.navbar ul li {
    position: relative;
    margin-right: 20px;
}
.navbar ul li a {
    text-decoration: none;
    color: #333;
    padding: 3px 15px;
    display: block;
}
.navbar ul li:hover > a {
    background-color: #ddd;
    /* color: #fff; */
}
.navbar ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background-color: #fff;
    border: 1px solid #ddd;
    display: none;
    z-index: 10000;
}
.navbar ul li:hover ul {
    display: block;
}
.navbar ul li ul li {
    margin: 0;
}
.navbar ul li ul li a {
    padding: 10px 15px;
    white-space: nowrap;
}
.navbar ul li ul li a:hover {
    background-color: #f1f1f1;
}

.color-picker-wrapper {
    position: relative;
    display: inline-block;
}

.color-picker-label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #6c757d; /* Customize the color of the icon */
    pointer-events: none;
}

.color-picker-input {
    padding-left: 35px; /* Space for the icon */
    height: 40px;
    width: 120px; /* Adjust the width as needed */
    border: 1px solid #ced4da;
    border-radius: 4px;
    appearance: none; /* Remove the default styling */
}
.card-body{
    padding: 5px 8px;
}


.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: transparent !important;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary) !important;
}

.patient-img{
    width: 74px;
    height: 74px;
    padding: 5px;
    border: 1px solid rgb(235, 227, 227);
    border-radius: 4px;
}
.patient-img-input-preview{
    width: 100%;
    height: auto;
    padding: 5px;
    border: 1px solid var(--bs-primary);
    border-radius: 4px;
}

.borderless-table th, .borderless-table td {
    border: none;
}
.patient-table th, .patient-table td{
    font-size: 12px;
    padding: 0px;
}
.border-table th, .border-table td {
    border: 1px solid var(--bs-primary);
    padding: 0px 8px;
}

textarea{
    font-size: 14px;
    padding: 3px 8px;
    color: var(--bs-primary) !important;
    border-radius: 6px;
}
/* Placeholder styling */
textarea::placeholder, input::placeholder {
    color: var(--bs-primary) !important; /* Use the same primary color */
    opacity: 0.7 !important; /* Adjust opacity for better visibility */
}

#new-patient-modal input, #new-patient-modal textarea,
#edit-patient-modal input, #edit-patient-modal textarea{
    border: none;
    width: 100%;
    height: 28px;
    font-size: 14px;
    padding: 3px 8px;
    color: var(--bs-primary);
    border-radius: 6px;
}
#new-patient-modal input[type="radio"],
#edit-patient-modal input[type="radio"] {
    width: 16px !important;
    height: 16px;
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
    font-size: 14px;
    padding: 3px 8px;
    color: var(--bs-primary);
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
    outline: none;
}
#new-patient-modal textarea::placeholder, p.ck-placeholder::before,
#edit-patient-modal textarea::placeholder, p.ck-placeholder::before {
    color: var(--bs-primary) !important;
    opacity: 0.7 !important; /* Adjust opacity for better visibility */
}

.radio-option{
    display: flex;
    margin-right: 20px;
    justify-content: start;
    align-items: center;
}

/* Style for the checked radio button */
#new-patient-modal input[type="radio"]:checked::before, 
#edit-patient-modal input[type="radio"]:checked::before  {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 4px;
}


.unorder-list{
    list-style: none;
    margin: 2px 0px 0px 26px;
    padding: 0;
}
.unorder-list li{
    font-size: 12px;
    color: var(--bs-primary);
    font-weight: 600;
    position: relative;
}
.unorder-list li::before {
    content: '➔ '; /* Arrow symbol */
    color: var(--bs-primary); /* Same color as text */
    position: absolute;
    left: -15px; /* Adjust the spacing as needed */
}

.prescription-card{
    /* height: 450px; */
    height: calc(100vh - 45vh);
}
.advise-card{
    /* height: 200px; */
    height: calc(100vh - 78vh);
}
.plan-card{
    /* height: 200px; */
    height: calc(100vh - 78vh);
}
.rx-text{
    font-size: 30px;
}
.medicine-table tr th, .medicine-table tr td{
    font-size: 14px;
    color: var(--bs-primary);
}
.medicine-table tr th:first-child,
.medicine-table tr td:first-child {
    border: none;
    width: 50px;
}
.medicine-table tr .action{
    width: 20px;
}
.medicine-table tr .sl{
    width: 20px;
}
.medicine-table tr .dose{
    width: 110px;
}
.medicine-table tr .intruction{
    width: 110px;
}
.medicine-table tr .duration{
    width: 70px;
}
.medicine-table input {
    border: none;
    width: 100%;
    height: 28px;
    font-size: 14px;
    padding: 1px 3px;
    color: var(--bs-primary);
    border-radius: 6px;
}


.sample-treatment-table tr th, .sample-treatment-table tr td{
    font-size: 14px;
    color: var(--bs-primary);
}
.sample-treatment-table tr th:first-child,
.sample-treatment-table tr td:first-child {
    border: none;
    width: 50px;
}
.sample-treatment-table tr .sl{
    width: 20px;
}
.sample-treatment-table tr .medicine{
    width: 280px;
}
.sample-treatment-table tr .dose{
    width: 110px;
}
.sample-treatment-table tr .intruction{
    width: 110px;
}
.sample-treatment-table tr .duration{
    width: 200px;
}
.sample-treatment-table input {
    border: none;
    width: 100%;
    height: 28px;
    font-size: 14px;
    padding: 1px 3px;
    color: var(--bs-primary);
    border-radius: 6px;
}

.plan-date{
    font-size: 12px;
    width: 150px;
    margin-right: 3px;
    border: 1px solid var(--bs-primary);
    height: 22px;
    border-radius: 5px;
    color: var(--bs-primary);
}

/* Apply primary color to table borders */
.theme-table.table-bordered td, 
.theme-table.table-bordered th {
    border: 1px solid var(--bs-primary) !important; /* Bootstrap primary color */
}

/* Optional: Adjust hover effects for primary color theme */
.theme-table.table-striped tbody tr:hover {
    /* background-color: rgba(0, 123, 255, 0.1); Light primary background on hover */
}

/* Ensure all text inherits the primary color */
.theme-table thead th, .theme-table tbody td {
    color: var(--bs-primary) !important;
}
.theme-table .dataTables_length{
    color: var(--bs-primary);
}

#doctor-info p{
    color: var(--bs-primary) !important;
}
.cheif-complaint-card, .on-examination-card{
    /* height: calc(100vh - 660px); */
}
.investigation-card, .disease-card, .dianosis-card{
    /* height: calc(100vh - 652px); */
}
.user-nav-avatar{
    width: 22px;
    height: 22px;
    border: 1px solid var(--bs-primary);
    border-radius: 50px;
    padding: 3px;
    margin-right: 5px !important;
}
.user-profile-setting-card{
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.card{
    border: none !important;
    /* border: 2px solid wheat !important; */
}
.navOption {
    color: #ffffff !important; /* Bright text to signify active state */
    background-color: #b4bcc5 !important; /* Vibrant blue for active link */
    border-radius: 5px !important; /* Match the .navOption rounded corners */
    padding: 6px 12px !important; /* Consistent padding with .navOption */
    font-size: 15px !important; /* Standard font size for balance */
    font-weight: bold !important; /* Bold text to emphasize the active link */
    text-decoration: none !important; /* Ensure no underlines */
    box-shadow: 0 2px 5px rgba(125, 131, 138, 0.4); /* Subtle glow effect */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.navOption:hover {
    background-color: #5a6268; /* Slightly darker gray on hover */
    transform: scale(1.05); /* Slight zoom effect for hover interaction */
}
.nav-link-active {
    color: #ffffff !important; /* Bright text to signify active state */
    background-color: #007bff !important; /* Vibrant blue for active link */
    border-radius: 5px !important; /* Match the .navOption rounded corners */
    padding: 6px 12px !important; /* Consistent padding with .navOption */
    font-size: 15px !important; /* Standard font size for balance */
    font-weight: bold !important; /* Bold text to emphasize the active link */
    text-decoration: none !important; /* Ensure no underlines */
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.4); /* Subtle glow effect */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.nav-link-active:hover {
    background-color: #0056b3 !important; /* Darker blue on hover */
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.6); /* More pronounced glow on hover */
    color: #f8f9fa !important; /* Slightly lighter text on hover for contrast */
}

.select2-container--default .select2-selection--single{
    background-color: #f5e7ea !important;
    border: none !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field{
    border: none !important;
    background-color: white !important;
}
.select2-container--open .select2-dropdown--below{
    border: none !important;
    background-color: #f0dfe3 !important;
}

