.patient-info-wrap .nav-tabs-custom {
	overflow-x: auto;
	white-space: nowrap;
    flex-wrap: unset;
}

.dropdown-menu {
    border-radius: 20px !important;
    padding: 12px !important;
}

.form-check .form-check-input {
float: left;
  width: 23px;
  height: 23px;
  margin-right: 11px;
  margin-top: -1px;
}

.form-switch .form-check-input {
  min-width: 43px !important;
}

.btn-sm, .btn-group-sm>.btn {
 	border-radius:8px ;
	    padding-right: 10px;
		padding-left: 10px;
}

.page-title-box h4 {
       font-size: 22px !important;
}
.waves-effect {
    font-size: 16px !important;
	margin-right: 4px;
}

.topnav {
    background: #f8f8fb !important;
}

.nav-tabs > li > a, .nav-pills > li > a {
    color: var(--bs-emphasis-color);
	margin-bottom: 6px  !important;
}

.nav-tabs .nav-link:hover
 {
    background-color: #ca3f96 !important;
    color: white !important;
    border-radius: 8px !important;
	margin-bottom: 6px  !important;

}

.blockquote {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  border-left: 5px solid #556ee6 !important;
 
  
}

.nav-tabs-custom .nav-item .nav-link.active {
    background-color: #5611f3f7 !important;
     color: white !important;
    border-radius: 8px !important;

		
	}

.nav-tabs .nav-item {
    margin-right: 0.8rem; /* adjust spacing as needed */
}

/* Remove pseudo-elements if used for underline */
.nav-tabs .nav-link.active::after,
.nav-tabs .nav-link.active::before {
    content: none !important;
}



.topnav .navbar-nav .nav-link {
    font-size: 15px !important;
    color: #495057 !important;
}
#topnav-menu-content .nav-item.dropdown.active .nav-link {
  color: #495057 !important;
}
.topnav .navbar-nav .dropdown-item {

	font-size: 15px !important;
}
.image-ipd-display img{
    width: 100%;
}

.avatar-sm
 {
    height: 2rem !important;
    width: 2rem !important;
}

.boy-image {
  width: 55%;              /* half the width */
  overflow: hidden;        /* hide the rest */
  position: relative;
  height: auto;            /* or a fixed height */
}

.girl-image svg {
  position: relative;
  left: -50%;
  clip-path: inset(0 0 0 50%);
}

.parameter-plus-icon , .parameter-right-icon{
  cursor: pointer;
}

.container-fluid #timer-patient {
	font-size: 30px;
}
#patient-status .select2-container , 
#demographic .select2-container, 
#options-container .select2-container, 
#radiology-options-container .select2-container, 
#patient-history .select2-container, 
#patient-diagnosis .select2-container, 
#smart-order-container .select2-container, 
#patient-tab1 .select2-container, 
#patient-management .select2-container{
  display: block;
}

/* Multi-Step Prescription Form Styles */
.step-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}


.hlg {
  font-size: 1.015625rem;
  color: #ba1491;
}
.bg-esi5 {
  --bs-bg-opacity: 1;
  background-color: rgba(80, 165, 241, 0.26) !important;
  border-radius: 11px;
}
.bg-esi4 {
  --bs-bg-opacity: 1;
  background-color: rgba(153, 232, 147, 0.26) !important;
  border-radius: 11px;
}
.bg-esi3 {
  --bs-bg-opacity: 1;
  background-color: rgba(242, 195, 52, 0.26) !important;
  border-radius: 11px;
}

.bg-esi2 {
  --bs-bg-opacity: 1;
  background-color: rgba(223, 74, 15, 0.26) !important;
  border-radius: 11px;
}

.bg-esi1 {
  --bs-bg-opacity: 1;
  background-color: rgba(223, 15, 15, 0.26) !important;
  border-radius: 11px;
}

.bg-pri {
  --bs-bg-opacity: 1;
  background-color: rgb(183, 190, 223) !important;
  border-radius: 11px;
}
.bg-dep {
background-color: rgba(215, 78, 11, 0.54) !important;
min-height: 102px;
border-radius: 11px;
}

.bg-score {
  --bs-bg-opacity: 1;
  background-color: rgba(158, 107, 248, 0.36) !important;
  border-radius: 11px;
}

.bg-pain {
  background-color: rgba(215, 11, 116, 0.43) !important;
  border-radius: 11px;
}

.table.dataTable, table.dataTable {
  margin-top:33px !important;
}
/* DataTables unified toolbar: buttons left, search right, always same row */
.dt-top-toolbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.dt-top-toolbar .dt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  float: none;
}
.dt-top-toolbar .dataTables_filter {
  margin: 0;
  text-align: left;
}
.dt-top-toolbar .dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
  font-weight: normal;
}
.dt-top-toolbar .dataTables_filter input {
  width: 200px;
  margin: 0;
}

.cardlg {
  border: 2px solid #7F1CA31A;
  border-radius: 20px;
}
.step-item {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: bold;
}

.step-item.active {
    border-color: #556ee6;
    background: #556ee6;
    color: white;
}

.step-item.completed {
    background: #34c38f;
    color: white;
}

.step-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #556ee6;
    font-weight: 600;
}

.step-item.completed .step-label {
    color: #34c38f;
    font-weight: 600;
}

.step-content {
    display: none !important;
}

.step-content.active {
    display: block !important;
    animation: fadeIn 0.3s ease-in-out;
}

/* Ensure Step 1 is always visible by default */
#mgmt-step-1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#mgmt-step-1.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override any potential hiding rules for management step 1 */
.step-content#mgmt-step-1 {
    display: block !important;
    visibility: visible !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Force hide step 2 when consumables is selected */
.step-content#step-2.consumables-hidden {
    display: none !important;
}

/* ICD10 Search Modal Styles */
.icd10-result-row:hover {
    background-color: #f8f9fa;
}

.icd10-selected-row {
    background-color: #e3f2fd !important;
}

.selected-icd10-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.remove-icd10-tag:hover {
    color: #dc3545 !important;
}

.form-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.prescription-type-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prescription-type-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.prescription-type-option:hover {
    border-color: #556ee6;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.prescription-type-option.selected {
    border-color: #556ee6;
    background: #f8f9ff;
    box-shadow: 0 4px 12px rgba(85, 110, 230, 0.2);
}

.prescription-type-option input[type="radio"] {
    margin-right: 0.5rem;
}

.repeatability-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.repeatability-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.repeatability-option:hover {
    border-color: #556ee6;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.repeatability-option.selected {
    border-color: #556ee6;
    background: #f8f9ff;
    box-shadow: 0 4px 12px rgba(85, 110, 230, 0.2);
}

.repeatability-option input[type="radio"] {
    margin-right: 0.5rem;
}

.zero-participation-options {
    background: #5b7c9d1f;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.form-check-input:checked {
    background-color: #556ee6;
    border-color: #556ee6;
}

.form-check-input:focus {
    border-color: #556ee6;
    box-shadow: 0 0 0 0.2rem rgba(85, 110, 230, 0.25);
}

.prescription-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.prescription-details .form-check-label {
    color: #495057;
    font-weight: 500;
}

.prescription-details .form-label {
    color: #495057;
    font-weight: 600;
}

.btn-navigation {
    min-width: 120px;
    font-weight: 500;
}

.medication-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.medication-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.diagnoses-table {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.diagnoses-table .table {
    margin-bottom: 0;
}

.diagnoses-table .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 12px 15px;
}

.diagnoses-table .table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.diagnoses-table .table tbody tr:hover {
    background-color: #f8f9fa;
}

.diagnoses-table .table tbody tr:last-child td {
    border-bottom: none;
}

.remove-diagnosis {
       font-size: 12px;
}

.remove-diagnosis:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-lg {
	 background-color: #ca3f96 !important;
	 color: white  !important;
	}
	
.mt-lg7 {
	margin-top: 7% !important;
}

/* ICD10 Modal Styles */
.icd10-icon {
    width: 40px;
    height: 40px;
    background-color: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icd10-icon i {
    font-size: 18px;
}

#icd10Modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#icd10Modal .modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px 12px 0 0;
}

#icd10Modal .modal-title {
    color: #495057;
    font-size: 1.5rem;
}

#icd10Modal .form-check-input:checked {
    background-color: #556ee6;
    border-color: #556ee6;
}

#icd10Modal .form-check-input:focus {
    border-color: #556ee6;
    box-shadow: 0 0 0 0.2rem rgba(85, 110, 230, 0.25);
}

#icd10Modal .table {
    margin-bottom: 0;
}

#icd10Modal .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 12px 15px;
}

#icd10Modal .table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

#icd10Modal .icd10-result-row:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

#icd10Modal .icd10-selected-row {
    background-color: #e3f2fd !important;
    border-left: 4px solid #2196f3;
}

.selected-icd10-tag {
    background-color: #e9ecef !important;
    color: #495057 !important;
    border: 1px solid #ced4da !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.selected-icd10-tag .remove-icd10-tag {
    color: #6c757d;
    font-size: 14px;
    margin-left: 4px;
}

.selected-icd10-tag .remove-icd10-tag:hover {
    color: #dc3545;
}

#icd10Modal .btn-close {
    background-size: 1.2em;
    opacity: 0.7;
}

#icd10Modal .btn-close:hover {
    opacity: 1;
}



#icd10Modal .form-control:focus {
    border-color: #556ee6;
    box-shadow: 0 0 0 0.2rem rgba(85, 110, 230, 0.25);
}

#icd10Modal .btn-primary {
    background-color: #556ee6;
    border-color: #556ee6;
}

#icd10Modal .btn-primary:hover {
    background-color: #4a5fd8;
    border-color: #4a5fd8;
}

#icd10Modal .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

#icd10Modal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Medications Table Styles */
.medications-table {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.medications-table .table {
    margin-bottom: 0;
}

.medications-table .table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 12px 15px;
    font-size: 0.875rem;
}

.medications-table .table td {
    padding: 8px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.875rem;
}

.medications-table .table tbody tr:hover {
    background-color: #f8f9fa;
}

.medications-table .form-control-sm {
    font-size: 0.8rem;
    padding: 4px 8px;
    height: auto;
    text-align: left !important;
    text-align-last: left !important;
}

.medications-table .form-control-sm option {
    text-align: left;
    padding-left: 8px;
}

.medications-table .btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

.medication-details {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.medication-details .card {
    border: none;
    background: transparent;
}

.medication-details .card-body {
    padding: 1.5rem;
}

.medication-details h6 {
    color: #495057;
    font-weight: 600;
}

.medication-details .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.medication-details .alert-success small {
    color: #155724;
    font-size: 0.875rem;
}

/* Patient Management Form Alignment Improvements */
.patient-management-form .form-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    display: block;
}

.patient-management-form .form-control,
.patient-management-form .select2-container .select2-selection--single {
    height: 38px !important;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.patient-management-form .form-control:focus,
.patient-management-form .select2-container--open .select2-selection--single {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.patient-management-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
    padding-left: 0;
    color: #495057;
}

.patient-management-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.patient-management-form .mb-3 {
    margin-bottom: 1.5rem;
}

.patient-management-form .row.g-3 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1rem;
}

/* Ensure consistent appearance for all form elements */
.patient-management-form input[type="text"],
.patient-management-form select {
    background-color: #fff;
    background-clip: padding-box;
    appearance: none;
}

.patient-management-form .invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .patient-management-form .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Management Type Options (similar to prescription-type-options) */
.management-type-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.management-type-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.management-type-option:hover {
    border-color: #556ee6;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.management-type-option.selected {
    border-color: #556ee6;
    background: #f8f9ff;
    box-shadow: 0 4px 12px rgba(85, 110, 230, 0.2);
}

.management-type-option input[type="radio"] {
    margin-right: 0.5rem;
}

/* Attachment Area Styling */
.attachment-area {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.attachment-area:hover {
    border-color: #556ee6;
    background: #f8f9ff;
}

.attachment-dropzone {
    cursor: pointer;
    transition: all 0.3s ease;
}

.attachment-dropzone:hover {
    background: rgba(85, 110, 230, 0.05);
}

.attachment-item {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.attachment-item:hover {
    border-color: #556ee6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Enhanced Professional Styling for Management Form */
.management-form-enhanced .form-label {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.management-form-enhanced .form-control,
.management-form-enhanced .select2-container .select2-selection--single {
    border: 1.5px solid #e3e6f0;
    border-radius: 8px;
      font-size: 0.9rem;
    transition: all 0.3s ease;
}

.management-form-enhanced .form-control:focus,
.management-form-enhanced .select2-container--open .select2-selection--single {
    border-color: #556ee6;
    box-shadow: 0 0 0 0.2rem rgba(85, 110, 230, 0.15);
}

.management-form-enhanced .attachment-area {
    border: 2px dashed #d1d3e2;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.management-form-enhanced .attachment-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(85, 110, 230, 0.1), transparent);
    transition: left 0.5s ease;
}

.management-form-enhanced .attachment-area:hover::before {
    left: 100%;
}

.management-form-enhanced .attachment-area:hover {
    border-color: #556ee6;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 110, 230, 0.15);
}

.management-form-enhanced .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.management-form-enhanced .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.management-form-enhanced .card-header {
    background: linear-gradient(135deg, #556ee6 0%, #4c63d3 100%);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    border: none;
}

.management-form-enhanced .table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    font-weight: 600;
    border: none;
    padding: 1rem 0.75rem;
}

.management-form-enhanced .form-check-input:checked {
    background-color: #556ee6;
    border-color: #556ee6;
}

.management-form-enhanced .btn-primary {
    background: linear-gradient(135deg, #556ee6 0%, #4c63d3 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.management-form-enhanced .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 110, 230, 0.3);
}

/* Professional Data Table Styling */
.professional-table-container {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.professional-table-container .table-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.professional-table-container .table-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
}

.professional-table-container .table-title i {
    color: #556ee6;
    font-size: 1.2rem;
}

.professional-table {
    margin: 0;
    border: none;
}

.professional-table .table-header-cell {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    letter-spacing: 0.05em;
}

.professional-table .table-row {
    transition: all 0.2s ease;
    border: none;
}

.professional-table .table-row:hover {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.professional-table .table-cell {
    padding: 1.25rem 1.5rem;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.9rem;
}

.professional-table .cell-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.professional-table .cell-code {
    background: linear-gradient(135deg, #556ee6 0%, #4c63d3 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 0.05em;
    min-width: 60px;
    text-align: center;
}

.professional-table .cell-divider {
    color: #d1d5db;
    font-weight: 300;
    font-size: 1.2rem;
}

.professional-table .cell-title {
    color: #374151;
    font-weight: 500;
    flex: 1;
}

.professional-table .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
}

.professional-table .badge-info {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.professional-table .badge-success {
   background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.professional-table .badge-warning {
   background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.professional-table .badge-danger {
   background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.professional-table .status-message {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.professional-table .status-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.professional-table .status-message.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.professional-table .status-message.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.professional-table .empty-content {
    padding: 2rem;
}

.professional-table .empty-content i {
    display: block;
    margin: 0 auto 1rem;
}
.remove_header_border{
    border-bottom: none !important;
}
/* Responsive enhancements */
@media (max-width: 768px) {
    .management-form-enhanced .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .professional-table-container .table-header {
        padding: 0.75rem 1rem;
    }
    
    .professional-table .table-header-cell,
    .professional-table .table-cell {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .professional-table .cell-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .professional-table .cell-code {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

.modal-body {
  margin-left: 10%;
  margin-top: 2%;
   margin-right: 10%;
}

.lgwrap {
	 word-wrap: break-word;
   width: 100px;
}

@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 80% !important;
  }
}

.table>:not(caption)>*>* {

    box-shadow:none !important;
}

.card-body-dash {
  background: white !important;
  border-radius: 10px !important;
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
	
}

.card-dash {
  margin-bottom: 24px!important;
  box-shadow: 0 .75rem 1.5rem #12263f08;
 box-sizing: border-box;
	
}

.card {

  border-radius: 10px !important;
  box-shadow: none!important;

}

.card-body {
	
	border-radius: 8px!important;
	padding-top: 25px!important;
	padding-bottom: 25px!important;
	
}

.mt-lg-50 {	
	margin-top: 50px;
}

.mar-lg {
	margin-left: 10px;
  margin-right: 3px;
}

.nurse-provu {
font-size: 19px;
  font-weight: 600;
}

.nursing-element {
  background: #0f31e926;
}

     /* Nursing Nurse Tab Styles */
        .nursing-nurse-tab {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .nursing-nurse-tab .card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
        }
        
        .nursing-nurse-tab .card-header {
            background: #f8fafc;
            border-bottom: 1px solid #e5e7eb;
            padding: 1rem 1.5rem;
            border-radius: 0.75rem 0.75rem 0 0;
        }
        
        .nursing-nurse-tab .card-body {
            padding: 1.5rem;
        }
        
        .nursing-nurse-tab .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
            transition: all 0.2s ease-in-out;
            cursor: pointer;
            border: 1px solid transparent;
            text-decoration: none;
        }
        
        .nursing-nurse-tab .btn-primary {
            background-color: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }
        
        .nursing-nurse-tab .btn-primary:hover {
            background-color: #2563eb;
            border-color: #2563eb;
        }
        
        .nursing-nurse-tab .btn-success {
            background-color: #8d10e36b;
            color: white;            
        }
        
        .nursing-nurse-tab .btn-warning {
            background-color: #f59e0b;
            color: white;
            border-color: #f59e0b;
        }
        
        .nursing-nurse-tab .btn-danger {
            background-color: #ef4444;
            color: white;
            border-color: #ef4444;
        }
        
        .nursing-nurse-tab .form-control {
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            padding: 0.5rem 0.75rem;
            width: 100%;
            font-size: 0.875rem;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        
        .nursing-nurse-tab .form-control:focus {
            border-color: #3b82f6;
            outline: 0;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
		.nursing-nurse-tab .badge {
		  display: inline-flex;
		  align-items: center;
		  padding: 0.25rem 0.5rem;
		  border-radius: 10px;
		  font-size: 0.75rem;
		  font-weight: 500;
		  background: blanchedalmond;
		  color: black;
		}
        
        .nursing-nurse-tab .badge-success {
            background-color: #dcfce7;
            color: #166534;
        }
        
        .nursing-nurse-tab .badge-warning {
            background-color: #fef3c7;
            color: #92400e;
        }
        
        .nursing-nurse-tab .badge-danger {
            background-color: #fee2e2;
            color: #991b1b;
        }
        
        .nursing-nurse-tab .badge-info {
            background-color: #dbeafe;
            color: #1e40af;
        }
        
        .nursing-nurse-tab .task-item {
            background: #5ba6f224;
            border-radius: 0.5rem;
            padding: 1rem;
            margin-bottom: 0.75rem;
            transition: all 0.15s ease-in-out;
        }
        
        .nursing-nurse-tab .task-item:hover {
            background: #f3f4f6;
            border-color: #e5e7eb;
        }
        
        .nursing-nurse-tab .task-item.completed {
            background: #f0fdf4;
            border-color: #bbf7d0;
        }
        
        .nursing-nurse-tab .task-item.urgent {
            background: #fef3c7;
            border-color: #fde68a;
        }
        
        .nursing-nurse-tab .task-item.stat {
            background: #fee2e2;
            border-color: #fca5a5;
        }
        
        .nursing-nurse-tab .order-set-header {
            border-radius: 0.5rem;
            padding: 1rem;
            margin-bottom: 1rem;
        }
        
        .nursing-nurse-tab .order-set-header h6 {
            color: #1e40af;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .nursing-nurse-tab .order-set-header .border-start {
            border-left-width: 3px !important;
        }
		
	.set-col {
		border-radius: 13px;
	}
	

    /* Hide prescription content only */
        .nursing-tab-isolated .step-content,
        .nursing-tab-isolated .step-item,
        .nursing-tab-isolated .step-progress,
        .nursing-tab-isolated .prescription-type-options,
        .nursing-tab-isolated .prescription-type-option,
        .nursing-tab-isolated [id^="step-"],
        .nursing-tab-isolated .form-section,
        .nursing-tab-isolated .card-body,
        .nursing-tab-isolated .prescription-form,
        .nursing-tab-isolated .medication-section,
        .nursing-tab-isolated .consumables-section,
        .nursing-tab-isolated .galenic-section {
            display: none !important;
        }
        
        /* Enhanced Professional Badge Styles */
        .nursing-tab-isolated .badge {
            display: inline-flex;
            align-items: center;
            padding: 0.375rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 600;
            line-height: 1;
            text-transform: uppercase;
            letter-spacing: 0.025em;
            border: 1px solid transparent;
            transition: all 0.2s ease-in-out;
        }
        
        .nursing-tab-isolated .badge-primary {
            background-color: #dbeafe;
            color: #1e40af;
            border-color: #93c5fd;
        }
        
        .nursing-tab-isolated .badge-success {
            background-color: #d1fae5;
            color: #065f46;
            border-color: #6ee7b7;
        }
        
        .nursing-tab-isolated .badge-warning {
            background-color: #fef3c7;
            color: #92400e;
            float: right;
        }
        
        .nursing-tab-isolated .badge-danger {
            background-color: #fee2e2;
            color: #991b1b;
            border-color: #fca5a5;
        }
        
        .nursing-tab-isolated .badge-info {
            background-color: #e0f2fe;
            color: #0c4a6e;
            border-color: #7dd3fc;
        }
        
        .nursing-tab-isolated .badge-purple {
            background-color: #f3e8ff;
            color: #581c87;
            border-color: #c084fc;
        }
        
        .nursing-tab-isolated .badge-orange {
            background-color: #fed7aa;
            color: #9a3412;
            border-color: #fdba74;
        }
        
        /* Enhanced Card Styles */
        .nursing-tab-isolated .order-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 1rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            transition: all 0.2s ease-in-out;
            overflow: hidden;
        }
        
        .nursing-tab-isolated .order-card:hover {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transform: translateY(-1px);
        }
        
        .nursing-tab-isolated .order-item {
            background: #f9fafb;
            border: 1px solid #f3f4f6;
            border-radius: 0.75rem;
            padding: 1rem;
            margin-bottom: 0.75rem;
            transition: all 0.15s ease-in-out;
        }
        
        .nursing-tab-isolated .order-item:hover {
            background: #f3f4f6;
            border-color: #e5e7eb;
        }
        
        /* Enhanced Button Styles */
        .nursing-tab-isolated .btn-modern {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-weight: 500;
            font-size: 0.875rem;
            line-height: 1.25rem;
            transition: all 0.2s ease-in-out;
            cursor: pointer;
            border: 1px solid transparent;
            text-decoration: none;
        }
        
        .nursing-tab-isolated .btn-modern:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .nursing-tab-isolated .btn-modern.btn-primary {
            background-color: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }
        
        .nursing-tab-isolated .btn-modern.btn-primary:hover {
            background-color: #2563eb;
            border-color: #2563eb;
        }
        
        .nursing-tab-isolated .btn-modern.btn-secondary {
            background-color: white;
            color: #374151;
            border-color: #d1d5db;
        }
        
        .nursing-tab-isolated .btn-modern.btn-secondary:hover {
            background-color: #f9fafb;
            border-color: #9ca3af;
        }
        
        /* Enhanced Typography */
        .nursing-tab-isolated .text-heading {
            font-size: 1.25rem;
            font-weight: 600;
            color: #111827;
            line-height: 1.75rem;
        }
        
        .nursing-tab-isolated .text-subheading {
            font-size: 1rem;
            font-weight: 500;
            color: #374151;
            line-height: 1.5rem;
        }
        
        .nursing-tab-isolated .text-body {
            font-size: 0.875rem;
            color: #6b7280;
            line-height: 1.25rem;
        }
        
        /* Enhanced Spacing */
        .nursing-tab-isolated .space-y-4 > * + * {
            margin-top: 1rem;
        }
        
        .nursing-tab-isolated .space-y-6 > * + * {
            margin-top: 1.5rem;
        }
        
        .nursing-tab-isolated .space-x-3 > * + * {
            margin-left: 0.75rem;
        }
        
        /* Enhanced Icons */
        .nursing-tab-isolated .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.25rem;
            height: 1.25rem;
        }
        
        .nursing-tab-isolated .icon-sm {
            width: 1rem;
            height: 1rem;
        }
        
        .nursing-tab-isolated .icon-lg {
            width: 1.5rem;
            height: 1.5rem;
        }
        
        /* Nursing-specific styles */
        .nursing-tab-isolated .card-dep {
            background: #c4bebe3b;
            border-radius: 0.375rem;
            min-height: 95px;
            padding: 1rem;
            border: 1px solid #ced4da00;
         
            margin-bottom: 1rem;
        }
        
        .nursing-tab-isolated .nursing-btn,
        .nursing-tab-isolated .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.375rem 0.75rem;
            border-radius: 0.25rem;
            border: 1px solid #dee2e6;
            background: white;
            transition: all 0.15s ease-in-out;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 400;
            line-height: 1.5;
            text-decoration: none;
        }
        
        .nursing-tab-isolated .nursing-btn:hover,
        .nursing-tab-isolated .btn:hover {
            background: #f8f9fa;
            border-color: #adb5bd;
        }
        
        .nursing-tab-isolated .nursing-btn-primary,
        .nursing-tab-isolated .btn-primary {
            background: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }
        
        .nursing-tab-isolated .nursing-btn-primary:hover,
        .nursing-tab-isolated .btn-primary:hover {
            background: #0b5ed7;
            border-color: #0a58ca;
        }
        
        .nursing-tab-isolated .nursing-btn-warning,
        .nursing-tab-isolated .btn-warning {
            background: #ffc107;
            color: #000;
            border-color: #ffc107;
            float: right;
        }
        
        .nursing-tab-isolated .nursing-btn-warning:hover,
        .nursing-tab-isolated .btn-warning:hover {
            background: #ffca2c;
            border-color: #ffc720;
            float: right;
        }


        
        .nursing-tab-isolated .nursing-select,
        .nursing-tab-isolated .nursing-input,
        .nursing-tab-isolated .form-control {
            border: 1px solid #979a9da6;
            border-radius:10px;
            padding: 0.375rem 0.75rem;
            width: 100%;
            min-height: 46px;
            background: #eeeeee;
            font-size: 0.875rem;
            line-height: 1.5;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        
        .nursing-tab-isolated .nursing-select:focus,
        .nursing-tab-isolated .nursing-input:focus,
        .nursing-tab-isolated .form-control:focus {
            border-color: #86b7fe;
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }
        
        .nursing-tab-isolated .grid-auto-fill {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 0.5rem;
        }
        
        .nursing-tab-isolated .pill {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            border-radius: 9999px;
            padding: 0.125rem 0.5rem;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        /* Fix Bootstrap grid issues */
        .nursing-tab-isolated .row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -15px;
            margin-left: -15px;
        }
        
        .nursing-tab-isolated .col {
            flex: 1;
            padding-right: 15px;
            padding-left: 15px;
        }
        
        .nursing-tab-isolated .container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        
        /* Fix spacing */
        .nursing-tab-isolated .mt-lg-50 {
            margin-top: 3rem;
        }
        
        .nursing-tab-isolated .mb-6 {
            margin-bottom: 1.5rem;
        }
        
        /* Saved orders styling */
        .nursing-tab-isolated .saved-order-card {
            border: 1px solid #e5e7eb;
            border-radius: 0.5rem;
            padding: 1rem;
            background: white;
            margin-bottom: 1rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .nursing-tab-isolated .order-item {
            background: #f9fafb;
            border-radius: 0.375rem;
            padding: 0.5rem;
            margin: 0.25rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nursing-tab-isolated .priority-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        .nursing-tab-isolated .priority-routine {
            background: #dcfce7;
            color: #166534;
        }
        
        .nursing-tab-isolated .priority-urgent {
            background: #fef3c7;
            color: #92400e;
        }
        
        .nursing-tab-isolated .priority-stat {
            background: #fee2e2;
            color: #991b1b;
        }
        
        .nursing-tab-isolated .status-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        .nursing-tab-isolated .status-pending {
            background: #f3f4f6;
            color: #374151;
        }
        
        .nursing-tab-isolated .status-in-progress {
            background: #dbeafe;
            color: #1e40af;
        }
        
        .nursing-tab-isolated .status-completed {
            background: #dcfce7;
            color: #166534;
        }
        
        .nursing-tab-isolated .status-cancelled {
            background: #fee2e2;
            color: #991b1b;
        }
		
.doctortab-lg {
	background: rgba(85, 110, 230, 0.19);
    border-radius: 10px;
	
}
.deletedr-task {
	background: rgb(235 17 38 / 80%)!important;
	margin-bottom: 115px;
}

.drbg-normal {
	border-radius: 5px !important;
    background: #368cdb;
}
.deletedrorder {
	background: red !important;
    color: white;
	
}
.drtaborder {
	background: #d600ff24;
    border-radius: 10px;
}

.avatar-lmd {
  height: 52px;
  width: 54px;
}

/* Global Form Control Styling */
.form-control {
  border-radius: 31px !important;
  min-height: 53px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

#profile_display {
    display: block;
    width: 140px;
    height: 140px;
    margin: 10px auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

