.dashboard-section {
	margin-bottom: 32px;
}

#sidebar-main .space-y-1 > .toggle-sidebar {
  display: grid !important;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-4px);
  transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
  overflow: hidden;
  height: auto !important; /* override any JS inline height */
}

#sidebar-main .space-y-1 > .toggle-sidebar > div {
  min-height: 0;
}

#sidebar-main .space-y-1 > .toggle-sidebar.active,
#sidebar-main .space-y-1.is-open > .toggle-sidebar {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}
/* #sidebar-main .space-y-1 > .toggle-sidebar {
  display: none !important;
}
#sidebar-main .space-y-1:hover > .toggle-sidebar,
#sidebar-main .space-y-1:focus-within > .toggle-sidebar {
  display: block !important;
} */
table .dropbutton-widget{
	background-color: #fff;
}
table .dropbutton-widget .operation-hidden {
  display: none !important;
}
table .dropbutton-widget:hover .operation-hidden {
  display: block !important;
}
table .dropbutton-widget.is-open {
	background-color: hsl(0 0% 96.1%);
	border-radius: 0.5rem;
	border-color: hsl(0 0% 96.1%);
}
table .dropbutton-widget.is-open .operation-hidden {
  display: block !important;
}
.menu-item-class-main.active svg {
	transform: rotate(180deg);
}

@layer components {

	.tab {
		@apply px-4 py-2 text-sm text-muted-foreground border-b-2 border-transparent hover:text-black;
	}

	.tab-active {
		@apply px-4 py-2 text-sm font-medium border-b-2 border-blue-600 text-blue-600;
	}

	.btn-primary {
		@apply inline-flex items-center gap-2 rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700;
	}

	.btn-secondary {
		@apply inline-flex items-center gap-2 rounded-md border px-4 py-2 text-sm hover:bg-gray-50;
	}

	.stat-card {
		@apply rounded-lg border p-4 text-center;
	}

	.stat-title {
		@apply text-sm text-muted-foreground;
	}

	.stat-value {
		@apply text-2xl font-semibold;
	}

	.stat-sub {
		@apply text-xs text-muted-foreground;
	}
}

.text-muted-foreground {
	color: #6b7280;
}

.bg-card {
	background-color: var(--addit_white);
}

.dashboard-grid--3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.pharmacy-orders-table {
	width: 100%;
	border-collapse: collapse;
}

.pharmacy-orders-table th,
.pharmacy-orders-table td {
	padding: 12px;
	border-bottom: 1px solid #eee;
}


.patient-info-card {
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: var(--addit_white);
	margin-bottom: 14px;
}
 .prescription-left-col .audio-preview-wrapper{
margin-bottom: 15px;
}
.prescription-left-col .select2-container--default .select2-selection--multiple .select2-selection__rendered input{
	margin: 0px 0px 0px 0px;
}
.prescription-left-col .select2-container--default .select2-selection--multiple{
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;	
	padding: 5px 5px;
}
.prescription-left-col .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice{
	background: #ebebeb66;
    border: 1px solid #c7c7c7;
    color: var(--primary_color);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 13px;
	line-height: normal;
    font-weight: 500;
    /* margin-top: 4px; */
}
.prescription-left-col .select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice span{
    color: var(--primary_color);
    margin-right: 6px;
    font-weight: bold;
    transition: 0.2s ease;
}
.patient-info-name {
	font-weight: 600;
	margin-bottom: 6px;
}
.prescription-left-col .patient-info-card > div:nth-child(3){
	display: block;
	margin-bottom: 25px;
}
.prescription-left-col .patient-info-card .patient-info-row{
	display: none;
}
.patient-info-row {
	font-size: 13px;
	color: var(--inv-muted);
	margin-top: 4px;
}

.patient-info-link {
	margin-top: 8px;
}

.patient-info-empty {
	color: var(--inv-muted);
	font-size: 13px;
}

.select2.select2-container {
	width: 100% !important;
}

/* .views-table.views-view-table tbody tr td .operation-hidden {
	z-index: 399;
	position: absolute;
	right: 0px;
	text-align: left;
} */

.min-w-\[10rem\] {
	min-width: 10rem;
}

table .background-hover:hover {
	background: #5c91e117;
}

.js .dropbutton-widget {
	background-color: transparent;
	border: none;
	position: relative !important;
}

.button--edit::before {
	display: none;
}

.button {
	margin-right: 0;
	margin-left: 0;
}


.menu--calendar-tabs,
.doctor-dashboard .doctor-dashboard__tabs {
	display: inline-flex;
	margin-bottom: 10px;
	background-color: hsl(0 0% 96.1%);
	border-color: hsl(0 0% 96.1%);
}

.menu--calendar-tabs,
.doctor-dashboard__tabs,
.patient-dashboard__tabs,
.patient-dashboard .patient-dashboard__tabs {
	gap: 10px;
	width: fit-content;
	margin-bottom: 24px;
	padding: 5px !important;
	border-radius: 4px;
}

.menu--calendar-tabs .menu {
	display: inline-flex;
	gap: 6px;
	padding-bottom: 2px;
	margin: 0px;
}
.calendar-view-btn,
.menu--calendar-tabs .menu-item a,
.patient-dashboard__tabs a,
.doctor-dashboard .doctor-dashboard__tabs a,
.patient-dashboard .patient-dashboard__tabs a {
	 display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 14px;
    border: none;
    border-radius: 7px;
    font-size: 13px;

	cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
  background: #fff;
    color: var(--primary_color);
    box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
	
    border: 1px solid #e0e0e0;
    border-radius: 7px;
	font-weight: 500;
}
.calendar-view-btn.is-active,
.menu--calendar-tabs .menu-item a.is-active,
.menu--calendar-tabs .menu-item--active-trail a,
.patient-dashboard__tabs a.active,
.doctor-dashboard .doctor-dashboard__tabs a.active,
.patient-dashboard .patient-dashboard__tabs a.active {
	background: var(--primary_color);
		color: var(--addit_white);
		box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
    width: 100%;
    text-align: center;
}
.calendar-view-btn:hover,
.menu--calendar-tabs .menu-item a:hover .patient-dashboard__tabs a:hover,
.doctor-dashboard .doctor-dashboard__tabs a:hover,
.patient-dashboard .patient-dashboard__tabs a:hover {
	background: var(--primary_color);
		color: var(--addit_white);
		box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
    width: 100%;
    text-align: center;

}


/* ---- Tab Container ---- */
.calendar-view-switch{
	    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 76px);
    gap: 4px;
  background: transparent;
  flex-wrap: wrap;
}

.menu--calendar-tabs, .doctor-dashboard .doctor-dashboard__tabs,
#user-patients-section .tablist {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  background: transparent;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  #user-patients-section .tablist {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Each Tab Button ---- */
#user-patients-section .tablist [role="tab"] {
 display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: none;
    border-radius: 7px;
    font-size: 13px;

	cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
  background: #fff;
    color: var(--primary_color);
    box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
	
    border: 1px solid #e0e0e0;
    border-radius: 7px;
	font-weight: 500;
}

/* ---- Hover State ---- */
#user-patients-section .tablist [role="tab"]:hover {
	background: var(--primary_color);
		color: var(--addit_white);
		box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
    width: 100%;
    text-align: center;
}

/* ---- Active / Selected Tab ---- */
#user-patients-section .tablist [role="tab"][data-state="active"],
#user-patients-section .tablist [role="tab"][aria-selected="true"] {
      background: var(--primary_color);
    color: var(--addit_white);
    box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
    width: 100%;
    text-align: center;
}

/* ---- Focus ring (accessibility) ---- */
#user-patients-section .tablist [role="tab"]:focus-visible {
  outline: 2px solid #378ADD;
  outline-offset: 2px;
}

/* ---- Disabled ---- */
#user-patients-section .tablist [role="tab"]:disabled {
  opacity: 0.5;
  pointer-events: none;
}


/* ---- Profile top section ---- */
#user-patients-section .flex.flex-col.items-center.text-center {
  padding: 24px 20px 20px;
  background: #F4F7FB;
  border-radius: 12px 12px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---- Avatar circle ---- */
#user-patients-section .profile {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50%;
  background: #E6F1FB;
  border: 2px solid #B5D4F4;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 500;
  color: #0C447C;
}


/* ---- Active badge ---- */
#user-patients-section .bg-green-500 {
  background: #E1F5EE !important;
  color: #085041 !important;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  border: none !important;
}

/* ---- Divider ---- */
#user-patients-section [data-orientation="horizontal"][role="none"] {
  height: 0.5px;
  background: #E4E8EF;
  margin: 0;
}

/* ---- Info section ---- */
/* #user-patients-section .space-y-4 {
  padding: 10px 10px;
} */

/* ---- Each info row ---- */
#user-patients-section .space-y-4 p.text-sm {
  font-size: 14px;
  color: #1A2233;
  padding: 5px 0;
  /* border-bottom: 0.5px solid #E4E8EF; */
  line-height: 1.5;
}

/* ---- Address field ---- */
#user-patients-section .field--name-field-address p.address {
  font-size: 14px;
  color: #1A2233;
  line-height: 1.6;
  font-style: normal;
}

/* ---- Footer ---- */
#user-patients-section .flex.justify-between.text-sm {
  background: #F4F7FB;
      padding: 12px 20px;
    /* background: #f7f7f7; */
    font-size: 12px;
    color: #727272;
    border-top: 0.5px solid #f6f6f6;
    border-radius: 0 0 8px 8px;
}

/* ---- Icon color ---- */
#user-patients-section .text-muted-foreground svg {
  stroke: #6B7A99;
}

.patient-card .medication-item .medication-info {
	flex: 1;
}

.prescription-lines-table .editable-field {
	pointer-events: auto !important;
}

#prescription-admin-form table .select2-container--default .select2-selection--single {
	border: 0px;
}
.prescription-assign-patient-form #edit-patient-fields{
	    display: flex;
    flex-direction: column-reverse;
}
.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item:has(.ui-state-active) {
	background-color: #e0e0e0;
}

#appointment-details .patient-information h3 {
	display: flex;
}

/* .doctor-register-form--example .vertical-tabs__menu-item a {
	display: block;
	padding: 4px 10px;
	text-decoration: none;
	color: #2c3e50;
	position: relative;
	transition: all 0.3s ease;
}

.doctor-register-form--example .vertical-tabs__menu-item.is-selected .vertical-tabs__menu-item-title {
	color: var(--addit_white);
	text-decoration: none;
}

.doctor-register-form--example .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

.doctor-register-form--example .doctor-form-section {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 18px;
}

.doctor-register-form--example .doctor-form-section+.doctor-form-section {
	margin-top: 16px;
}

.doctor-register-form--example .edit-pass-pass1 {
	margin-bottom: 10px;
}

.doctor-register-form--example .media-library-widget__toggle-weight {
	margin-top: 6px;
}

.doctor-register-form--example .media-library-widget {
	border: 1px dashed #cbd5f5;
	border-radius: 12px;
	padding: 12px;
	background: #f8fafc;
}

.doctor-register-form--example .form-actions {
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
}

.doctor-register-form--example .vertical-tabs {
	border: 0;
	background: transparent;
	display: block;
	margin: 0;
}

.doctor-register-form--example .vertical-tabs__menu {
	display: flex;
	gap: 8px;
	width: fit-content;
	padding: 6px 12px;
	border-radius: 7px;
	background: #f4f4f4;
	display: flex;
	flex-wrap: wrap;
	border: 0px solid;
	margin: 0 0 16px 0;
	float: none;
}

.doctor-register-form--example .vertical-tabs__menu-item {
	border: 1px solid #ccc;
	border-radius: 6px;
	color: var(--tertiary_color);
	border-color: #ccc;
	background: var(--addit_white);
	transition: all 0.3s ease;
}

.doctor-register-form--example .vertical-tabs__menu-item a {
	padding: 5px 11px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tertiary_color);
	line-height: 22px;
	transition: all 0.3s ease;
}

.doctor-register-form--example .vertical-tabs__menu-item.is-selected {
	border-color: #000;
	background: #000;
	color: var(--addit_white);
	margin: 0px;
}

.doctor-register-form--example .vertical-tabs__menu-item:focus,
.doctor-register-form--example .vertical-tabs__menu-item:active,
.doctor-register-form--example .vertical-tabs__menu-item:hover {
	background: #000;
	border-color: #000;
}

.doctor-register-form--example .vertical-tabs__menu-item a:focus .vertical-tabs__menu-item-title,
.doctor-register-form--example .vertical-tabs__menu-item a:active .vertical-tabs__menu-item-title,
.doctor-register-form--example .vertical-tabs__menu-item a:hover .vertical-tabs__menu-item-title {
	text-decoration: none;
	color: var(--addit_white);
}

.doctor-register-form--example .vertical-tabs__menu-item a:hover {
	outline: 0px solid;
}

.doctor-register-form--example .vertical-tabs__menu-item.is-selected a {
	color: var(--addit_white);

}

.doctor-register-form--example .vertical-tabs__content {
	margin-left: 0;
	border: 0;
	float: none;
	width: 100%;
}

.doctor-register-form--example .vertical-tabs__pane {
	padding: 0;
	margin: 0;
}

@media (max-width: 768px) {
	.doctor-register-form--example {
		padding: 16px;
	}

	.doctor-register-form--example .doctor-form-section {
		padding: 14px;
	}
} */

.doctor-register-tabs details>.details-wrapper {
	padding: 0;
}

#doctor-register-or-edit-form #edit-account-row .form-type-email,
#doctor-register-or-edit-form #edit-account-row .form-type-textfield {
	width: 49%;
}

#doctor-register-or-edit-form #edit-account-row .form-type-password {
	width: 49%;
	max-width: 49%;
}

/* #doctor-register-or-edit-form #edit-account-row * {
	margin: 0px;
} */

#doctor-register-or-edit-form #edit-row-full-name,
#doctor-register-or-edit-form #edit-row-dob-gender,
#doctor-register-or-edit-form #edit-row-phone,
#doctor-register-or-edit-form #edit-row-profile-image {
	background: var(--addit_white);
	padding: 0px;
	border-radius: 0px;
	border: 0px solid var(--primary_border);
	box-shadow: none;
	margin-bottom: 0px;
}
.prescription-left-col .audio-recorder-container{
	float: left;
	margin-right: 15px;
	
}
#field_profile_image-media-library-wrapper legend {
	font-size: 1.2rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

#doctor-register-or-edit-form .media-library-item__preview img {
	/* width: 100%; */
	/* height: 100%; */
	object-fit: cover;
	border-radius: 50%;
}

#doctor-register-or-edit-form #field_profile_image-media-library-wrapper--description {
	display: none;
}

/* #doctor-register-or-edit-form .media-library-item__name,
#doctor-register-or-edit-form input[type="hidden"] {
	display: none;
} */

#doctor-register-or-edit-form #edit-tab-professional .form-item .description {
	margin: 0px;
}

/* #doctor-register-or-edit-form #edit-tab-professional #edit-row-signature {
	background: var(--addit_white);
	padding: 24px;
	border-radius: 12px;
	border: 1px solid var(--primary_border);
} */

#doctor-register-or-edit-form .js-form-item-field-working-hours-value .doctor-register-or-edit-form label,
#doctor-register-or-edit-form #edit-tab-professional .form-item-field-signature>label {
	font-size: 16px;
	font-weight: 600;
	/* margin-bottom: 16px; */
	display: block;
	/* color: #111827; */
}

#doctor-register-or-edit-form #edit-tab-professional .form-managed-file {
	display: table;
	width: 100%;
	border-collapse: collapse;
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 8px;
	overflow: hidden;
}

#doctor-register-or-edit-form #edit-tab-professional .form-managed-file>span.file,
#doctor-register-or-edit-form #edit-tab-professional .form-managed-file>input[type="submit"] {
	display: table-cell;
	padding: 14px 16px;
	vertical-align: middle;
	border-bottom: 1px solid #f1f5f9;
}

#doctor-register-or-edit-form #edit-tab-professional .form-managed-file>span.file {
	width: 75%;
	font-size: 14px;
	color: #374151;
}

#doctor-register-or-edit-form #edit-tab-professional .form-managed-file>span.file a {
	text-decoration: none;
	color: var(--primary_color);
	font-weight: 500;
	word-break: break-all;
}

#doctor-register-or-edit-form #edit-tab-professional .form-managed-file>span.file a:hover {
	text-decoration: underline;
}

#doctor-register-or-edit-form #edit-tab-professional #edit-field-signature-remove-button {
	background: var(--red_color);
	color: var(--addit_white);
	width: fit-content;
	border: none;
	padding: 10px 14px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.3s ease;
}

#doctor-register-or-edit-form #edit-tab-professional #edit-field-signature-remove-button:hover {
	background: #b91c1c;
}

#doctor-register-or-edit-form #edit-tab-professional .description {
	margin-top: 10px;
	font-size: 13px;
	color: #6b7280;
}

#doctor-register-or-edit-form .form-item-role-doctor {
	/* display: flex;
	align-items: center;
	gap: 14px; */
	/* background: var(--addit_white);
	padding: 16px 20px;
	border-radius: 12px;
	border: 1px solid var(--primary_border); */
	margin-top: 20px;
	margin: 0px;
	/* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); */
	position: relative;
}

#doctor-register-or-edit-form .form-item-role-doctor .form-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

#doctor-register-or-edit-form .form-item-role-doctor label.option {
	position: relative;
	padding-left: 60px;
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	cursor: pointer;
	user-select: none;
}

#doctor-register-or-edit-form .form-item-role-doctor label.option::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 24px;
	background: #d1d5db;
	border-radius: 50px;
	transition: all 0.3s ease;
}

#doctor-register-or-edit-form .form-item-role-doctor label.option::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	background: var(--addit_white);
	border-radius: 50%;
	transition: all 0.3s ease;
	/* box-shadow: 0 2px 6px rgba(0,0,0,0.2); */
}

#doctor-register-or-edit-form .form-item-role-doctor .form-checkbox:checked+label.option::before {
	background: #10b981;
}

#doctor-register-or-edit-form .form-item-role-doctor .form-checkbox:checked+label.option::after {
	left: 25px;
}

#doctor-register-or-edit-form .form-item-role-doctor .form-checkbox:disabled+label.option::before {
	background: #9ca3af;
	cursor: not-allowed;
}

#doctor-register-or-edit-form .form-item-role-doctor .description {
	margin-left: auto;
	font-size: 12px;
	color: #6b7280;
}

#doctor-register-or-edit-form .filter-wrapper {
	border: 0px solid;
	display: none;
}

/* #doctor-register-or-edit-form #edit-row-specialization-types { */
	/* background: var(--addit_white);
	padding: 24px;
	border-radius: 14px;
	border: 1px solid var(--primary_border);
	margin-top: 20px; */
/* } */

#doctor-register-or-edit-form #edit-row-specialization-types label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 10px;
}
#doctor-register-or-edit-form .js-form-item.form-item.js-form-type-textfield.form-type-textfield.js-form-item-field-clinic-name.form-item-field-clinic-name,
#doctor-register-or-edit-form .js-form-item.form-item.js-form-type-textfield.form-type-textfield.js-form-item-field-registration-number.form-item-field-registration-number,
#doctor-register-or-edit-form .js-form-item.form-item.js-form-type-textfield.form-type-textfield.js-form-item-field-experience-years.form-item-field-experience-years,
#doctor-register-or-edit-form .js-form-item.form-item.js-form-type-textfield.form-type-textfield.js-form-item-field-qualification.form-item-field-qualification{
	/* width: 33%; */
	margin-top: 0px;
}
#doctor-register-or-edit-form #edit-row-specialization-types .select2-container--default .select2-selection--multiple {
	min-height: 90px;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	padding: 6px 8px;
	background: var(--addit_white);
	transition: all 0.3s ease;
}

#doctor-register-or-edit-form #edit-row-specialization-types .select2-selection__choice {
	background: #ebebeb66;
	border: 1px solid #c7c7c7;
	color: var(--primary_color);
	border-radius: 20px;
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 500;
	margin-top: 4px;
}

#doctor-register-or-edit-form #edit-row-specialization-types .select2-selection__choice__remove {
	color: var(--primary_color);
	margin-right: 6px;
	font-weight: bold;
	transition: 0.2s ease;
}

#doctor-register-or-edit-form #edit-row-specialization-types .select2-selection__choice__remove:hover {
	color: var(--red_color);
}

#doctor-register-or-edit-form #edit-row-specialization-types .select2-search__field {
	margin-top: 6px;
	font-size: 14px;
}

.select2-container--default .select2-dropdown {
	border-radius: 10px;
	border: 1px solid var(--primary_border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0. 08);
	overflow: hidden;
}

.select2-container--default .select2-results__option {
	padding: 10px 14px;
	font-size: 14px;
	transition: all 0.2s ease;
}

.select2-container--default .select2-results__option--highlighted {
	background: var(--primary_color);
	color: var(--addit_white);
}

#doctor-register-or-edit-form #edit-tab-media {
	background: var(--addit_white);
	border-radius: 16px;
	border: 1px solid var(--primary_border);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	padding: 24px;
}

#doctor-register-or-edit-form #edit-tab-media>summary {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	cursor: pointer;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--primary_border);
	margin-bottom: 20px;
}

#doctor-register-or-edit-form #edit-tab-media fieldset {
	border: none;
	padding: 0;
}

#doctor-register-or-edit-form #edit-tab-media legend {
	font-size: 15px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 16px;
}


#doctor-register-or-edit-form #edit-tab-media .media-library-selection {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

/* #doctor-register-or-edit-form #edit-tab-media .media-library-item {
	position: relative;
	background: var(--addit_white);
	border-radius: 14px;
	border: 1px solid var(--primary_border);
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

#doctor-register-or-edit-form #edit-tab-media .media-library-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

#doctor-register-or-edit-form #edit-tab-media .media-library-item__preview img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
} */

/* #doctor-register-or-edit-form #edit-tab-media .media-library-item__name {
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	text-align: center;
	background: #f9fafb;
	border-top: 1px solid var(--primary_border);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
} */


/* #doctor-register-or-edit-form #edit-tab-media .media-library-item__remove {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: rgba(220, 38, 38, 0.95);
	font-size: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
}

#doctor-register-or-edit-form #edit-tab-media .media-library-item__remove::before {
	content: "âœ•";
	color: var(--addit_white);
	font-size: 16px;
	font-weight: bold;
}

#doctor-register-or-edit-form #edit-tab-media .media-library-item__remove:hover {
	background: #b91c1c;
	transform: scale(1.1);
} */


#doctor-register-or-edit-form #edit-tab-media .description {
	margin-top: 10px;
	font-size: 13px;
	color: #6b7280;
}
#doctor-register-or-edit-form .doctor-form-tab {
	background: var(--addit_white);
	padding: 28px;
	border-radius: 18px;
	border: 1px solid var(--primary_border);
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
	margin-top: 20px;
}

#doctor-register-or-edit-form #edit-row-booking .form-type-checkbox {
	position: relative;
	padding-left: 60px;
	margin-bottom: 18px;
}

#doctor-register-or-edit-form #edit-row-booking .form-checkbox {
	position: absolute;
	opacity: 0;
}

#doctor-register-or-edit-form #edit-row-booking .form-type-checkbox label.option {
	font-weight: 600;
	color: #111827;
	cursor: pointer;
}

/* Toggle Background */
#doctor-register-or-edit-form #edit-row-booking .form-type-checkbox label.option::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 44px;
	height: 24px;
	background: #d1d5db;
	border-radius: 50px;
	transition: all 0.3s ease;
}

/* Toggle Circle */
#doctor-register-or-edit-form #edit-row-booking .form-type-checkbox label.option::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 6px;
	width: 16px;
	height: 16px;
	background: var(--addit_white);
	border-radius: 50%;
	transition: all 0.3s ease;
}

#doctor-register-or-edit-form #edit-row-booking .form-checkbox:checked+label.option::before {
	background: var(--primary_color);
}

#doctor-register-or-edit-form #edit-row-booking .form-checkbox:checked+label.option::after {
	transform: translateX(20px);
}

#doctor-register-or-edit-form #edit-row-booking .description {
	font-size: 13px;
	color: #6b7280;
	margin-top: 4px;
	margin: 0px;
}

/* #doctor-register-or-edit-form #edit-row-booking .form-text {
	width: 100%;
	max-width: 300px;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	transition: 0.3s ease;
}

#doctor-register-or-edit-form #edit-row-booking .form-text:focus {
	border-color: var(--primary_color);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	outline: none;
} */


#doctor-register-or-edit-form .slot-plan-day-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
}

#doctor-register-or-edit-form .slot-plan-day-tab {
	background: #f3f4f6;
	border-radius: 8px;
	padding: 8px 16px;
	color: #000;
	font-weight: 500;
	border: none;
	transition: 0.3s ease;
}

/* #doctor-register-or-edit-form .slot-plan-day-tab:hover {
	background: var(--primary_border);
} */

/* #doctor-register-or-edit-form .slot-plan-day-tab.is-active {
	background: var(--primary_color);
	color: var(--addit_white);
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
} */


#doctor-register-or-edit-form .slot-plan-day-panel {
	background: #fff;
	border-radius: 7px;
	border: 0px solid var(--primary_border);
	margin-bottom: 0px;
	padding: 0px;
}

#doctor-register-or-edit-form .slot-plan-day-panel>summary {
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	margin-bottom: 14px;
}
#doctor-register-or-edit-form  .slot-plan-day-panel .slot-plan-slots-table{
	border-radius: 0px;
}
/* #doctor-register-or-edit-form .slot-plan-add-row .js-form-item-field-slot-plan-days-mon-add-slot-minutes>label{
	display: none;
} */
#doctor-register-or-edit-form .slot-plan-slots-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 14px;
}

#doctor-register-or-edit-form .slot-plan-slots-table th {
	background: var(--primary_color);
	color: #fff;
	padding: 10px;
	font-size: 13px;
	text-align: left;
	/* border-bottom: 1px solid var(--primary_border); */
}

#doctor-register-or-edit-form .slot-plan-slots-table td {
	padding: 10px;
	font-size: 13px;
	/* border-bottom: 1px solid var(--primary_border); */
}

#doctor-register-or-edit-form .slot-plan-slots-table .empty {
	text-align: center;
	color: #9ca3af;
}

#doctor-register-or-edit-form .slot-plan-add-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 10px;
}

#doctor-register-or-edit-form .slot-plan-add-start,
#doctor-register-or-edit-form .slot-plan-add-end {
	width: 90px;
	padding: 8px;
	border-radius: 6px;
	border: 1px solid #d1d5db;
}

#doctor-register-or-edit-form .slot-plan-add-duration+.select2 {
	min-width: 90px;
}

/* #doctor-register-or-edit-form .slot-plan-add-btn {
	background: #16a34a;
	color: var(--addit_white);
	border-radius: 8px;
	padding: 8px 16px;
	border: none;
	transition: 0.3s ease;
}

#doctor-register-or-edit-form .slot-plan-add-btn:hover {
	background: #15803d;
	box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
} */

.appointment-custom-node-form .js-form-item-field-appointment-type,
.appointment-custom-node-form .js-form-item-field-patients {
	margin-top: 0px;
}

.appointment-custom-node-form #edit-body--2,
.appointment-custom-node-form #edit-body {
	padding-top: 0px !important;
}

.appointment-custom-node-form #edit-field-appointment-status input[type="radio"] {
	display: none;
}

.appointment-custom-node-form #edit-field-appointment-status {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.appointment-custom-node-form #edit-field-appointment-status label {
	padding: 8px 16px;
	border: 1px solid var(--primary_color);
	border-radius: 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	background: var(--addit_white);
	color: var(--primary_color);
	transition: 0.3s;
}

.appointment-custom-node-form #edit-field-appointment-status label:hover {
	background: var(--primary_color);
	color: var(--addit_white);
}

.appointment-custom-node-form .form-text {
	margin-top: 0px;
}

.appointment-custom-node-form label {
	font-weight: bold;
}

.appointment-custom-node-form .fieldset-wrapper {
	margin-left: 0px !important;
}

.appointment-custom-node-form #edit-field-appointment-status input[type="radio"]:checked+label {
	background: var(--primary_color);
	color: var(--addit_white);
	border-color: var(--primary_color);
}

.prescription-options-card>.fieldset-wrapper {
    border: 0px solid #e5e5e5;
    margin-bottom: 0px;
    border-radius: 0px;
}
.prescription-options-card .fieldset-wrapper fieldset legend{
	background: #fff;
	padding: 0px 0px;
	border-bottom: 1px solid #fff;
}
#datetimepicker,
#expiry_datetimepicker {
	padding-left: 30px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='black' fill='none' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 14px;
}

#block-livelong-content .prescription-admin-form #prescription-lines-wrapper .form-text,
#block-livelong-content .prescription-admin-form #prescription-lines-wrapper .form-number,
#block-livelong-content .prescription-admin-form #prescription-lines-wrapper .prescription-medication-autocomplete {
	border: none;
}

.page-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 20px;
	line-height: 1.2;
}


#block-livelong-content .views-view-table .dropbutton-wrapper .dropbutton-widget div.font-semibold {
	display: none;
}

.select2-container {
	width: 150px !important;
	min-width: 150px !important;
}

.select2-container--open .select2-dropdown--above,
.select2-container--default .select2-results>.select2-results__options,
.select2-container--open .select2-dropdown--below {
	width: 210px !important;
	max-width: 210px !important;
}

/* #prescription-admin-form .prescription-left-col {
	margin-bottom: 70px;
} */

#prescription-admin-form .js-form-item-left-audio-note-upload {
	margin: 0px;
}

/* #prescription-admin-form .audio-recorder-container,
#prescription-admin-form #ajax-wrapper,
#prescription-admin-form .video-preview-wrapper,
#prescription-admin-form .video-recorder-container {
	width: 49%;
	display: inline-block;
} */
#prescription-admin-form .form-item.js-form-item-left-diagnostic,
#prescription-admin-form .form-item.js-form-item-left-chief-complaint{
	margin-top: 0px;
}
#prescription-admin-form .form-item.js-form-item-left-diagnostic,
#prescription-admin-form .form-item.js-form-item-left-chief-complaint,
#prescription-admin-form .form-item.js-form-item-left-date-prescribed,
#prescription-admin-form .form-item.js-form-item-left-expiry-date {
	width: 49%;
	display: inline-block;
	margin-bottom: 0px;
}

#prescription-admin-form .form-item.js-form-item-left-date-prescribed,
#prescription-admin-form .form-item.js-form-item-left-expiry-date {
	margin-top: 10px;
}
#prescription-admin-form .form-item {
	margin-bottom: 15px;
}
.appointment-custom-node-form label,
#prescription-admin-form .form-item>label,
#prescription-admin-form fieldset legend .fieldset-legend {
	font-size: 14px;
	font-weight: 600;
	color: #000;
	margin-bottom: 6px;
	display: block;
}

#prescription-admin-form textarea.form-textarea {
	resize: vertical;
	min-height: 42px;
	height: 42px;
}

#prescription-admin-form .description {
	font-size: 12px;
	color: #555;
	margin-top: 6px;
}

#prescription-admin-form .select2-container--default .select2-selection--single {
	height: 40px;
	border: 0px solid #333;
	border-radius: 8px;
}

#prescription-admin-form .select2-container--default .select2-selection--single:focus {
	border: 0px solid #999;
}

#prescription-admin-form .select2-selection__rendered {
	line-height: 40px;
	font-size: 14px;
	color: #000;
}

#prescription-admin-form .select2-selection__arrow {
	height: 40px;
}

#prescription-admin-form table.prescription-lines-table {
	/* width: 100%; */
	/* border-collapse: collapse; */
	margin-top: 7px;
	margin-bottom: 20px;
	table-layout: fixed;
}

#prescription-admin-form table th {
	/* background: #f3f3f3; */
	color: var(--addit_white);
	font-size: 15px;
	padding: 8px 15px;
	text-align: left;
}

#prescription-admin-form table td {
	padding: 10px;
	border-bottom: 1px solid #ddd;
}

#prescription-admin-form .presc-line-remove {
	font-size: 14px !important;
	color: var(--addit_white) !important;
	background: #000;
	border-radius: 50%;
	padding: 3px 8px !important;
}

#prescription-admin-form .presc-line-remove:hover {
	background: #db2334;
	color: var(--addit_white);
}
/* 
#prescription-admin-form .prescription-lines-actions input {
	background: #000;
	color: var(--addit_white);
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 6px;
} */

#prescription-admin-form .prescription-form-actions {
	margin-top: 30px;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

#prescription-admin-form .form-required::after {
	color: #000;
}

.prescription-lines-table .form-checkboxes {
	display: flex;
	width: 100px;
	justify-content: space-between;
	align-items: center;
}

.prescription-lines-table .form-checkboxes .js-form-item {
	width: 40px;
	border: 1px solid #cccccce3;
	height: 35px;
	margin-right: 2px !important;
}

.prescription-lines-table .form-checkboxes .js-form-item .presc-timing-check-group {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 0px;
	height: 0px;
	margin: 0;
}

.prescription-lines-table .form-checkboxes .js-form-item label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70%;
	color: #555;
}

.prescription-lines-table .form-checkboxes .js-form-item input.presc-timing-check-group:checked+label {
	background-color: #000 !important;
	color: var(--addit_white);
}

.prescription-admin-form .prescription-lines-table input.form-submit {
	background: transparent;
	border: 0px;
}

.prescription-lines-table tr .form-wrapper {
	width: 100%;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.prescription-lines-table tr .form-item {
	width: 100%;
	height: 47px;
	display: flex;
	align-items: center;
}

.prescription-lines-table tr .form-item input {
	outline: 0px;
	border-radius: 0px;
	width: 100%;
	height: 100%;
}

#prescription-lines-wrapper .presc-timing-check-group input {
	padding: 0;
	width: 0;
}

#prescription-lines-wrapper .presc-timing-check-group label {
	margin: 0px;
	height: 100%;
}

.select2-container {
	/* width: 100% !important; */
	/* margin-bottom: 14px; */
}

.select2-container .select2-selection--single {
	height: 40px;
	display: flex;
	align-items: center;
	border: 1px solid #e5e5e5;
	border-radius: 8px;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 40px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--primary_color);
	color: var(--addit_white);
}

.select2-container--default .select2-results__option[aria-selected=true] {
	background-color: #5c91e117;
	color: #000;
}

.prescription-admin-form .video-recorder-container input {
	width: 100%;
}

/* Highlight label red if checkbox is checked */
.messages--error {
	color: #a51b00;
	border-color: #f9c9bf #f9c9bf #f9c9bf #fcf4f2;
	background-color: #fcf4f2;
	box-shadow: 0;
}

.prescription-admin-form {
	display: flex;
	/* flex-wrap: wrap; */
	/* position:relative; */
	margin-bottom: 34px;
}

.prescription-admin-form input#edit-left-video-note-upload-upload,
.prescription-admin-form input#edit-left-audio-note-upload-upload {
	border: 1px dashed #333;
}

.prescription-admin-form #edit-left-expiry-date,
.prescription-admin-form #edit-left-date-prescribed {
	display: flex;
}

.prescription-admin-form #edit-left-expiry-date .js-form-item-left-expiry-date-date,
.prescription-admin-form #edit-left-date-prescribed .js-form-item-left-date-prescribed-date {
	width: 50%;
}

.prescription-admin-form #edit-left-expiry-date .form-item-left-expiry-date-time,
.prescription-admin-form #edit-left-date-prescribed .js-form-item-left-date-prescribed-time {
	width: 50%;
	margin-left: 10px;
}

/* ---------- prescription admin form left --------- */

.prescription-left-col {
	border-right: 1px solid #dcdcdc;
	padding: 30px 20px 20px;
	width: 35%;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li {
	padding: 8px 8px;
	transition: transform 0.5s ease-out;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li a {
	transition: transform 0.5s ease-out;
	padding: 0px;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item:hover a.ui-state-active,
.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item:hover a {
	color: #333;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item:hover {
	background: #efefef;
	border-color: #efefef;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li a.ui-state-active,
.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li a:hover {
	background-color: transparent;
	text-decoration: none;
	border: none;
	padding: 0px;
	color: #333;
	margin: 0px;
}

.toolbar-icon-10.path-prescription .Main-content-user .page-title{
	/* margin-bottom: 0px; */
	/* border-bottom: 1px solid #dcdcdc; */
	/* padding: 20px; */
}
.toolbar-icon-10.path-prescription .Main-content-user.xl\:p-6{
	/* padding: 0px!important; */
	/* background-color: #fff; */
}
#prescription-admin-form .prescription-form-actions,
#prescription-lines-wrapper .form-item div#edit-lines-wrapper-actions {
    display: block;
    bottom: 0px;
    right: 0px;
    width: 100%;
	z-index: 2;
	border-top: 1px solid #dcdcdc;
    background: #fff ;
	    text-align: right;
    padding: 11px 20px;
    position: fixed;
	margin-bottom: 0px;
	margin-left: -20px;
}

#prescription-lines-wrapper .form-item.prescription-lines-table-wrapper {
	margin: 0px;
	padding: 30px 20px;
}
#prescription-lines-wrapper .form-item {
	margin: 0px;
}

#prescription-lines-wrapper .fieldset-legend,
.prescription-left-col label,
.prescription-left-col h4 {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	display: block;

}

.prescription-left-col .description {
	display: none;
}

.prescription-left-col * {
	margin: 0px;
}

.prescription-left-col #edit-left-patient {
	background-position: 97% center;
	padding-left: 10px;
	padding-right: 35px;
}


#prescription-lines-wrapper {
	/* padding-left: 15px; */
	/* width: 65%; */
	/* margin-top: 30px; */
	/* border-radius: 20px; */
}

#prescription-lines-wrapper .form-item .form-checkboxes .form-type-checkbox label {
	font-size: 15px;
	border-radius: 50%;
}

#prescription-lines-wrapper .form-item fieldset.presc-timing-check-group {
	padding: 0px 10px;
}

#prescription-lines-wrapper .form-item input#edit-lines-wrapper-table-0-actions-remove {
	font-size: 14px !important;
	color: var(--addit_white) !important;
	background: var(--primary_color);
	border-radius: 50%;
	padding: 0px !important;
	height: 28px;
	width: 28px;
}

#prescription-lines-wrapper .form-item .form-checkboxes .form-type-checkbox {
	border-radius: 50%;
}

#prescription-lines-wrapper thead tr {
	background-color: #000;
}

#prescription-lines-wrapper th {
	text-transform: capitalize;
	font-size: 15px;
	font-weight: 500;
	border-bottom: 1px solid #e2e2e2;
}

#prescription-lines-wrapper td,
#prescription-lines-wrapper th {
	padding: 6px 10px;
}

#prescription-lines-wrapper .presc-timing-check-group label {
	margin: 0px;
}

#prescription-lines-wrapper tbody td {
	padding: 0px;
	border-bottom: 1px solid #e2e2e2;
}

#prescription-lines-wrapper input,
#prescription-lines-wrapper select {
	margin: 0px;
	/* border:none; */
}

#prescription-lines-wrapper .presc-timing-check-group .fieldset-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

#prescription-lines-wrapper legend {
	margin: 0px;
	display: none;
}

.prescription-admin-form .video-recorder-container input {
	width: auto;
}

.prescription-admin-form button::placeholder,
.prescription-admin-form optgroup::placeholder,
.prescription-admin-form select::placeholder,
.prescription-admin-form .prescription-left-col select::placeholder,
.prescription-admin-form .prescription-left-col textarea::placeholder,
.prescription-admin-form input::placeholder {
	font-size: 14px;
}

.prescription-admin-form button,
.prescription-admin-form optgroup,
.prescription-admin-form select,
.prescription-admin-form .prescription-left-col select,
.prescription-admin-form .prescription-left-col textarea,
.prescription-admin-form input {
	margin-bottom: 15px;
}

.header .profile {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e3e6ef;
	transition: .3s ease;
	text-transform: capitalize;
}

.side-bar .profile span {
	text-transform: capitalize;
	color: var(--addit_white);
	font-size: 14px;
	font-weight: 600;
	background-color: var(--primary_color);
}

.sidebar-bottom span {
	font-weight: 600;
}

.header .profile:hover {
	border-color: var(--primary_color);
	transform: scale(1.08);
}

img.site-logo {
	width: 160px;
	/* width: 100%; */
	height: auto;
}

.side-bar .sidebar-bottom p {
	width: 100%;
	word-break: break-word;
}

#main-header .sidebar-wrapper .material-symbols-outlined {
	font-size: 18px;
}

#main-header .sidebar-wrapper .nav-menus .nav-item .nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 40px;
	padding: 10px 15px;
	margin: 0px 10px 5px;
	color: #000;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: 0.3s ease;
}

#main-header .sidebar-wrapper .nav-menus .nav-item .nav-link:hover,
#main-header .sidebar-wrapper .nav-menus .nav-item .nav-link.active {
	border-radius: 8px;
	background: hsl(0deg 0% 9% / 10%);
}

#main-header .sidebar-wrapper::-webkit-scrollbar {
	width: 6px;
}

#main-header .sidebar-wrapper::-webkit-scrollbar-track {
	background: #0b1e39;
}

#main-header .sidebar-wrapper::-webkit-scrollbar-thumb {
	background: #4d9cff;
	border-radius: 10px;
}

/* .user-patient-dashboard table, */
#block-livelong-content table.views-table {
	width: 100%;
	margin-top: 40px;
	border-collapse: collapse;
}

#block-livelong-content table.views-table tbody tr:nth-child(even) {
	background-color: #f8f9fc;
}

/* Table Header */
.user-patient-dashboard table thead,
#block-livelong-content table.views-table thead {
	background-color: var(--primary_color);
}

.user-patient-dashboard table thead th,
#block-livelong-content table.views-table thead th {
	color: var(--addit_white);
	font-weight: 600;
	padding: 14px 12px;
	text-align: left;
	font-size: 14px;
	letter-spacing: .3px;
}

#block-livelong-content table.views-table tbody tr {
	transition: background 0.25s ease;
}

#block-livelong-content table.views-table th,
#block-livelong-content table.views-table td {
	padding: 8px 12px;
	font-size: 14px;
	color: #000;
	border-bottom: 1px solid #e2e2e2;
	vertical-align: middle;
}

#block-livelong-content table.views-table td time.datetime {
	font-weight: 400;
	color: #000;
	display: inline-block;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 14px;
}

#block-livelong-content table.views-table td[data-label="Patients"] {
	font-weight: 600;
	text-transform: capitalize;
}

#block-livelong-content table.views-table td[data-label="Status"] {
	font-weight: 600;
}

#block-livelong-content table.views-table td[data-label="Status"]:contains("Completed") {
	color: #0a7d00;
}

#block-livelong-content .views-view-table .dropbutton-wrapper {
	position: static;
	display: inline-block;
	margin: 0px;
}

#block-livelong-content .views-view-table .dropbutton .dropbutton-arrow {
	display: none;
}

#block-livelong-content .views-view-table .dropbutton {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
	display: flex;
}

#block-livelong-content .views-view-table .dropbutton li.view.dropbutton-action.secondary-action {
	display: none;
}

#block-livelong-content .views-view-table .dropbutton>li.dropbutton-action {
	display: block;
}

#block-livelong-content .views-view-table .dropbutton-toggle button {
	background: transparent;
	transition: background-color 0.2s ease;
}

#block-livelong-content .views-view-table .dropbutton-toggle .dropbutton li.dropbutton-toggle {
	top: -67px;
	z-index: 1;
	right: -22px;
	bottom: 0;
}

#block-livelong-content .views-view-table .dropbutton-toggle button::before {
	content: "â‹¯";
	font-size: 20px;
	color: #374151;
	line-height: 1;
	position: absolute;
	top: 0px;
}
.invoice-form__wrapper .js-form-item label,
.views-exposed-form label {
	display: inline-block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #000;
	font-size: 13px;
}

.views-exposed-form .form-text,
.views-exposed-form .form-select {
	height: 40px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(9, 30, 66, 0.14);
	background: var(--addit_white);
	font-size: 0.95rem;
	outline: none;
	transition: .18s ease;
	box-sizing: border-box;
}

.views-exposed-form #edit-field-date-and-time-value-custom-date-filter-appointment-type-wrapper legend {
	height: 0px;
}

.views-exposed-form #edit-actions {
	display: flex;
	align-items: center;
	/* gap: 14px; */
	margin-bottom: 0px;
}


.views-view-table span.delivered,
.views-view-table span.scheduled {
	border: 1px solid #3b82f6;
	color: #3b82f6;
	background-color: transparent;
}

.views-view-table span.completed,
.views-view-table span.pending,
.views-view-table span.in-progress,
.views-view-table span.cancelled,
.views-view-table span.issued,
.views-view-table span.active,
.views-view-table span.out-for-delivery,
.views-view-table span.deactivate,
.views-view-table span.inactive,
.views-view-table span.waiting-for-a-pharmacy {
	border: 1px solid transparent;
	color: var(--addit_white);

}

.views-view-table span.pending {
	background-color: var(--orange_color);
}

.views-view-table span.in-progress {
	background-color: var(--orange_color);
}

.views-view-table span.cancelled {
	background-color: var(--red_color);
}

.views-view-table span.completed,
.views-view-table span.issued,
.views-view-table span.active {
	background-color: var(--green_color);
}

.views-view-table span.out-for-delivery,
.views-view-table span.deactivate,
.views-view-table span.inactive {
	background-color: var(--red_color);
}

.views-view-table span.waiting-for-a-pharmacy {
	background-color: var(--orange_color);
}


/* -------- hover -------- */

.views-view-table span.completed:hover {
	background-color: rgba(34, 197, 94, 0.8);
}

.views-view-table span.pending:hover {
	background-color: rgba(245, 158, 11, 0.8);
}

.views-view-table span.in-progress:hover {
	background-color: rgba(245, 158, 11, 0.8);
}

.views-view-table span.cancelled:hover {
	background-color: rgba(239, 68, 68, 0.8);
}

.views-view-table span.issued:hover,
.views-view-table span.active:hover {
	background-color: rgba(34, 197, 94, 0.8);
}

.views-view-table span.out-for-delivery:hover,
.views-view-table span.deactivate:hover,
.views-view-table span.inactive:hover {
	background-color: rgba(239, 68, 68, 0.8);
}

.views-view-table span.waiting-for-a-pharmacy:hover {
	background-color: rgba(245, 158, 11, 0.8);
}


/* -------- focus -------- */

.views-view-table span.completed:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--green_color), 0 0 0 4px var(--addit_white);
}

.views-view-table span.pending:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--orange_color), 0 0 0 4px var(--addit_white);
}

.views-view-table span.delivered:focus,
.views-view-table span.scheduled:focus {
	outline: none;
	box-shadow: 0 0 0 2px #3b82f6, 0 0 0 4px var(--addit_white);
}

.views-view-table span.in-progress:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--orange_color), 0 0 0 4px var(--addit_white);
}

.views-view-table span.cancelled:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--red_color), 0 0 0 4px var(--addit_white);
}

.views-view-table span.issued:focus,
.views-view-table span.active:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--green_color), 0 0 0 4px var(--addit_white);
}

.views-view-table span.out-for-delivery:focus,
.views-view-table span.deactivate:focus,
.views-view-table span.inactive:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--red_color), 0 0 0 4px var(--addit_white);
}

.views-view-table span.waiting-for-a-pharmacy:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--orange_color), 0 0 0 4px var(--addit_white);
}

#block-livelong-content .views-exposed-form #edit-created-value-custom-date-filter-order-wrapper legend,
.views-exposed-form .form--inline #edit-field-start-date-value-wrapper legend {
	display: none;
}

.views-exposed-form fieldset#edit-field-date-and-time-value-custom-date-filter-appointment-type-wrapper .form-item {
	width: 50%;
}

.views-exposed-form fieldset#edit-field-date-and-time-value-custom-date-filter-appointment-type-wrapper #edit-field-date-and-time-value-custom-date-filter-appointment-type {
	display: flex;
	flex-wrap: wrap;
}

.views-exposed-form fieldset#edit-field-date-and-time-value-custom-date-filter-appointment-type-wrapper .fieldset-wrapper {
	width: 100%;
}

.views-exposed-form fieldset#edit-field-date-and-time-value-custom-date-filter-appointment-type-wrapper #edit-field-date-and-time-value-custom-date-filter-appointment-type .form-item {
	width: 46%;
}

.views-exposed-form fieldset#edit-field-date-and-time-value-custom-date-filter-appointment-type-wrapper {
	width: 100%;
}

.views-exposed-form .form--inline .form-item {
	display: flex;
	align-items: start;
	margin: 0px;
	margin-right: 10px;
	flex-direction: column;
}

.views-exposed-form .form--inline label {
	margin-right: 5px;
}

.views-exposed-form .form--inline {
	display: flex;
	align-items: end;
	flex-wrap: wrap;
	/* gap: 18px; */
}



.views-exposed-form .form-text,
.views-exposed-form .form-select {
	margin: 0px;
	width: 220px;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #dce4ec;
	border-radius: 6px;
	background: #fdfdfd;
	transition: all .3s;
}

.image-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.image-modal-box {
	background: var(--addit_white);
	padding: 15px;
	border-radius: 12px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
	max-width: 90%;
	max-height: 90%;
	animation: popupScale 0.25s ease-out;
}

.image-modal-box img {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 10px;
}

.modal-close-btn {
	background: #ff4343;
	color: var(--addit_white);
	border: none;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	margin-top: 10px;
	float: right;
}

@keyframes popupScale {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.prescription-lines-table th,
.prescription-lines-table td {
	padding: 10px 14px;
	text-align: left;
}

.menu-item {
	@apply flex items-center gap-2 px-2 py-1.5 text-sm rounded-sm hover:bg-accent hover:text-accent-foreground transition;
}

.icon {
	@apply size-4 shrink-0;
}

.ll-wrapper {
	background-color: #f7f9fc;
	padding: 20px;
}

.ll-main {
	max-width: 1200px;
	margin: 0 auto;
}

.ll-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.ll-header .page-title {
	font-size: 28px;
	font-weight: 600;
	/* color: #000000; */
}

.header-actions a.btn {
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 6px;
	margin-left: 10px;
	font-size: 14px;
	transition: all 0.3s;
}

.btn-outline {
	border: 1px solid #4d9cff;
	color: #4d9cff;
	background: transparent;
}

.btn-outline:hover {
	background-color: #4d9cff;
	color: var(--addit_white);
}

.btn-primary {
	background-color: #4d9cff;
	color: var(--addit_white);
	border: none;
}

.btn-primary:hover {
	background-color: #1e7bff;
}

.card {
	background: var(--addit_white);
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	padding: 20px;
	margin-bottom: 20px;
}

.doctor-card {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.doctor-card .doc-left {
	flex: 1;
	min-width: 200px;
	margin-right: 20px;
}

.doc-name {
	font-weight: 600;
	font-size: 18px;
	color: #000000;
}

.clinic {
	color: #7f8c8d;
	font-size: 14px;
}

.doc-right div {
	margin-bottom: 8px;
	font-size: 14px;
}

.status-badge {
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: var(--addit_white);
}

.status-completed {
	background-color: #27ae60;
}

.media-card {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.media-col {
	flex: 1;
	min-width: 250px;
}

.media-col h3 {
	font-size: 16px;
	margin-bottom: 10px;
}

.audio-col audio,
.video-col video {
	width: 100%;
	border-radius: 8px;
}

.lines-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.lines-table th,
.lines-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e1e4eb;
	text-align: left;
}

.lines-table th {
	background-color: #f5f7fa;
	font-weight: 600;
	color: 000000;
}

.chip {
	display: inline-block;
	background: #e8f0fe;
	color: #4d9cff;
	padding: 4px 10px;
	border-radius: 20px;
	margin-right: 5px;
	font-size: 12px;
}

.row-actions .icon-btn {
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 6px;
	background-color: #4d9cff;
	color: var(--addit_white);
	font-size: 12px;
	margin-right: 5px;
	transition: background 0.3s;
}

.row-actions .icon-btn:hover {
	background-color: #1e7bff;
}

.row-actions .icon-btn.order {
	background-color: #27ae60;
}

.row-actions .icon-btn.order:hover {
	background-color: #1e8449;
}

.ll-footer {
	text-align: center;
	font-size: 14px;
	color: #7f8c8d;
	margin-top: 20px;
}

.clinic-title {
	font-weight: 600;
}

#block-livelong-content .my-orders-page {
	background: transparent;
	padding: 24px;
	max-width: 100%;
	margin: 0 auto;
	box-shadow: none;
}

#block-livelong-content .my-orders-page h2 {
	border-bottom: 0px solid var(--primary_border);
	margin-bottom: 0px;
}

#block-livelong-content .orders-table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	font-size: 14px;
}

#block-livelong-content .orders-table th,
#block-livelong-content .orders-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #e1e4eb;
}

#block-livelong-content .orders-table th {
	background-color: var(--addit_white);
	color: var(--gray_color);
	font-weight: 600;
	padding: 14px 12px;
	text-align: left;
	font-size: 15px;
	letter-spacing: .3px;
}

#block-livelong-content .orders-table tbody tr {
	transition: background 0.3s;
}

#block-livelong-content .orders-table tbody tr:hover {
	background-color: #f5f5f5;
}

#block-livelong-content .orders-table .status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	color: var(--addit_white);
}

#block-livelong-content .orders-table .status {
	background: var(--red_color);
}

#block-livelong-content .orders-table .status.Completed {
	background-color: #27ae60;
}

#block-livelong-content .orders-table .status.Pending {
	background-color: #f39c12;
}

#block-livelong-content .orders-table .status.Unknown {
	background-color: #7f8c8d;
}

#block-livelong-content .view-btn {
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s;
}

#block-livelong-content .orders-table a {
	text-decoration: none;
	transition: all 0.3s;
}

#block-livelong-content .orders-table a:hover {
	text-decoration: none;
}

.prescription-create-order-form {
	background: var(--addit_white);
	padding: 30px;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	max-width: 950px;
	margin: 25px auto;
}

.order-header {
	margin-bottom: 25px;
}

.order-title {
	font-size: 30px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 5px;
}

.order-subtitle {
	font-size: 15px;
	color: #718093;
}

.prescription-create-order-form label {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: #2d3436;
}

.prescription-create-order-form input.form-text,
.prescription-create-order-form input.form-number,
.prescription-create-order-form textarea.form-textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #dce1e6;
	border-radius: 8px;
	background: #fafafa;
	font-size: 15px;
	transition: .3s;
}

#prescription-create-order-form #edit-location-row .form-item {
	margin-top: 0px;
	margin-bottom: 0px;
}

.prescription-create-order-form input:focus,
.prescription-create-order-form textarea:focus {
	border-color: #4d9cff;
	box-shadow: 0 0 7px rgba(77, 156, 255, 0.4);
	background: var(--addit_white);
	outline: none;
}

.medication-fieldset {
	border: 1px solid #e6e9ef !important;
	padding: 18px 20px;
	border-radius: 10px;
	margin: 25px 0;
}

.medication-row {
	background: white;
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	margin-bottom: 24px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	border-left: 5px solid #007ba7;
	display: grid;
	grid-template-columns: 48px 1fr 140px;
	gap: 15px;
	align-items: center;
	padding: 12px 14px;
}

.medication-row .form-item {
	margin: 0px;
}

.medication-row:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 123, 167, 0.1);
}

.med-check {
	width: 20px;
	height: 20px;
}

.med-label {
	font-size: 17px;
	font-weight: 600;
	color: #000000;
}

.quantity-input {
	padding: 10px;
	border-radius: 6px;
}

.two-column {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
}

.order-submit-btn {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	margin: 0px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
	cursor: pointer;
}

.order-submit-btn:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

/* .dashboard-card {
	padding: 10px;
} */

.dashboard-card .p-4 {
	padding: 16px !important;
}

.dashboard-card .card-header {
	margin-bottom: 8px !important;
}

.dashboard-card .card-footer {
	margin-top: 10px !important;
	padding-top: 10px !important;
}

.dashboard-section.dashboard-section--patients_section.patients_section .md\:grid {
	grid-template-columns: repeat(1, 1fr) !important;
}

.dropbutton .dropbutton-action {
	display: none;
}

.js .dropbutton-multiple .dropbutton-widget {
	padding: 0px;
	background: transparent;
	border: none;
}

.dropbutton-wrapper .dropbutton .dropbutton-toggle {
	position: static;
	display: none;
}

.dropbutton-toggle button::after {
	display: none;
}

.dropbutton .dropbutton-action a {
	font-size: 0px;
}

.js td .dropbutton-multiple .dropbutton-action a,
.js td .dropbutton-multiple .dropbutton-action input,
.js td .dropbutton-multiple .dropbutton-action button {
	height: 25px;
	width: 20px;
	text-align: center;
}

.dropbutton li {
	padding: 3px;
	margin: 3px;
	border-radius: 8px;
}

.dropbutton .secondary-action {
	border: none;
}

.appointment-custom-node-form .form-radio {
	padding: 0rem;
	width: auto;
	margin: 0px;
	border: 1px solid #e5e5e5;
	border-radius: 50%;
	height: auto;
}
input[type="radio"] {
	accent-color: var(--primary_color);
}

.appointment-custom-node-form #edit-cancel {
	color: #000;
}
textarea,
select,
input {
	padding-top: .5rem;
	padding-bottom: .5rem;
	width: 100%;
	padding-left: .75rem;
	padding-right: .75rem;
	margin: 0px;
	border: 1px solid #e5e5e5;
	border-radius: 0.5rem;
}

.appointment-custom-node-form lable {
	display: block;
}

.flatpickr-calendar .flatpickr-months .numInputWrapper *,
.flatpickr-calendar .flatpickr-months .flatpickr-monthDropdown-months {
	color: var(--addit_white);
	font-size: 14px;
	font-weight: 600;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month .flatpickr-calendar {
	background: var(--addit_white);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--primary_border);
	font-family: "Inter", sans-serif;
}

.flatpickr-months {
	background: var(--primary_color);
	border-radius: 12px 12px 0 0;
	padding: 5px 0;
	display: flex;
	align-items: center;
}

.flatpickr-current-month,
.flatpickr-monthDropdown-months,
.flatpickr-current-month input {
	color: var(--addit_white);
	font-weight: 600;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
	color: #000;
}

.flatpickr-monthDropdown-months {
	background: transparent;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
	fill: var(--addit_white);
}

.flatpickr-weekday {
	color: #000;
	font-weight: 600;
	font-size: 13px;
}

.flatpickr-day {
	border-radius: 50%;
	font-weight: 500;
}

.flatpickr-day:hover {
	background: #e8eaef;
	color: #000;
}

.flatpickr-day.today {
	border: 2px solid var(--primary_color);
	color: #000;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
	background: var(--primary_color);
	color: var(--addit_white);
	border-color: var(--primary_color);
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
	position: static;
	height: auto;
	padding: 0px 10px;
}

.flatpickr-months .flatpickr-day.prevMonthDay,
.flatpickr-months .flatpickr-day.nextMonthDay {
	color: #9ca3af;
}

.flatpickr-time {
	border-top: 1px solid var(--primary_border);
}

.flatpickr-time input,
.flatpickr-am-pm {
	font-weight: 600;
	color: #000;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after,
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
	border-top-color: #000;
}

.flatpickr-am-pm:hover {
	background: #e8eaef;
}


#edit-left-follow-up{
	display: flex;
}
.patient-manual-register-form #edit-patient-info .js-form-item,
.patient-manual-register-form #edit-patient-info .js-form-item input,
.patient-manual-register-form #edit-account-fields .js-form-item input,
.patient-manual-register-form #edit-account-fields .js-form-item {
	margin-bottom: 10px;
}

.patient-manual-register-form #edit-account-fields .js-form-type-password-confirm,
.patient-manual-register-form #edit-account-fields {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}

.patient-manual-register-form #edit-patient-info #edit-row1 {
	display: flex;
	/* flex-wrap:wrap; */
}

.patient-manual-register-form #edit-patient-info #edit-row2 #edit-field-phone-number {
	width: auto;
}

.patient-manual-register-form #edit-patient-info #edit-row2 {
	display: block;
}

.patient-manual-register-form #edit-patient-info *,
.patient-manual-register-form #edit-account-fields * {
	margin: 0px;
}

.patient-manual-register-form #edit-account-fields .js-form-type-password input {
	width: 100%;
}

.patient-manual-register-form #edit-account-fields .js-form-type-password,
.patient-manual-register-form #edit-account-fields .js-form-item-mail,
.patient-manual-register-form #edit-account-fields .js-form-item-name {
	width: 49%;
	max-width: 49%;
}
.patient-manual-register-form #edit-patient-info .js-form-item #edit-field-receive-reminders {
	display: flex;
	width: auto;
	float: left;
	margin-right: 10px;
}




.doctor-register-or-edit-form .password-suggestions {
	max-width: 34.7em;
	display: none!important;
	margin: 0.7em 0;
	color: #f40000;
	padding: 0.8em;
	background: #ffe6e6;
	border: 1px solid #f40000;
}

.doctor-register-or-edit-form #edit-pass {
	display: flex;
	gap: 20px;
	margin: 0px !important;
	flex-wrap: wrap;
	width: 100%;
}

.doctor-register-or-edit-form button,
.doctor-register-or-edit-form textarea,
.doctor-register-or-edit-form select,
.doctor-register-or-edit-form input {
	padding-top: .5rem;
	padding-bottom: .5rem;
	width: 100%;
	padding-left: .75rem;
	padding-right: .75rem;
	margin: 0px;
	border: 1px solid #e5e5e5;
	border-radius: 0.5rem;
	height: 2.5rem;
}

/* .doctor-register-or-edit-form #edit-field-address-container2 .form-item-field-address-postal-code,
.doctor-register-or-edit-form #edit-field-address-container2 .js-form-item-field-address-locality {
	width: 50%;
} */

.doctor-register-or-edit-form .js-form-item-field-address-administrative-area lable {
	display: block;
}

.doctor-register-or-edit-form label {
	margin: 0px;
}

/* .doctor-register-or-edit-form .form-item, */
/* .doctor-register-or-edit-form .form-actions {
	margin: 10px 10px !important;
} */	

.doctor-register-or-edit-form .form-item-language,
.doctor-register-or-edit-form .form-item-timezone {
	width: 50%;
	margin-top: 0px!important;
}
.doctor-register-or-edit-form #edit-settings {
	display: flex;

}

.doctor-register-or-edit-form #edit-role-doctor {
	width: auto;
	height: 100%;
}

.doctor-register-or-edit-form #edit-field-address-container2 {
	display: flex;
}

.doctor-register-or-edit-form #edit-actions input {
	margin: 20px 0px;
	width: auto;
}

.dashboard-section.top_cards {
	padding: 24px 0px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 15px;
}
.dashboard-section.top_cards h2 {
	grid-column: 1 / -1;
	font-size: 22px;
	font-weight: 600;
	color: #000;
}

.dashboard-card .card-header {
	background-color: var(--addit_white);
	border-bottom: none;
	padding: 0px;

}

.dashboard-card .card-header h3 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
}

/* Status text (urgent / ready / new etc.) */
.dashboard-card .card-header .status {
	font-size: 13px;
	font-weight: 500;
}

.dashboard-card .card-body {
	margin-bottom: 16px;
	padding: 0px;
}

.dashboard-card .card-count {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 15px;
}

.dashboard-card .card-subtitle {
	font-size: 14px;
	color: #6b7280;
}

.dashboard-card .card-footer a {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #000000;
}

.dashboard-card .card-footer a::after {
	    content: '\f8ce';
	    font-size: 14px;
    font-weight: 900;
    font-family: 'Material Symbols Outlined';
		 /* width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E"); */

  background-size: contain;
  background-repeat: no-repeat;
}

.dashboard-card.next-appointment,
.dashboard-card.today\'s-appointments {
	border-color: rgb(219 234 254);
}

.dashboard-card.medications,
.dashboard-card.appointments {
	border-color: rgb(182 238 209);
}

.dashboard-card.active-patients,
.dashboard-card.reports {
	border-color: rgb(254 243 199);
}

.dashboard-card.billing,
.dashboard-card.billing-today {
	border-color: rgb(255 228 230);
}

.dashboard-card.test-results {
	border-color: #ead6ff;
}

.dashboard-card.patients {
	border-color: #fef3c7;
}

.dashboard-card.tasks {
	border-color: #fee2e2;
}

/* ===== Footer Link Colors ===== */
.dashboard-card .card-footer {
	background-color: var(--addit_white);
	/* border-top:none; */
	padding: 0px;
}

.dashboard-card.appointments .card-footer a {
	color: rgb(22 163 74);
}

.dashboard-card.appointments .badge-new {
	color: #000000;
}

.dashboard-card .card-footer a {
	color: rgb(37 99 235);
}

.dashboard-card.reports .badge-new,
.dashboard-card.reports .card-footer a {
	color: #059669;
}

.dashboard-card.active-patients .badge-new,
.dashboard-card.active-patients .card-footer a {
	color: var(--orange_color);
}

.dashboard-card .badge-new {
	color: EF4444;
	font-size: 13px;
	font-weight: 500;
}

.dashboard-card.tasks .badge-new,
.dashboard-card.tasks .card-footer a {
	color: var(--red_color);
}

.dashboard-card .card-header h3 {
	position: relative;
	width: 100%;
	padding-right: 34px;
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	color: #111827;
}

.dashboard-card .card-header h3::before {
	content: "";
	position: absolute;
	right: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
}


.dashboard-card.appointments .badge {
	color: var(--red_color);
}


.doctor-schedule,
.doctor-upcoming {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 18px;
	width: 35%;
	margin-right: 25px;
	transition: all 0.25s ease;
}

.doctor-schedule:hover,
.doctor-upcoming:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.doctor-schedule h4,
.doctor-upcoming h4 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 12px;
}
.doctor-schedule .empty,
.doctor-upcoming .empty {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
	padding: 14px;
	font-size: 14px;
	color: #6b7280;
	text-align: center;
}

@media (max-width: 768px) {

	.doctor-schedule,
	.doctor-upcoming {
		padding: 16px;
	}
}

.dashboard-section.patients_section {
	margin-top: 0px;
}

.doctor-patients {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 18px;
	max-width: 480px;
	transition: all 0.25s ease;
}

.doctor-patients:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.doctor-patients h4 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 12px;
}

/* Empty State */
.doctor-patients .empty {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
	padding: 14px;
	font-size: 14px;
	color: #6b7280;
	text-align: center;
}

@media (max-width: 768px) {
	.doctor-patients {
		padding: 16px;
		max-width: 100%;
	}
}

.dashboard-section-tabs .patient-appointment {
	display: flex;
	margin-top: 0 px;
}

.doctor-patients {
	max-width: 480px;
}

.doctor-patients:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.doctor-patients h4 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}


.doctor-patients .empty {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
	padding: 14px;
	font-size: 14px;
	color: #6b7280;
	text-align: center;
}

.dashboard-card .p-4 {
	height: 100%;
	display: inline-grid;
	align-items: flex-end;
}

.doctor-performance {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 20px;
	transition: all 0.25s ease;
}

.doctor-performance:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	/* border-color: #000; */
}

.doctor-performance h4 {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}


#doctor-performance-chart,
#doctor-performance-chart {
	width: 100% !important;
	height: auto !important;
	max-height: 420px;
}

/* ----- patient-dashboard ------ */

.dashboard-section.overview {
	/* padding: 24px 0px; */
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;

	/* display: flex; */
	/* flex-direction: column; */
	/* gap: 6px; */
	/* padding: 24px 0px; */
}

.dashboard-section.overview h2 {
	grid-column: 1 / -1;
	font-size: 22px;
	font-weight: 600;
	color: #000;

	font-size: 22px;
	font-weight: 600;
	/* line-height: 0; */
	/* margin-bottom: 8px; */
	letter-spacing: -0.01em;
}

.dashboard-section.overview p {
	font-size: 14px;
	color: #6b7280;
	line-height: 0;
	margin-bottom: 10px;
	grid-column: 1 / -1;

}

.dashboard-card.medications .card-footer a {
	font-size: 14px;
	font-weight: 600;
	color: #166534;
	display: flex;
	align-items: center;
	transition: color 0.2s ease;
}

.dashboard-card.medications:hover .card-footer a {
	color: #166534;
}

.dashboard-card.test-results .card-footer a {
	font-size: 14px;
	font-weight: 600;
	color: #7c3aed;
	display: flex;
	align-items: center;
	transition: color 0.2s ease;
}

.dashboard-card.test-results:hover .card-footer a {
	color: #5b21b6;
}

.dashboard-card.next-appointment .card-footer a,
.dashboard-card.appointment .card-footer a {
	font-size: 14px;
	font-weight: 600;
	color: var(--primary_color);
	display: flex;
	/* justify-content: space-between; */
	align-items: center;
	transition: color 0.2s ease;
}

.dashboard-card.billing-today .card-footer a,
.dashboard-card.billing .card-footer a {
	font-size: 14px;
	font-weight: 600;
	color: var(--red_color);
	display: flex;
	align-items: center;
	transition: color 0.2s ease;
}

.doctor-patients h4::before {
	content: "";
	width: 22px;
	height: 22px;
	background-color: var(--orange_color);
	/* amber tone */
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4' fill='black'/%3E%3Cpath fill='black' d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath fill='black' d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") no-repeat center;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4' fill='black'/%3E%3Cpath fill='black' d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath fill='black' d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") no-repeat center;
}
.doctor-performance h4::before {
	content: "";
	width: 22px;
	height: 22px;
	background-color: #000000;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3v18h18'/%3E%3Crect x='7' y='13' width='3' height='5' fill='black'/%3E%3Crect x='12' y='9' width='3' height='9' fill='black'/%3E%3Crect x='17' y='5' width='3' height='13' fill='black'/%3E%3C/svg%3E") no-repeat center;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3v18h18'/%3E%3Crect x='7' y='13' width='3' height='5' fill='black'/%3E%3Crect x='12' y='9' width='3' height='9' fill='black'/%3E%3Crect x='17' y='5' width='3' height='13' fill='black'/%3E%3C/svg%3E") no-repeat center;
}
.dashboard-card.pending-orders .card-header h3::before {
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E");
}

.dashboard-card.ready-for-pickup .card-header h3::before {
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E");
}

.dashboard-card.today-total-amount .card-header h3::before {
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E");
}

.dashboard-card.medications .card-header h3::before {
	background-color: #dcfce7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E");
}

.dashboard-card.test-results .card-header h3::before {
	background-color: #f3e8ff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");

}

.dashboard-card.next-appointment .card-header h3::before,
.dashboard-card.appointment .card-header h3::before {
	background-color: #dbeafe;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");

}


.dashboard-card.billing-today .card-header h3::before,
.dashboard-card.billing .card-header h3::before {
	background-color: #ffe4e6;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z'/%3E%3Cpath d='M21.21 15.89A10 10 0 1 1 8 2.83'/%3E%3C/svg%3E");

}

.dashboard-card .card-header h3::before {
	background-color: #e0ecff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h5'/%3E%3Cpath d='M17.5 17.5 16 16.3V14'/%3E%3Ccircle cx='16' cy='16' r='6'/%3E%3C/svg%3E");
}

.dashboard-card.appointments .card-header h3::before {
	background-color: #dcfce7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z'/%3E%3Cpath d='m8.5 8.5 7 7'/%3E%3C/svg%3E");
}

.dashboard-card.reports .card-header h3::before {
	background-color: #dcfce7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
}

.dashboard-card.active-patients .card-header h3::before {
	background-color: #fef3c7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.dashboard-card.tasks .card-header h3::before {
	background-color: #fee2e2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M12 11h4'/%3E%3Cpath d='M12 16h4'/%3E%3Cpath d='M8 11h.01'/%3E%3Cpath d='M8 16h.01'/%3E%3C/svg%3E");
}

.patient-lab-report-card .patient-lab-report-cards span {
	text-transform: capitalize;
}

.dashboard-section.appointments>p {
	font-size: 14px;
	color: #6b7280;
	margin-bottom: 16px;
}

.dashboard-section.appointments .patient-appointment__details strong {
	text-transform: capitalize;
}

.dashboard-section.appointments .patient-appointment__reason {
	font-size: 13px;
	color: #6b7280;
	margin-top: 4px;
}

.dashboard-section.appointments .patient-appointment__badge {
	display: flow;
}

.dashboard-section.appointments .patient-appointment__badge a {
	/* display: inline-flex; */
	/* align-items: center; */
	/* justify-content: center; */
	/* flex-shrink: 0; */
	/* gap: 0.5rem; */
	/* white-space: nowrap; */
	/* font-size: 0.875rem; */
	font-weight: 500;
	border: 1px solid var(--primary_color);
	background-color: var(--primary_color);
	color: var(--addit_white);
	/* height: 2.25rem; */
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	/* border-radius: 0.375rem; */
	transition: color 0.4s ease, background-color 0.4s ease;
}

.dashboard-section.appointments .patient-appointment__badge a:hover {
	background-color: var(--addit_white);
	color: var(--primary_color);
}


.dashboard-section.appointments .patient-appointment__badge a:disabled {
	pointer-events: none;
	opacity: 0.5;
}

.dashboard-section.appointments .patient-card__footer {
	/* margin-top: 18px; */
	/* margin-bottom: 18px; */
	text-align: left;
}

.patient-card .medication-item div.h-16:first-child {
	width: 35px;
	height: 35px;
	padding: 7px;
}

.patient-card .medication-item .medication-info {
	font-size: 14px;
}

.patient-card .medication-item .medication-time {
	color: #6b7280;
	font-size: 14px;
}

.patient-card .medication-item svg:first-child {
	width: 26px;
	height: 26px;
}

.dashboard-section .medication-info {
	flex: 1;
	margin-left: 14px;
}

.dashboard-section .medication-info strong {
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	display: block;
}

.dashboard-section .medication-info .text-muted {
	font-size: 13px;
	color: #6b7280;
	margin-top: 4px;
}

.dashboard-section .medication-time {
	font-size: 13px;
	color: #374151;
	text-align: right;
	white-space: nowrap;
}

.dashboard-section .medication-time strong {
	color: #111827;
	font-weight: 600;
}

#lab-report-add-form {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 30px 20px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	transition: all 0.25s ease;
}

#lab-report-add-form .form-text {
	margin: 0px;
}

#lab-report-add-form .form-item {
	margin: 0px;
	margin-bottom: 10px;
}
#doctor-register-or-edit-form label,
#lab-report-add-form .form-item>label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #000;
	margin-bottom: 6px;
}

#lab-report-add-form .form-item input.form-text,
#lab-report-add-form .form-item input.form-autocomplete,
#lab-report-add-form .form-item select.form-select,
#lab-report-add-form .form-item input.form-file {
	width: 100%;
	transition: all 0.25s ease;
	line-height: normal;
}
#lab-report-add-form select.form-select {
	cursor: pointer;
}

#lab-report-add-form .description {
	font-size: 12px;
	color: #555;
	margin-top: 6px;
}

#lab-report-add-form details {
	background: var(--addit_white);
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 15px 10px;
}

#lab-report-add-form details>summary {
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: #000;
}
#lab-report-add-form .form-item input.form-file {
	width: auto;
}

#lab-report-add-form .form-actions {
	margin: 0px;
}
#lab-report-add-form #edit-report-pdfs-wrapper,
#lab-report-add-form #edit-status-wrapper {
	width: 100%;
}

#lab-report-add-form #edit-report-type-wrapper,
#lab-report-add-form .field--type-entity-reference {
	width: 49%;
}

#lab-report-add-form .form-required::after {
	color: #000;
}

/* user login page design css start */

/* .live-long-login {
	min-height: 100vh;
	display: flex;
	margin: 20px;
	background: #000;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #000;
}
.live-long-login .login-brand {
	width: 45%;
	background: #000;
	color: var(--addit_white);
	padding: 50px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.live-long-login .login-brand .login-logo img {
	max-width: 160px;
	margin-bottom: 24px;
}

.live-long-login .login-brand .login-tagline {
	font-size: 26px;
	font-weight: 600;
	margin: 0px;
	margin-bottom: 10px;
}

.live-long-login .login-brand .login-description {
	font-size: 15px;
	color: #ccc;
	line-height: 1.6;
	max-width: 420px;
}

.live-long-login .login-brand .login-illustration {
	margin-top: 40px;
}

.live-long-login .login-brand .login-illustration img {
	width: 100%;
	max-width: 420px;
}

.live-long-login .login-card {
	width: 55%;
	background: #f5f5f5;
	padding: 10px 60px 30px;
	display: flex;
	flex-direction: column;
	height: -webkit-fill-available;
	justify-content: center;
}

.live-long-login .login-card .login-header {
	margin-bottom: 28px;
}

.live-long-login .login-card .login-title {
	font-size: 30px;
	font-weight: 700;
	color: #000;
}

.live-long-login .tabs.primary {
	display: flex;
	gap: 18px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 24px;
}

.live-long-login .tabs.primary li a {
	padding: 8px 0;
	font-size: 14px;
	color: #555;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.live-long-login .tabs.primary li.is-active a {
	color: #000;
	font-weight: 600;
	border-color: #000;
}

.live-long-login .user-login-form {
	background: var(--addit_white);
	padding: 34px;
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.live-long-login .user-login-form .form-item {
	margin-bottom: 18px;
}

.simplelogin .simplelogin-link a {
	color: #000;
	border-color: #000;
}

.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="email"],
.login-form-wrapper input[type="password"],
.live-long-login .user-login-form input.form-text {
	width: 100%;
	padding: 14px 16px;
	font-size: 14px;
	border-radius: 10px;
	background: var(--addit_white);
	color: #000;
	transition: all 0.25s ease;
}

.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="email"]::placeholder,
.login-form-wrapper input[type="password"],
.live-long-login .user-login-form input::placeholder {
	color: #777;
}

.login-form-wrapper input[type="submit"],
.login-form-wrapper input[type="submit"] {
	background: #000;
	box-shadow: 0 10px 20px rgb(0 0 0 / 25%);
}

.login-form-wrapper input[type="submit"]:hover {
	box-shadow: none;
}

.login-form-wrapper input:focus,
.live-long-login .user-login-form input:focus {
	outline: none;
	border-color: #000;
	box-shadow: none;

}

.live-long-login .user-login-form .form-actions {
	margin-top: 24px;
}

.live-long-login .user-login-form .form-actions input.form-submit {
	width: 100%;
	background: #000;
	color: var(--addit_white);
	padding: 14px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	transition: 0.3s ease;
}

.live-long-login .user-login-form .form-actions input.form-submit:hover {
	background: #222;
}

.live-long-login .login-footer {
	margin-top: 22px;
	text-align: center;
}

.live-long-login .login-footer .forgot-password a {
	font-size: 14px;
	color: #000;
	font-weight: 500;
	text-decoration: none;
}

.live-long-login .login-footer .forgot-password a:hover {
	text-decoration: underline;
}

.live-long-login .login-footer .login-info {
	margin-top: 12px;
	font-size: 13px;
	color: #555;
}

@media (max-width: 992px) {
	.live-long-login {
		flex-direction: column;
	}

	.live-long-login .login-brand,
	.live-long-login .login-card {
		width: 100%;
	}

	.live-long-login .login-card {
		padding: 40px 24px;
	}
} */
/* ============================================
   LIVE LONG — Login Page CSS
   Health Portal | Animated | Responsive
   Parent class: .live-long-login
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
.live-long-login {
  --primary:       #0a176e;
  --primary-light: #0d239e;
  --primary-pale:  #e0e5f5;
  --accent:        #000000;
  --accent-soft:   #fff4d600;
  --text-dark:     #0d0e2a;
  --text-mid:      #3a435c;
  --text-muted:    #7a819e;
  --white:         #ffffff;
  --surface:       #f5fafa;
  --border:        #c9c8e6;
  --shadow-sm:     0 2px 12px rgba(10,110,110,0.10);
  --shadow-md:     0 8px 32px rgba(10,110,110,0.16);
  --shadow-lg:     0 20px 60px rgba(10,110,110,0.22);
  --radius:        18px;
  --radius-sm:     10px;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', 'Segoe UI', sans-serif;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
.live-long-login *,
.live-long-login *::before,
.live-long-login *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Full Page Layout ── */
.live-long-login {
  display: flex;
  min-height: auto;
  font-family: var(--font-body);
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* ============================================
   LEFT ASIDE — Brand / Illustration Panel
   ============================================ */
.live-long-login .login-brand {
  position: relative;
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 52px;
  background: linear-gradient(145deg, #04124f 0%, #073260 40%, #0a3f8a 100%);
  overflow: hidden;
  z-index: 1;

  /* Entrance animation */
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Background decorative circles */
/* .live-long-login .login-brand::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

.live-long-login .login-brand::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,0.12) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite reverse;
} */

/* Floating medical cross shapes */
/* .live-long-login .login-brand .login-illustration::before {
  content: '+';
  position: absolute;
  top: 18%;
  right: 12%;
  font-size: 80px;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  animation: floatY 5s ease-in-out infinite;
  pointer-events: none;
  line-height: 1;
}

.live-long-login .login-brand .login-illustration::after {
  content: '✚';
  position: absolute;
  bottom: 22%;
  right: 8%;
  font-size: 36px;
  color: rgba(240,165,0,0.25);
  animation: floatY 7s ease-in-out infinite reverse;
  pointer-events: none;
} */

/* ── Logo ── */
.live-long-login .login-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 32px;
  text-decoration: none;
  animation: fadeInDown 0.6s 0.3s both;
}

.live-long-login .login-logo .brand-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform var(--transition), filter var(--transition);
}

.live-long-login .login-logo:hover .brand-logo {
  transform: scale(1.06);
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,0.5));
}

/* ── Tagline ── */
.live-long-login .login-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s 0.45s both;
}

/* ── Description ── */
.live-long-login .login-description {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s 0.55s both;
}

/* ── Doctor Illustration ── */
.live-long-login .login-illustration {
  position: relative;
  width: 100%;
  max-width: 340px;
  animation: fadeInUp 0.8s 0.65s both;
}

/* .live-long-login .login-illustration img { */
  /* width: 240px;
  height: auto;
  height: 240px; */
  /* max-height: 340px; */
  /* border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.28)); */

  /* Floating animation */
  /* animation: doctorFloat 6s ease-in-out infinite;
  transform-origin: center bottom; */
/* } */

/* Subtle glow beneath illustration */
/* .live-long-login .login-illustration::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 24px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadowPulse 6s ease-in-out infinite;
} */

/* Animated stat badges floating around doctor */
/* .live-long-login .login-illustration > img ~ span,
.live-long-login .login-illustration .stat-badge {
  position: absolute;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 8px 14px;
  color: white;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
} */

/* ============================================
   RIGHT MAIN — Login Card
   ============================================ */
.live-long-login .login-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 40px;
  background: var(--white);
  position: relative;
  overflow: hidden;

  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Subtle background texture */
.live-long-login .login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(0,200,200,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(240,165,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Header ── */
.live-long-login .login-header {
  width: 100%;
  /* max-width: 400px; */
  padding: 0px 50px;
  margin-bottom: 8px;
  animation: fadeInDown 0.6s 0.5s both;
}
.simplelogin .simplelogin-link a{
	display: none;
}
.live-long-login .login-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

/* ── Tabs nav ── */
.live-long-login .simplelogin-link,
.live-long-login .tabs {
  display: flex;
  /* gap: 4px;
  margin: 16px 0 0; */
}

.live-long-login .tabs.primary {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 4px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin: 12px 0 0;
}

.live-long-login .tabs.primary li a {
  display: block;
  padding: 8px 20px;
  border-radius: 7px;
  /* font-size: 0.85rem; */
  font-weight: 500;
  /* color: var(--text-mid); */
  text-decoration: none;
  transition: all var(--transition);
}

.live-long-login .tabs.primary li.is-active a,
.live-long-login .tabs.primary li a.is-active {
  background: var(--white);
  color: var(--primary);
  /* border-bottom: 1px solid var(--primary); */
  /* box-shadow: var(--shadow-sm); */
  font-weight: 500;
}

.live-long-login .tabs.primary li a:hover:not(.is-active) {
  color: var(--primary);
  background: #fff;
}

/* ── Form Wrapper ── */
.live-long-login .login-form-wrapper {
  /* width: 100%;
  max-width: 400px; */
  padding: 0px 50px;
  animation: fadeInUp 0.6s 0.65s both;
}

/* ── Drupal block wrappers ── */
.live-long-login .region,
.live-long-login .block,
.live-long-login .block-system-main-block {
  width: 100%;
}

/* ── The Form itself ── */
.live-long-login .user-login-form {
  display: flex;
  flex-direction: column;
  /* gap: 18px; */
  margin-top: 28px;
}

/* ── Form Items ── */
.live-long-login .js-form-item {
  position: relative;
}

.live-long-login .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Inputs ── */
.live-long-login input[type="text"],
.live-long-login input[type="password"] {
  width: 100%;
  height: 54px;
  padding: 0 20px 0 52px;
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition);
  /* -webkit-appearance: none; */
}
.live-long-login input[type="text"]::placeholder,
.live-long-login input[type="password"]::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.live-long-login input[type="text"]:focus,
.live-long-login input[type="password"]:focus {
  background: var(--white);
  transform: translateY(-1px);
  border-color: var(--border);
  box-shadow: none;
}

/* Input icons via pseudo on parent */
.live-long-login .js-form-type-textfield::before {
  content: '👤';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--transition);
}

.live-long-login .js-form-type-password::before {
  content: '🔒';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  transition: opacity var(--transition);
}

.live-long-login .js-form-type-textfield:focus-within::before,
.live-long-login .js-form-type-password:focus-within::before {
  opacity: 1;
}

/* ── Submit Button ── */
.live-long-login .form-actions {
  margin-top: 6px;
}

.live-long-login input[type="submit"],
.live-long-login .form-submit {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(10,110,110,0.3);
}

/* Shimmer on button */
.live-long-login input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transition: left 0.55s ease;
}

.live-long-login input[type="submit"]:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 8px 30px rgba(10, 10, 110, 0.4);
  background: linear-gradient(135deg, #081b5e 0%, #0c29aa 100%);
}

.live-long-login input[type="submit"]:hover::before {
  left: 140%;
}

.live-long-login input[type="submit"]:active {
  /* transform: translateY(0px) scale(0.99); */
  box-shadow: 0 2px 10px rgba(10,110,110,0.25);
}

/* ── Footer ── */
.live-long-login .login-footer {
  width: 100%;
  max-width: 400px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeInUp 0.5s 0.8s both;
}

.live-long-login .forgot-password a {
  font-size: 0.88rem;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.live-long-login .forgot-password a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.live-long-login .forgot-password a:hover {
  color: var(--accent);
}

.live-long-login .forgot-password a:hover::after {
  width: 100%;
}

.live-long-login .login-info {
  font-size: 0.80rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Drupal message blocks */
.live-long-login .hidden {
  display: none;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

/* Page entrance */
@keyframes slideInLeft {
  from { transform: translateX(-60px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(60px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

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

@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Doctor illustration floating */
@keyframes doctorFloat {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  30%      { transform: translateY(-14px) rotate(0.5deg); }
  70%      { transform: translateY(-8px) rotate(-0.5deg); }
}

/* Shadow sync with float */
@keyframes shadowPulse {
  0%,100% { transform: translateX(-50%) scaleX(1);   opacity: 0.5; }
  50%      { transform: translateX(-50%) scaleX(0.75); opacity: 0.25; }
}

/* Background orbs */
@keyframes pulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.15); opacity: 0.6; }
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

/* ============================================
   RESPONSIVE — Tablet (≤900px)
   ============================================ */
@media (max-width: 900px) {
  .live-long-login {
    flex-direction: column;
	margin: 0px 15px;
	border-radius: 10px;
  }
.live-long-login .login-brand{
	display: none;
}
.live-long-login .login-form-wrapper{
	padding: 0px 15px;
}
.live-long-login .login-header{
	padding: 0px 15px;
}
.live-long-login .login-title{
	margin: 0px;
}
  /* .live-long-login .login-brand {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 32px 28px;
    gap: 20px;
    animation: fadeInDown 0.6s both;
  } */

  /* .live-long-login .login-illustration {
    max-width: 160px;
    margin-left: auto;
  } */

  /* .live-long-login .login-illustration img {
    max-height: 160px;
    animation: doctorFloat 5s ease-in-out infinite;
  } */

  /* .live-long-login .login-tagline {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .live-long-login .login-description {
    font-size: 0.88rem;
    margin-bottom: 0;
  }

  .live-long-login .login-card {
    flex: 1;
    padding: 40px 24px;
    animation: fadeInUp 0.6s 0.3s both;
  } */
}

/* ============================================
   RESPONSIVE — Mobile (≤540px)
   ============================================ */
@media (max-width: 540px) {
  .live-long-login .login-brand {
    padding: 24px 20px;
  }

  .live-long-login .login-logo .brand-logo {
    height: 32px;
  }

  .live-long-login .login-tagline {
    font-size: 1.2rem;
  }

  .live-long-login .login-illustration {
    max-width: 110px;
  }

  .live-long-login .login-illustration img {
    max-height: 110px;
  }

  .live-long-login .login-card {
    padding: 32px 18px;
  }

  .live-long-login .login-title {
    font-size: 1.4rem;
  }

  .live-long-login input[type="text"],
  .live-long-login input[type="password"] {
    height: 50px;
  }

  .live-long-login input[type="submit"] {
    height: 50px;
  }

  /* .live-long-login .tabs.primary {
    width: 100%;
    justify-content: center;
  } */
}

/* ============================================
   ACCESSIBILITY — Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .live-long-login *,
  .live-long-login *::before,
  .live-long-login *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
article.profile {
	background: var(--addit_white);
	padding: 24px;
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

article.profile,
article.profile * {
	background-color: transparent;
}

article.profile .field {
	background: var(--addit_white);
	padding: 14px 16px;
	border-radius: 10px;
	margin-bottom: 14px;
	border: 1px solid var(--primary_border);
}
.node-medication-form label,
article.profile .field__label,
article.profile .label {
	font-size: 13px;
	font-weight: 600;
	color: #000;
	margin-bottom: 6px;
}

article.profile .field__item,
article.profile time.datetime {
	font-size: 14px;
	color: #333;
}

article.profile .address {
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}

article.profile .form-type-item {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 30px 20px;

	padding: 14px 16px;
	margin-bottom: 18px;
}


article.profile a {
	color: #000;
	font-weight: 500;
	text-decoration: none;
}

article.profile a:hover {
	text-decoration: underline;
}


.ui-dialog.media-library-widget-modal {
	background: var(--addit_white);
	border: 1px solid #eee;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	font-family: "Inter", Arial, sans-serif;
}


.ui-dialog.media-library-widget-modal .ui-dialog-titlebar {
	background: #000;
	color: var(--addit_white);
	border: none;
	padding: 14px 18px;
	border-radius: 10px 10px 0 0;
}

.ui-dialog.media-library-widget-modal .ui-dialog-title {
	font-size: 16px;
	font-weight: 600;
}

.ui-dialog.media-library-widget-modal .ui-dialog-titlebar-close {
	background: transparent;
	border: none;
	position: absolute;
	right: 14px;
	top: 20px;
}

/* .ui-dialog.media-library-widget-modal .ui-dialog-titlebar-close::before {
	content: "âœ•";
	color: var(--addit_white);
	font-size: 16px;
} */


.ui-dialog.media-library-widget-modal #drupal-modal {
	padding: 18px;
	background: #f7f7f7;
}
/* 
.media-library-wrapper .views-exposed-form .button {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

.media-library-wrapper .views-exposed-form .button:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
} */

.media-library-wrapper .media-library-item {
	background: var(--addit_white);
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 10px;
	transition: all 0.2s ease;
}
.media-library-wrapper .media-library-item__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* #media-library-messages
.media-library-wrapper .media-library-item:hover { */
	/* transform: translateY(-2px); */
	/* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); */
/* } */
.media-library-wrapper .media-library-views-form .media-library-item--grid{
	position: relative;
	padding: 0px;
	width: 19%;
	max-width: 18%;
}
.media-library-item__attributes {
    position: absolute;
    bottom: 0px;
    background: #f1f1f1d1;
    padding: 10px;
	font-weight: 600;
	width: 100%;
}
.media-library-wrapper .media-library-views-form .media-library-item--grid>.views-field-media-library-select-form{
	position: absolute;
	    top: 4px;
    left: 19px;
}
.media-library-wrapper .media-library-views-form .media-library-item img {
	width: 100%;
	height: 215px;
	object-fit: cover;
	border-radius: 0px;
	border: 1px solid #eee;
}
.media-library-wrapper .media-library-views-form>table .media-library-item img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 0px;
	border: 1px solid #eee;
}
.media-library-views-form{
	margin-top: 30px;
}

.media-library-wrapper .media-library-item__name {
	margin-top: 8px;
	font-size: 12px;
	width: 160px;
	/* padding: 10px; */
	color: #000;
	text-align: center;
	word-break: break-word;
}

.media-library-wrapper .form-checkbox {
	accent-color: #000;
}


.ui-dialog.media-library-widget-modal .ui-dialog-buttonpane {
	border-top: 1px solid #eee;
	padding: 12px 18px;
	border-radius: 0px 0px 10px 10px;
	background: #eee;
}

.ui-dialog.media-library-widget-modal .ui-dialog-buttonpane .button--primary {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

.ui-dialog.media-library-widget-modal .ui-dialog-buttonpane .button--primary:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

.ui-dialog.media-library-widget-modal .media-library-selected-count {
	font-size: 14px;
	color: #000;
	margin-top: 8px;
}

/* .media-library-views-form .{
	    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(5, 1fr);
} */
.media-library-views-form #media-library-messages{
	display: none;
}
.media-library-views-form .views-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	/* margin-top: 30px; */
	background: var(--addit_white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.media-library-views-form .views-table thead th {
	margin-top: 30px;
	background: #f7f7f7;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	padding: 10px 12px;
	border-bottom: 1px solid #e3e3e3;
	text-align: left;
	position: sticky;
	top: 0;
	z-index: 2;
}

.media-library-views-form .views-table tbody tr {
	transition: background 0.2s ease;
	cursor: pointer;
}

/* .media-library-views-form .views-table tbody tr:hover {
	background: #f5f9ff;
} */

.media-library-views-form .views-table td {
	padding: 10px 12px;
	font-size: 13px;
	color: #333;
	vertical-align: middle;
	border-bottom: 1px solid #eee;
}

.media-library-views-form .views-field-thumbnail__target-id img {
	width: 70px;
	height: 50px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #ddd;
	background: #fafafa;
}

.media-library-views-form .form-type-checkbox {
	display: flex;
	align-items: center;
	justify-content: center;
}

.media-library-views-form input.form-checkbox {
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: #000000;
}

.media-library-views-form input.form-checkbox:checked {
	accent-color: #000000;
}

.views-field-name {
	font-weight: 500;
	color: #222;
}


.views-field-uid,
.views-field-changed {
	font-size: 12px;
	color: #666;
}

#user-form {
	background: var(--addit_white);
	padding: 24px;
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	/* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); */
}

#user-form .field--name-field-profile-image {
	margin: 16px 0;
}

#user-form .field--name-field-profile-image fieldset {
	border: 1px solid #ddd;
	border-radius: 0px 0px 10px 10px;
	padding: 0;
	background: var(--addit_white);
	/* box-shadow: 0 1px 4px rgba(0,0,0,0.08); */
	overflow: hidden;
}

#user-form .field--name-field-profile-image legend {
	width: 100%;
	padding: 10px 0px;
	/* box-shadow: 0 1px 4px rgba(0,0,0,0.08); */
	border-radius: 10px 10px 0px 0px;
	background: #f7f7f7;
	border: 1px solid #e3e3e3;
}

#user-form .field--name-field-profile-image .fieldset-legend {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}
#user-form .field--name-field-profile-image .fieldset-wrapper {
	padding: 14px;
}

#user-form .field--name-field-profile-image .field-prefix {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	color: #666;
}

#user-form .media-library-selection {
	margin-bottom: 12px;
}

#user-form .field--name-field-profile-image .field-suffix {
	display: inline-flex;
	gap: 8px;
}

#user-form .field--name-field-profile-image .js-media-library-open-button {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

#user-form .field--name-field-profile-image .js-media-library-open-button:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

#user-form .field--name-field-profile-image .js-hide {
	display: none;
}

#user-form .field--name-field-profile-image .description {
	margin-top: 10px;
	font-size: 12px;
	color: #777;
}

#user-form .field--name-field-profile-image .js-media-library-open-button:focus-visible {
	outline: 2px solid #2684ff;
	outline-offset: 2px;
}
#user-form .form-item {
	margin-bottom: 20px;
}

#user-form label {
	display: block;
	margin-bottom: 3px;
	font-size: 14px;
	font-weight: 600;
	color: #000;
}
#user-form input.form-text,
#user-form input.form-email,
#user-form input.form-date,
#user-form select.form-select {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid var(--primary_border);
	border-radius: 8px;
	background: var(--addit_white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#user-form input:focus,
#user-form select:focus {
	border-color: #2684ff;
	box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.15);
	outline: none;
}

#user-form .form-required::after {
	content: " *";
	color: var(--red_color);
}

#user-form .description {
	margin-top: 6px;
	font-size: 12px;
	color: #667085;
	line-height: 1.4;
}

#user-form .password-strength {
	margin-top: 8px;
}

#user-form .password-strength__meter {
	height: 6px;
	border-radius: 4px;
	background: var(--primary_border);
	overflow: hidden;
}

#user-form .password-strength__indicator {
	height: 100%;
	background: var(--green_color);
}

#user-form .password-confirm {
	margin-top: 8px;
	font-size: 12px;
}
#user-form .field--type-datetime h4.label {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}
#user-form .select2-container {
	width: 100% !important;
}

#user-form .select2-selection {
	height: 42px;
	border-radius: 8px;
	border: 1px solid var(--primary_border);
	display: flex;
	align-items: center;
}

#user-form .select2-selection__rendered {
	padding-left: 12px;
	font-size: 14px;
}

#user-form details {
	border: 1px solid var(--primary_border);
	border-radius: 10px;
	margin-top: 24px;
	background: var(--addit_white);
}

#user-form details summary {
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	background: #f9fafb;
	border-radius: 10px;
}

#user-form details .details-wrapper {
	padding: 16px;
}

@media (min-width: 768px) {

	/* Full width fields */
	#user-form .field--name-field-full-name,
	#user-form .field--name-field-specialization,
	#user-form #edit-account,
	#user-form details {
		grid-column: span 2;
	}
}

#user-form #edit-field-address-wrapper fieldset {
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	padding: 20px;
	background: var(--addit_white);
	margin-bottom: 24px;
}
#user-form #edit-field-address-wrapper legend {
	font-size: 14px;
	font-weight: 600;
	padding: 0 10px;
	color: #111827;
}

#user-form #edit-field-address-wrapper .fieldset-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
#user-form .js-form-item-field-address-0-address-address-line1,
#user-form .js-form-item-field-address-0-address-address-line2 {
	grid-column: span 2;
}
#user-form .address-container-inline {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

#user-form .address-container-inline>.form-item {
	margin: 0px;
}

#user-form #edit-field-address-wrapper .select2-container {
	width: 100% !important;
	margin: 0px;
}

#user-form .js-form-item-field-receive-reminders-value {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0;
}

/* Hide checkbox */
#user-form .js-form-item-field-receive-reminders-value input[type="checkbox"] {
	display: none;
}

/* Toggle label */
#user-form .js-form-item-field-receive-reminders-value label {
	position: relative;
	padding-left: 52px;
	cursor: pointer;
	font-weight: 500;
}

/* Toggle track */
#user-form .js-form-item-field-receive-reminders-value label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 22px;
	background: var(--primary_border);
	border-radius: 999px;
	transition: background 0.3s ease;
}

/* Toggle knob */
#user-form .js-form-item-field-receive-reminders-value label::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: var(--addit_white);
	border-radius: 50%;
	transition: left 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Checked state */
#user-form .js-form-item-field-receive-reminders-value input:checked+label::before {
	background: var(--green_color);
}

#user-form .js-form-item-field-receive-reminders-value input:checked+label::after {
	left: 23px;
}

#user-form .form-tel {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid var(--primary_border);
}

#user-form #edit-actions {
	grid-column: span 2;
	margin-top: 32px;
}

#user-form .button--primary {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

#user-form .button--primary:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

#media-library-view .view-header {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
}

/* Common button style */
#media-library-view .views-display-link {
	position: relative;
	padding: 8px 14px 8px 36px;
	border: 2px solid var(--primary_border);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #000000;
	background: var(--addit_white);
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Hover */
#media-library-view .views-display-link:hover {
	background: #f3f4f6;
}

/* Active state */
#media-library-view .views-display-link.is-active {
	/* background: #ededed99; */
	color: var(--primary_color);
	border-color: #000000;
}

#media-library-view .views-display-link-widget::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
}

#media-library-view .views-display-link-widget_table::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 3h18v18H3V3zm0 6h18M9 3v18'/%3E%3C/svg%3E");
}

#prescription-create-order-form #edit-medications-fieldset {
	border: 1px solid var(--primary_border);
	border-radius: 10px;
	padding: 16px;
	background: var(--addit_white);
}

#prescription-create-order-form #edit-medications-fieldset legend {
	font-weight: 600;
	color: #1f2937;
	padding: 0 6px;
}

#prescription-create-order-form .medication-row {
	display: grid;
	grid-template-columns: 32px 1fr 140px;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	transition: background 0.2s ease;
}

#prescription-create-order-form .medication-row:not(:last-child) {
	margin-bottom: 6px;
}

/* Hover */
#prescription-create-order-form .medication-row:hover {
	background: #f9fafb;
}

/* Medicine name */
#prescription-create-order-form .med-label {
	font-size: 14px;
	font-weight: 500;
	color: #111827;
}

/* Quantity input */
#prescription-create-order-form .quantity-input {
	width: 100%;
	border-radius: 6px;
	border: 1px solid #d1d5db;
	padding: 6px 8px;
}

/* Disabled state */
#prescription-create-order-form .medication-row.is-disabled {
	opacity: 0.45;
}

#prescription-create-order-form .medication-row.is-disabled .quantity-input {
	pointer-events: none;
	background: #f3f4f6;
}

/* Checkbox */
#prescription-create-order-form .med-check {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

#appointment-details .check-up-appointment {
	border-radius: 14px;
	border: 1px solid var(--primary_border);
	background: var(--addit_white);
	overflow: hidden;
	position: relative;
}

#appointment-details .check-up-appointment>.p-3,
#appointment-details .check-up-appointment>.md\:p-4,
#appointment-details .check-up-appointment>.xxl\:p-6 {
	/* background: #f9fafb; */
	border-bottom: 1px solid var(--primary_border);
}

/* Header icon */
#appointment-details .check-up-appointment h2 svg {
	background: rgba(59, 130, 246, 0.1);
	padding: 6px;
	border-radius: 50%;
	width: 30px;
	height: 30px;
}
#appointment-details .check-up-appointment svg.text-muted-foreground {
	/* font-size: 13px; */
	color: #6b7280;
	width: 30px;
	height: 30px;
}

#appointment-details .check-up-appointment .text-muted-foreground {
	/* font-size: 13px; */
	color: #6b7280;
}


#appointment-details .check-up-appointment .rounded-full.border {
	background: rgba(59, 130, 246, 0.1);
	border-color: #3b82f6;
	color: var(--primary_color);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

#appointment-details .scheduled-appointment {
	background: var(--addit_white);
}

/* Info rows */
#appointment-details .scheduled-appointment .flex.items-start {
	padding: 14px;
	border-radius: 10px;
	/* background: #f9fafb; */
	border: 1px solid var(--primary_border);
}

#appointment-details .scheduled-appointment svg {
	background: #eef2ff;
	padding: 6px;
	border-radius: 8px;
	color: #4f46e5;
}

#appointment-details .scheduled-appointment h3 {
	font-weight: 600;
	margin-bottom: 4px;
}
#user-patients-section .column-4{
	    width: 48%;
}
#user-patients-section .site-buttons .lucide {
	transition: all 0.3s;
	color: var(--addit_white);
}

#user-patients-section .site-buttons:hover .lucide {
	color: var(--primary_color);
}

#appointment-details .scheduled-appointment .lucide-file-text {
	background: #ecfeff;
	color: #0891b2;
}

#appointment-details .patient-information-app {
	background: #f9fafb;
	border-top: 1px solid var(--primary_border);
	/* font-size: 12px; */
	color: #6b7280;
	position: absolute;
	bottom: 0;
	width: -webkit-fill-available;
}

@media (max-width: 768px) {

	#appointment-details .scheduled-appointment .flex.items-start {
		padding: 12px;
	}
}


.order-confirmation {
	max-width: 720px;
	margin: 40px auto;
	padding: 28px;
	background: var(--addit_white) !important;
	border-radius: 16px;
	border: 1px solid var(--primary_border);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.order-confirmation .thank-you {
	text-align: center;
	padding-bottom: 24px;
	border-bottom: 1px dashed var(--primary_border);
}

.order-confirmation .thank-you p {
	font-size: 14px;
	color: #374151;
	margin: 4px 0;
}

.order-confirmation .order-summary {
	margin-top: 24px;
	padding: 20px;
	/* background: #f9fafb; */
	border-radius: 12px;
	border: 1px solid #eee;
}

.order-confirmation .order-summary h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #111827;
	border-bottom: 2px solid #ececec;
}

.order-confirmation .order-summary p {
	font-size: 14px;
	color: #374151;
	margin: 6px 0;
}

.order-confirmation .order-summary strong {
	color: #111827;
}

.order-confirmation .next-step {
	margin-top: 20px;
	padding: 18px;
	/* background: #ecfeff; */
	border: 1px solid #eee;
	border-left: 4px solid #000;
	border-radius: 10px;
}

.order-confirmation .next-step h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #000000;
}

.order-confirmation .next-step p {
	font-size: 14px;
	color: #334155;
}

.order-confirmation .actions {
	margin-top: 28px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.order-confirmation .actions .button {
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
	border: 1px solid #000;
	background: var(--addit_white);
	color: #000;
	transition: all 0.2s ease;
}

.order-confirmation .actions .button:hover {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
}

/* Primary button */
.order-confirmation .actions .button--primary {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

.order-confirmation .actions .button--primary:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

@media (max-width: 640px) {
	.order-confirmation {
		padding: 20px;
	}

	.order-confirmation .actions {
		flex-direction: column;
	}

	.order-confirmation .actions .button {
		width: 100%;
		text-align: center;
	}
}

#pharmacy-register-form #edit-account-info-group h3 {
	color: #000;
}

#pharmacy-register-form #edit-account-fields {
	margin-top: 16px;
}

#pharmacy-register-form #edit-account-fields .form-item {
	flex: 1;
	min-width: 220px;
}

#pharmacy-register-form label {
	font-size: 14px;
	margin-bottom: 3px;
}

#pharmacy-register-form #edit-account-fields input[type="text"],
#pharmacy-register-form #edit-account-fields input[type="email"],
#pharmacy-register-form #edit-account-fields input[type="password"] {
	margin: 0px;
}

/* Placeholder */
#pharmacy-register-form #edit-account-fields input::placeholder,
input::placeholder {
	color: #000;
}

/* Focus state */
#pharmacy-register-form #edit-account-fields input:focus {
	border-color: var(--primary_color);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	outline: none;
}

/* Disabled */
#pharmacy-register-form #edit-account-fields input:disabled {
	background: #f3f4f6;
	cursor: not-allowed;
}

/* ===============================
RESPONSIVE
=============================== */

@media (max-width: 768px) {
	#pharmacy-register-form #edit-account-fields {
		flex-direction: column;
	}
}

#pharmacy-register-form fieldset.geolocation-widget-input {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

#pharmacy-register-form fieldset.geolocation-widget-input .fieldset-legend {
	font-size: 1.2rem;
	font-weight: bold;
	color: #000000;
}

#pharmacy-register-form fieldset.geolocation-widget-input input.form-text {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	box-sizing: border-box;
}

#pharmacy-register-form fieldset.geolocation-widget-input label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	color: #333;
}

#pharmacy-register-form {
	font-family: Arial, sans-serif;
	color: #333;
}

#pharmacy-register-form h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: #000000;
}

#pharmacy-register-form input.form-text,
#pharmacy-register-form input.address-line1,
#pharmacy-register-form input.address-line2,
#pharmacy-register-form input.locality,
#pharmacy-register-form input.postal-code {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	box-sizing: border-box;
}
#pharmacy-register-form input.form-text:focus,
#pharmacy-register-form input.address-line1:focus,
#pharmacy-register-form input.address-line2:focus,
#pharmacy-register-form input.locality:focus,
#pharmacy-register-form input.postal-code:focus {
	border-color: #4CAF50;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
	outline: none;
}

#pharmacy-register-form label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}

#pharmacy-register-form select.administrative-area {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	margin-bottom: 15px;
	background-color: var(--addit_white);
}

#pharmacy-register-form select.administrative-area:focus {
	border-color: #4CAF50;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
	outline: none;
}

#pharmacy-register-form .button--primary {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

#pharmacy-register-form .button--primary:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

#pharmacy-register-form .geolocation-map-control {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 5px 10px;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	z-index: 10;
}

#pharmacy-register-form .geolocation-geocoder-address {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 44px;
	border-radius: 6px;
	width: 250px;
	font-size: 1rem;
}

/* Address input focus effect */
#pharmacy-register-form .geolocation-geocoder-address:focus {
	border-color: #4CAF50;
	box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
	outline: none;
}

#pharmacy-register-form .geolocation-map-control button {
	padding: 6px 12px;
	font-size: 0.9rem;
	font-weight: 600;
	border: none;
	border-radius: 6px;
	background-color: #4CAF50;
	color: var(--addit_white);
	cursor: pointer;
	transition: background-color 0.3s;
}
#pharmacy-register-form .geolocation-map-control button:hover {
	background-color: #388E3C;
}


.order-page {
	background: var(--addit_white);
	width: 100%;
}

.order-page .order-card {
	width: 100%;
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
}

/* HEADER */
.order-page .order-header {
	padding: 22px 28px;
	border-bottom: 1px solid #e6e8eb;
}

.order-page .order-header h1 {
	font-size: 20px;
	font-weight: 600;
	color: #222;
}

.order-page .order-header p {
	margin-top: 6px;
	font-size: 14px;
	color: #666;
}

/* TIMELINE */
.order-page .order-timeline {
	display: flex;
	justify-content: space-between;
	padding: 25px 28px;
	border-bottom: 1px solid #e6e8eb;
}

.order-page .timeline-step {
	text-align: start;
	flex: 1;
	position: relative;
}

.order-page .timeline-step::after {
	content: "";
	position: absolute;
	top: -12px;
	right: -0%;
	width: 100%;
	height: 2px;
	background: #dcdfe3;
}

.order-page .timeline-step:last-child::after {
	display: none;
}

.order-page .timeline-step .dot {
	width: 17px;
	height: 17px;
	background: #1c64b9;
	border-radius: 50%;
	position: absolute;
	top: -20px;
	z-index: 9;
	margin: 0 auto 8px;
	left: 0;
}

.order-page .timeline-step.active .dot {
	background: #2f80ed;
}

.order-page .timeline-step small {
	color: #666;
	font-weight: 600;
}

.order-page .timeline-step.active small {
	font-weight: 600;
	color: #2f80ed;
}

.order-page .timeline-step:has(~ .active) .dot,
.order-page .timeline-step.active~.timeline-step .dot {
	background: #cfd4da;
}

.order-page .timeline-step:has(~ .active) .dot {
	background: #2f80ed;
}

.order-page .timeline-step:has(~ .active)::after {
	background: #2f80ed;
}

@media (max-width: 768px) {
	.order-page .order-timeline {
		flex-direction: column;
	}

	.order-page .timeline-step::after,
	.order-page .timeline-step::before {
		display: none;
	}
}

.order-page .section {
	padding: 24px 28px;
	border-bottom: 1px solid #e6e8eb;
}

.order-page .section h3 {
	font-size: 16px;
	margin-bottom: 16px;
	color: #222;
	font-weight: 600;
}

/* INFO GRID */
.order-page .info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px 25px;
}

.order-page .info-grid div {
	font-size: 14px;
	color: #444;
}

.order-page .info-grid strong {
	color: #222;
	font-weight: 600;
}

/* PRODUCT TABLE */
.order-page .product-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.order-page .product-table thead {
	background: #f5f7fa;
}

.order-page .product-table th {
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	padding: 12px;
	color: #555;
	border-bottom: 1px solid #e2e6ea;
}

.order-page .product-table td {
	padding: 14px 12px;
	font-size: 14px;
	border-bottom: 1px solid #edf0f3;
}

.order-page .product-table tr:last-child td {
	border-bottom: none;
}

.order-page .action-bar {
	padding: 20px 28px;
	background: #fafbfc;
	display: flex;
	justify-content: flex-start;
}

.order-page .btn.primary {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

.order-page .btn.primary:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

.order-page .section:last-child {
	border-bottom: none;
}
@media (max-width: 768px) {
	.order-page .order-timeline {
		flex-direction: column;
		gap: 16px;
	}

	.order-page .timeline-step::after {
		display: none;
	}
}

#order-update-form .order-info-card {
	background: var(--addit_white) !important;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	padding: 24px 32px;
	margin-bottom: 28px;
	display: flex;
	flex-wrap: wrap;
	border: 1px solid #eee;
	gap: 28px;
}
#order-update-form .order-info-card .form-item {
	min-width: 180px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
#order-update-form label {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
#order-update-form .order-info-card span {
	font-size: 15px;
	font-weight: 500;
	color: #111827;
}

#order-update-form #edit-order-id-html span {
	color: #000;
	font-weight: 600;
}
#order-update-form .address-box {
	background: #f8fafc;
	border: 1px solid var(--primary_border);
	border-radius: 10px;
	padding: 14px 16px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 8px 16px;
}

#order-update-form .address-box div {
	font-size: 13px;
	color: #374151;
}

#order-update-form .address-box strong {
	color: #111827;
	font-weight: 600;
}

#order-update-form .js-form-item:not(.order-info-card .js-form-item) {
	background: var(--addit_white);
	padding: 20px 24px;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
	border: 1px solid #eee;
}

/* INPUTS */
#order-update-form input.form-text,
#order-update-form select.form-select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	font-size: 14px;
	margin-top: 6px;
	transition: all 0.25s ease;
}

#order-update-form input.form-text:focus,
#order-update-form select.form-select:focus {
	border-color: var(--primary_color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#order-update-form .select2-container {
	width: 100% !important;
}

#order-update-form .select2-selection {
	height: 42px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	display: flex;
	align-items: center;
	padding: 0 10px;
}


#order-update-form #delivery-partner-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 28px;
}


#order-update-form .form-actions {
	display: flex;
}

#order-update-form .form-submit {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	padding: 5px 20px;
	width: auto;
	cursor: pointer;
	transition: all 0.3s ease;
}

#order-update-form .form-submit:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}


@media (max-width: 768px) {
	#order-update-form .order-info-card {
		padding: 20px;
	}

	#order-update-form .order-info-card .form-item {
		min-width: 100%;
	}

	#order-update-form #delivery-partner-fields {
		grid-template-columns: 1fr;
	}
}

.view-appointment-calendar .view-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.view-appointment-calendar .view-header h3 {
	font-size: 20px;
	font-weight: 600;
	color: #1f2937;
}

.view-appointment-calendar table.full {
	width: 100%;
	border-collapse: collapse;
	background: var(--addit_white);
	border-radius: 10px;
	overflow: hidden;
}

.view-appointment-calendar th.days {
	padding: 12px;
	background: #f1f5f9;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	border-bottom: 1px solid var(--primary_border);
}

.view-appointment-calendar td.date-box,
.view-appointment-calendar td.single-day {
	border: 1px solid var(--primary_border);
	height: 110px;
	vertical-align: top;
	padding: 6px;
	background: var(--addit_white);
}

.view-appointment-calendar td.past {
	background: #f9fafb;
	color: #9ca3af;
}

/* .view-appointment-calendar td.no-entry .month.day { */
/* opacity: 0.5; */
/* } */

.view-appointment-calendar .month.day {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.view-appointment-calendar .month.day a {
	color: #000 !important;
	text-decoration: none;
}

.view-appointment-calendar .month.day a:hover {
	text-decoration: underline;
}

.view-appointment-calendar .item {
	background: #eef2ff;
	/* border-left: 4px solid #6366f1; */
	padding: 6px 8px;
	border-radius: 6px;
	margin-bottom: 6px;
	font-size: 12px;
}

.view-appointment-calendar .contents {
	font-size: 12px;
	color: #1f2937;
	line-height: 1.4;
}

.view-appointment-calendar .calendar-pager a {
	color: var(--primary_color);
	padding: 6px;
	border-radius: 6px;
}

.view-appointment-calendar .calendar-pager a:hover {
	background: #e0e7ff;
}
/* 
#block-livelong-primary-local-tasks {
	margin-bottom: 24px;
}

#block-livelong-primary-local-tasks ul.tabs.primary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: none;
	width: fit-content;
	padding: 5px 10px;
	border-radius: 7px;
	background: #f4f4f4;
}

#block-livelong-primary-local-tasks ul.tabs.primary li {
	margin: 0;
}

#block-livelong-primary-local-tasks ul.tabs.primary li a {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
	color: #000;
	background: #f1f5f9;
	text-decoration: none;
	transition: all 0.25s ease;
}

#block-livelong-primary-local-tasks ul.tabs.primary li a:hover {
	background: #e0e7ff;
	color: #1d4ed8;
} */

/* #block-livelong-primary-local-tasks ul.tabs.primary li.is-active a {
	background: #000;
	color: var(--addit_white);
	font-weight: 600;
	box-shadow: 0 4px 10px rgb(98 98 98 / 35%);
}

#block-livelong-primary-local-tasks ul.tabs.primary li a {
	background: var(--addit_white);
	transition: all 0.2s ease;

}

#block-livelong-primary-local-tasks ul.tabs.primary li:hover a {
	background: #000;
	color: var(--addit_white);
	font-weight: 600;
	box-shadow: 0 4px 10px rgb(98 98 98 / 35%);
}

#block-livelong-primary-local-tasks ul.tabs.primary::before,
#block-livelong-primary-local-tasks ul.tabs.primary::after {
	display: none;
}

@media (max-width: 768px) {
	#block-livelong-primary-local-tasks ul.tabs.primary {
		gap: 6px;
	}

	#block-livelong-primary-local-tasks ul.tabs.primary li a {
		padding: 6px 10px;
		font-size: 13px;
	}
} */

/* =====================================
MODERATION DASHBOARD â€“ GLOBAL WRAPPER
===================================== */
.moderation-dashboard {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

/* =====================================
DASHBOARD BLOCK CARD
===================================== */
.moderation-dashboard .moderation-dashboard-block {
	background: var(--addit_white);
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	padding: 18px 20px;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.moderation-dashboard .moderation-dashboard-block:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

/* =====================================
BLOCK HEADINGS
===================================== */
.moderation-dashboard .moderation-dashboard-block>h2 {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 14px;
	color: #1f2937;
	border-bottom: 1px solid var(--primary_border);
	padding-bottom: 8px;
}

/* =====================================
VIEWS CONTENT CARD
===================================== */
.moderation-dashboard .view-content-moderation-dashboard-in-review {
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	border: 1px solid var(--primary_border);
}

/* Empty state */
.moderation-dashboard .view-empty {
	text-align: center;
	font-size: 14px;
	color: #6b7280;
	padding: 28px 12px;
}

/* =====================================
PAGINATION
===================================== */
.moderation-dashboard .pager {
	margin-top: 16px;
	display: flex;
	justify-content: center;
}

.moderation-dashboard .pager__items {
	display: flex;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.moderation-dashboard .pager__item {
	font-size: 13px;
	color: #374151;
}

.moderation-dashboard .pager__item a {
	padding: 6px 10px;
	border-radius: 6px;
	background: var(--primary_border);
	text-decoration: none;
	transition: all 0.2s ease;
}

.moderation-dashboard .pager__item a:hover {
	background: var(--primary_color);
	color: var(--addit_white);
}

.moderation-dashboard .pager__item.is-active {
	font-weight: 600;
	color: var(--primary_color);
}

/* =====================================
CONTEXTUAL ICON SAFE POSITION
===================================== */
.moderation-dashboard .contextual {
	top: 10px;
	right: 10px;
}

/* =====================================
ACTIVITY BLOCK
===================================== */
.moderation-dashboard .block-moderation-dashboard-activity {
	grid-column: 1 / -1;
	min-height: 160px;
}

/* =====================================
RESPONSIVE
===================================== */
@media (max-width: 768px) {
	.moderation-dashboard {
		grid-template-columns: 1fr;
	}
}

/* =========================
Medication Form Styling
========================= */

.node-medication-form {
	/* max-width: 900px; */
	/* margin: 40px auto; */
	padding: 30px;
	background: var(--addit_white);
	border-radius: 12px;
	display: flex;
	border: 1px solid #eee;
	justify-content: space-between;
	flex-wrap: wrap;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
	/* font-family: "Inter", "Segoe UI", sans-serif; */
}

/* Form field wrapper */
.node-medication-form * {
	margin: 0px;
}

.node-medication-form .js-form-wrapper {
	width: 49%;
}

.node-medication-form #edit-field-pack-size-label-wrapper,
.node-medication-form #edit-field-is-discontinued-wrapper {
	width: 100%;
} .password-strength, .password-confirm-match{
	display: none;
}
.node-medication-form .form-item {
	margin-top: 0px;
	margin-bottom: 15px;
}

/* Labels */
/* .node-medication-form label {
	display: block;
	margin-bottom: 0px;
	font-size: 14px;
	font-weight: 600;
	color: #2c3e50;
} */

/* Required star */
/* .node-medication-form label.form-required::after { */
/* content: " *"; */
/* color: #e74c3c; */
/* font-weight: 700; */
/* } */

/* Text inputs, select, autocomplete */
.node-medication-form input[type="text"],
.node-medication-form select,
.node-medication-form .select2-container--default .select2-selection--single {
	width: 100%;
	height: 44px;
	padding: 10px 14px;
	font-size: 14px;
	border: 1px solid var(--primary_border);
	border-radius: 8px;
	background-color: var(--addit_white);
	transition: border-color 0.3s, box-shadow 0.3s;
}

/* Select2 height fix */
.node-medication-form .select2-selection--single {
	display: flex;
	align-items: center;
}

/* Checkbox styling */
.node-medication-form .form-type-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
}

.node-medication-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #3498db;
}

/* Submit button */
.node-medication-form .form-actions {
	text-align: right;
	width: auto;
}

@media (max-width: 768px) {
	.node-medication-form {
		padding: 20px;
	}

	.node-medication-form .form-actions {
		text-align: center;
	}
}



#prescription-view .label {
	/* font-size: 13px; */
	color: #000;
	font-weight: 600;
}

#prescription-view .value {
	font-size: 15px;
	font-weight: 500;
	color: #737373;
}

#prescription-view .prescription__actions a.bg-primary:hover,
#prescription-view .prescription__actions a.bg-destructive:hover {
	color: var(--addit_white);
	/* fill:var(--addit_white); */
}

#prescription-view .patient-card__profile {
	text-transform: capitalize;
}

#prescription-view .section-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #000;
}

/* ================= CARD ================= */
#prescription-view .prescription-card,
#prescription-view .patient-card,
#prescription-view .prescription__actions {
	background: var(--addit_white);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ================= HEADER ================= */
#prescription-view .prescription-card__header {
	border-bottom: 1px solid var(--primary_border);
}

#prescription-view .prescription-status {
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
}

/* Status Colors */
#prescription-view .status-active {
	background: #dcfce7;
	color: #166534;
}

#prescription-view .status-expired {
	background: #fee2e2;
	color: #991b1b;
}

#prescription-view .status-pending {
	background: #fef3c7;
	color: #92400e;
}

/* ================= META INFO ================= */

#prescription-view .prescription-meta__item {
	background: #f9fafb;
	padding: 12px;
	border: 1px solid #eee;
	border-radius: 8px;
	transition: all 0.2s ease;
}

#prescription-view .prescription-meta__item:hover {
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* ================= MEDICATIONS ================= */
#prescription-view .medication-card {
	background: #f8fafc;
	transition: all 0.2s ease;
}

/* #prescription-view .medication-card:hover { */
/* box-shadow: 0 6px 14px rgba(0,0,0,0.08); */
/* transform: translateY(-2px); */
/* } */

#prescription-view .medication-card__item {
	padding: 8px 0;
}

/* ================= NOTES ================= */
#prescription-view .prescription-notes p {
	background: #f9fafb;
	padding: 15px;
	border-radius: 8px;
}

/* ================= VIDEO / AUDIO ================= */
#prescription-view .video-player,
#prescription-view audio {
	width: 100%;
	border-radius: 10px;
	margin-top: 8px;
}

/* ================= PATIENT ================= */
#prescription-view .patient-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--primary_border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	color: #646464;
}

#prescription-view .patient-age {
	background: #f3f4f6;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
}

/* ================= ACTION BUTTONS ================= */
#prescription-view .action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid var(--primary_border);
	background: var(--addit_white);
	color: #111827;
}

#prescription-view .action-btn:hover {
	background: #f3f4f6;
}

/* Primary */
#prescription-view .action-btn--primary {
	background: var(--primary_color);
	color: var(--addit_white);
	border-color: transparent;
}

#prescription-view .action-btn--primary:hover {
	background: #1d4ed8;
}

/* Danger */
#prescription-view .action-btn--danger {
	background: var(--red_color);
	color: var(--addit_white);
	border-color: transparent;
}

#prescription-view .action-btn--danger:hover {
	background: #b91c1c;
}

/* ===============================
APPOINTMENT CALENDAR â€“ PRO UI
Parent Scoped CSS
================================ */

.view-appointment-calendar {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	background: #f8fafc;
}

/* Card Wrapper */
.view-appointment-calendar .bg-card {
	background: var(--addit_white);
	border-radius: 14px;
	border: 1px solid var(--primary_border);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

/* ================= HEADER ================= */
.view-appointment-calendar .view-header {
	padding: 0px 20px;
	border-bottom: 1px solid var(--primary_border);
	/* background: linear-gradient(to right, #eff6ff, var(--addit_white)); */
}

.view-appointment-calendar .view-header h3 {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

/* ================= PAGER ================= */
.view-appointment-calendar .calendar-pager {
	display: flex;
	justify-content: center;
	padding: 12px 0;
}

.view-appointment-calendar .calendar-pager__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 10px;
	padding: 8px;
	transition: all 0.25s ease;
}

.view-appointment-calendar .calendar-pager__item a:hover {
	background: var(--primary_color);
	color: var(--addit_white);
	border-color: var(--primary_color);
}

/* ================= CALENDAR LAYOUT ================= */
.view-appointment-calendar .calendar-calendar {
	padding: 12px;
}

.view-appointment-calendar .calendar-calendar .day-view #single-day-container {
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: none;
}

.view-appointment-calendar #single-day-container table.full {
	width: 100%;
	border-collapse: collapse;
}

.view-appointment-calendar #single-day-container .view-item {
	position: static;
}

/* Time Column */
.view-appointment-calendar #single-day-container td.first {
	width: 120px;
	/* background: #f1f5f9; */
	border: none;
	position: sticky;
	border-left: 0px solid;
	left: 0;
	z-index: 5;
}

.view-appointment-calendar #single-day-container .calendar-calendar td .inner div.calendar div {
	padding: 0px 10px;
}

.view-appointment-calendar #single-day-container .calendar {
	position: inherit;
}

.view-appointment-calendar #single-day-container .calendar .inner {
	position: inherit;
	display: flex;
	justify-content: space-around;
}

.view-appointment-calendar #single-day-container .calendar-calendar .day-view .full div.calendar-agenda-hour span {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.view-appointment-calendar #single-day-container .calendar-agenda-hour .calendar-hour {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.view-appointment-calendar #single-day-container .calendar-agenda-hour {
	height: 100px;
	background-color: #f1f5f9;
	margin-bottom: 10px;
	padding: 6px 10px;
	border-radius: 10px 0px 0px 10px;
	border: 1px solid var(--primary_border);
	display: flex;
	border-right: 0px;
	align-items: center;
	/* color: #475569; */
}

.view-appointment-calendar #single-day-container .time-box {
	width: 5rem;
	padding: 0.25rem;
	background-color: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	/* border-right: 1px solid var(--primary_border); */
}

.view-appointment-calendar #single-day-container .time-box span {
	font-size: 0.75rem;
	font-weight: 500;
}

@media (min-width: 768px) {
	.view-appointment-calendar #single-day-container .time-box {
		padding: 0.5rem;
	}

	.view-appointment-calendar #single-day-container .time-box span {
		font-size: 0.875rem;
	}
}

/* ================= EVENTS COLUMN ================= */
.view-appointment-calendar #single-day-container td.last {
	background: var(--addit_white);
}

/* Each half-hour row */
.view-appointment-calendar #single-day-container .calendar-agenda-items .half-hour {
	border: none;
}

.view-appointment-calendar #single-day-container .calendar-agenda-items {
	height: 100px;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	border: 1px solid var(--primary_border);
	border-left: 0px solid var(--primary_border);
	border-radius: 0px 10px 10px 0px;
	position: relative;
}

/* ================= EVENT CARD ================= */
.view-appointment-calendar #single-day-container td .inner div {
	background: transparent;
}

.view-appointment-calendar #single-day-container .calendar.dayview>div {
	margin: 0px;
}

.view-appointment-calendar #single-day-container .inner div:nth-child(1) .view-item .calendar.dayview {
	background-color: rgb(235 242 254);
	border: 1px solid #e5e5e5;
}

.view-appointment-calendar #single-day-container .inner div:nth-child(2) .view-item .calendar.dayview {
	background-color: rgb(254 245 230);
	border: 1px solid #e5e5e5;
}

.view-appointment-calendar #single-day-container .inner div:nth-child(3) .view-item .calendar.dayview {
	background-color: rgb(232 249 239);
	border: 1px solid #e5e5e5;
}

.view-appointment-calendar #single-day-container .inner div:nth-child(4) .view-item .calendar.dayview {
	background-color: rgb(246 238 254);
	border: 1px solid #e5e5e5;
}

.view-appointment-calendar #single-day-container .calendar.dayview {
	border-radius: 12px;
	background: transparent;
	padding: 0px;
	/* color: var(--addit_white); */
	/* box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25); */
	transition: all 0.25s ease;
}

.view-appointment-calendar #single-day-container .calendar.dayview:hover {
	transform: translateY(-1px) scale(1);
	box-shadow: 0 10px 22px rgb(187 187 187 / 35%);
}

/* Inner content card */
.view-appointment-calendar #single-day-container .views-view-field>div {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #0f172a;
	border-radius: 10px;
	border: none;
}

/* Avatar */
.view-appointment-calendar #single-day-container .round-image-profile {
	width: 28px;
	height: 28px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
	background: var(--addit_white);
	color: #000;
}

/* Name */
.view-appointment-calendar #single-day-container .font-medium {
	margin-left: 8px;
	font-size: 13px;
	text-transform: capitalize;
}

/* Status badge */
.view-appointment-calendar #single-day-container .text-xs.font-semibold {
	background: var(--addit_white);
	color: var(--primary_color);
	border: none;
	padding: 0px 10px;
	border-radius: 999px;
}

/* Time + Title */
.view-appointment-calendar #single-day-container .text-muted-foreground {
	font-size: 12px;
	color: #475569;
}

/* ================= FOOTER RESIZER ================= */
.view-appointment-calendar .single-day-footer {
	background: #f1f5f9;
	border-top: 1px solid var(--primary_border);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
	.view-appointment-calendar td.first {
		width: 90px;
	}

	.view-appointment-calendar #single-day-container .calendar-agenda-hour {
		font-size: 11px;
	}
}

.view-appointment-calendar.view-display-id-page_month .bg-card {
	border-radius: 16px;
	border: 1px solid var(--primary_border);
	background: var(--addit_white);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

/* ================= HEADER ================= */
.view-appointment-calendar.view-display-id-page_month .view-header {
	padding: 0px 22px;
	border-bottom: 1px solid var(--primary_border);
	/* background: linear-gradient(to right, #eff6ff, var(--addit_white)); */
}

.view-appointment-calendar.view-display-id-page_month h3 {
	font-size: 20px;
	font-weight: 600;
	color: #0f172a;
}
.view-appointment-calendar.view-display-id-page_month .calendar-pager__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 10px;
	border: 1px solid var(--primary_border);
	background: var(--addit_white);
	transition: all 0.25s ease;
}

.view-appointment-calendar.view-display-id-page_month .calendar-pager__item a:hover {
	background: var(--primary_color);
	color: var(--addit_white);
	/* border-color: var(--primary_color); */
}

/* ================= TABLE ================= */
.view-appointment-calendar.view-display-id-page_month table.full {
	width: 100%;
	/* border-collapse: separate; */
	/* border-spacing: 8px; */
	padding: 12px;
}

/* Day headers */
.view-appointment-calendar.view-display-id-page_month th.days {
	background: transparent;
	padding: 0px 0;
	font-size: 14px;
	padding-bottom: 10px;
	font-weight: 600;
	/* text-transform: uppercase; */
	/* color: #475569; */
	border: none;
}

.view-appointment-calendar.view-display-id-page_month td .inner .item .calendar.monthview .contents {
	text-transform: capitalize;
}

.view-appointment-calendar.view-display-id-page_month td .inner .item .calendar.monthview {
	padding: 6px;
	margin-bottom: 6px;
	border-radius: 6px;
	border: 1px solid transparent;
}

.view-display-id-page_week .calendar-calendar .week-view .full td.single-day div.weekview,
.view-display-id-page_week .week-view .inner div {
	background: transparent;
}

.view-display-id-page_week .week-view .inner .item .day-background {
	padding: 8px;
	border-radius: 6px;
	border: 1px solid transparent;
	margin-bottom: 6px;
}
.view-display-id-page_week .week-view .inner .item:nth-child(1) .day-background,
.view-appointment-calendar.view-display-id-page_month td .inner .item:nth-child(1) .calendar.monthview {
	background-color: #e3f2fd !important;
	border-color: #1e88e5 !important;
}

.view-appointment-calendar.view-display-id-page_month td .inner .item:nth-child(2) .calendar.monthview ,
.view-display-id-page_week .week-view .inner .item:nth-child(2) .day-background {
	background-color: #e8f5e9 !important;
	border-color: #43a047 !important;
}
.view-appointment-calendar.view-display-id-page_month td .inner .item:nth-child(3) .calendar.monthview,
.view-display-id-page_week .week-view .inner .item:nth-child(3) .day-background {
	background-color: #fff3e0 !important;
	border-color: #fb8c00 !important;
}
.view-appointment-calendar.view-display-id-page_month td .inner .item:nth-child(4) .calendar.monthview,
.view-display-id-page_week .week-view .inner .item:nth-child(4) .day-background {
	background-color: #fce4ec !important;
	border-color: #d81b60 !important;
}

.view-display-id-page_week .calendar-calendar .week-view .full tr {
	background: #f1f5f9;
}

.view-appointment-calendar.view-display-id-page_month td .inner .item:nth-child(-n+4) .calendar.monthview {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.view-display-id-page_week .calendar-calendar .week-view .full th.calendar-agenda-hour,
.view-display-id-page_week .calendar-calendar .week-view .full th tr {
	height: 100%;
	background: #f1f5f9;
	border: 0px;
	color: #000;
}

.view-display-id-page_week .calendar-calendar .week-view .full .all-day {
	display: none;
}

.view-display-id-page_week .calendar-calendar .week-view .full .calendar-agenda-hour {
	width: 100%;
	padding: 10px;
}

.view-display-id-page_week .week-view .inner .item:nth-child(-n+4) .day-background {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dashboard-section-tabs .rounded-lg {
	border-radius: 14px;
}

.dashboard-section-tabs .bg-card {
	background-color: var(--addit_white);
}

.dashboard-section-tabs .text-muted-foreground {
	color: #6b7280;
	font-size: 14px;
}

.dashboard-section-tabs .p-3 {
	padding: 16px;
}

.dashboard-section-tabs .p-4 {
	padding: 20px;
}

.dashboard-section-tabs .xxl\:p-6 {
	padding: 28px;
}

.dashboard-section-tabs .empty {
	text-align: center;
	padding: 15px;
	font-size: 15px;
	color: #9ca3af;
	background-color: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
}

.dashboard-section-tabs .space-y-4>div {
	border-radius: 12px;
}

.dashboard-section-tabs .space-y-4>div.border {
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.dashboard-section-tabs .space-y-4>div.border:hover {
	background-color: #f8fafc;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

.dashboard-section-tabs .profile {
	background-color: var(--primary_border);
	color: #374151;
	font-weight: 600;
}

.dashboard-section-tabs a {
	text-decoration: none;
}

.dashboard-section-tabs a:hover {
	background-color: #f1f5f9;
}

@media (max-width: 1024px) {
	.dashboard-section-tabs {
		grid-template-columns: 1fr;
	}
}

.twilio-user-settings-form {
	max-width: 420px;
	margin: 40px auto;
	padding: 24px;
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	font-family: inherit;
}

.twilio-user-settings-form .form-item {
	margin-bottom: 18px;
}

.twilio-user-settings-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

.twilio-user-settings-form .form-text,
.twilio-user-settings-form .form-select {
	width: 100%;
	height: 42px;
	padding: 8px 12px;
	font-size: 14px;
	color: #333;
	background-color: var(--addit_white);
	border: 1px solid #d1d5db;
	border-radius: 10px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.twilio-user-settings-form .form-text:focus,
.twilio-user-settings-form .form-select:focus {
	border-color: #000000;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
	outline: none;
}

.twilio-user-settings-form .description {
	margin-top: 6px;
	font-size: 12px;
	color: #6b7280;
}

.twilio-user-settings-form .select2-container {
	width: 100% !important;
}

.twilio-user-settings-form .select2-selection {
	height: 42px;
	border-radius: 10px;
	border: 1px solid #d1d5db;
}

.twilio-user-settings-form .select2-selection__rendered {
	line-height: 40px;
	font-size: 14px;
}

.twilio-user-settings-form .select2-selection__arrow {
	height: 40px;
}

.twilio-user-settings-form .button,
.twilio-user-settings-form .form-submit {
	margin: 0px;
	width: 100%;
	height: 42px;
	background: #000000;
	color: var(--addit_white);
	border: 1px solid #000000;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.twilio-user-settings-form .button:hover,
.twilio-user-settings-form .form-submit:hover {
	background: var(--addit_white);
	color: #000000;
}

.twilio-user-settings-form .button:disabled,
.twilio-user-settings-form .form-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.twilio-user-settings-form {
		margin: 20px;
		padding: 20px;
	}
}

#prescription-view .rounded-lg {
	border-radius: 14px;
}

#prescription-view .bg-card {
	background: var(--addit_white);
}

#prescription-view .border {
	border: 1px solid var(--primary_border);
}

#prescription-view .shadow-sm {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

#prescription-view h2,
#prescription-view h3 {
	color: #0f172a;
}

#prescription-view .text-muted-foreground {
	font-size: 14px;
}

/* Header */
#prescription-view .prescription-card__header {
	border-bottom: 1px solid var(--primary_border);
}

#prescription-view .prescription-status {
	font-size: 12px;
	font-weight: 600;
}

#prescription-view .status-completed {
	background: #16a34a;
	color: var(--addit_white);
}

/* Meta Info */
#prescription-view .prescription-meta__item {
	padding: 10px 14px;
	background: #f9fafb;
	border-radius: 10px;
}

#prescription-view .prescription-meta__item .label {
	font-size: 13px;
}

#prescription-view .prescription-meta__item .value {
	font-size: 14px;
}

/* Divider */
#prescription-view .bg-border {
	background: var(--primary_border);
}

/* Medication Card */
#prescription-view .medication-card {
	transition: all 0.3s ease;
}

#prescription-view .medication-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

#prescription-view .medication-card__item {
	padding: 10px;
	background: #f8fafc;
	border-radius: 10px;
}

/* Empty State */
#prescription-view .empty {
	padding: 15px;
	text-align: center;
	font-size: 14px;
	color: #9ca3af;
	background: #f9fafb;
	border-radius: 10px;
}

/* Patient Card */
#prescription-view .patient-avatar {
	background: var(--primary_border);
	color: #374151;
}

#prescription-view .patient-card h3 {
	margin-bottom: 2px;
}

/* Actions */
#prescription-view .prescription__actions a {
	height: 42px;
	font-size: 14px;
	border-radius: 10px;
}

#prescription-view .prescription__actions a svg {
	width: 16px;
	height: 16px;
}

/* Buttons polish */
#prescription-view .bg-primary {
	background: #000000;
	color: var(--addit_white);
}

#prescription-view .bg-primary:hover {
	background: #111827;
}

#prescription-view .bg-destructive {
	background: var(--red_color);
}

#prescription-view .bg-destructive:hover {
	background: #b91c1c;
}

/* Responsive */
@media (max-width: 1024px) {
	#prescription-view {
		padding: 0 16px;
	}
}

#views-exposed-form-pharmacy-orders-page-1 .form-text,
#views-exposed-form-pharmacy-orders-page-1 .form-select,
#views-exposed-form-pharmacy-orders-page-1 .form-date {
	width: 100%;
	height: 42px;
	padding: 8px 12px;
	font-size: 14px;
	color: #111827;
	background: var(--addit_white);
	border: 1px solid #d1d5db;
	border-radius: 10px;
	transition: all 0.2s ease;
}

#views-exposed-form-pharmacy-orders-page-1 .form-text:focus,
#views-exposed-form-pharmacy-orders-page-1 .form-select:focus,
#views-exposed-form-pharmacy-orders-page-1 .form-date:focus {
	border-color: #000000;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
	outline: none;
}

/* Select2 */
/* #views-exposed-form-pharmacy-orders-page-1 .select2-container { */
/* width: 100% !important; */
/* } */

#views-exposed-form-pharmacy-orders-page-1 .select2-selection {
	height: 42px;
	border-radius: 10px;
	border: 1px solid #d1d5db;
}

#views-exposed-form-pharmacy-orders-page-1 .select2-selection__rendered {
	line-height: 40px;
	font-size: 14px;
}

#views-exposed-form-pharmacy-orders-page-1 .form--inline .form-item {
	width: 32%;
}

#views-exposed-form-pharmacy-orders-page-1 .form--inline .form-item.js-form-item-combine,
#views-exposed-form-pharmacy-orders-page-1 .form--inline .form-item.js-form-item-field-status-order-target-id {
	width: 49%;
	margin-top: 10px;
}

#views-exposed-form-pharmacy-orders-page-1 .select2-selection__arrow {
	height: 40px;
}

/* Fieldset (Date Filter) */
#views-exposed-form-pharmacy-orders-page-1 .form--inline fieldset .form-item {
	width: 100%;
}

#views-exposed-form-pharmacy-orders-page-1 .form--inline fieldset {
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	padding: 14px;
	width: 34% !important;
	margin-top: 10px;
}

#views-exposed-form-pharmacy-orders-page-1 fieldset legend {
	padding: 0 8px;
}

/* Actions */
#views-exposed-form-pharmacy-orders-page-1 .form-actions {
	display: flex;
	align-items: flex-end;
}

/* Apply Button */
/* #views-exposed-form-pharmacy-orders-page-1 .form-submit { */
/* height: 42px; */
/* padding: 0 22px; */
/* background: #000000; */
/* color: var(--addit_white); */
/* border: 1px solid #000000; */
/* border-radius: 10px; */
/* font-size: 14px; */
/* font-weight: 500; */
/* cursor: pointer; */
/* transition: all 0.3s ease; */
/* } */

/* #views-exposed-form-pharmacy-orders-page-1 .form-submit:hover { */
/* background: var(--addit_white); */
/* color: #000000; */
/* } */

/* Mobile */
@media (max-width: 640px) {
	#views-exposed-form-pharmacy-orders-page-1 {
		padding: 16px;
	}

	#views-exposed-form-pharmacy-orders-page-1 .form-actions {
		justify-content: stretch;
	}

	#views-exposed-form-pharmacy-orders-page-1 .form-submit {
		width: 100%;
	}
}

/* .view-lab-report-view { */
/* max-width: 1100px; */
/* margin: 0 auto; */
/* } */

.view-lab-report-view .rounded-lg {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Page wrapper */
.view-lab-report-view .lab-report-page {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Page title */
.view-lab-report-view .lab-report-page .page-title {
	font-size: 26px;
	font-weight: 600;
	/* color: #111827; */
	margin-bottom: 8px;
}

/* Card common */
.view-lab-report-view .lab-report-page .card {
	background: #f9fafb;
	border: 1px solid var(--primary_border);
	border-radius: 8px;
	padding: 20px;
}

/* Meta info */
.view-lab-report-view .lab-report-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.view-lab-report-view .lab-report-meta div:last-child {
	display: flex;
	justify-content: flex-end;
}

.view-lab-report-view .lab-report-meta div {
	font-size: 14px;
	color: #374151;
}

.view-lab-report-view .lab-report-meta strong {
	color: #000;
	font-weight: 600;
	margin-right: 7px;
}

/* Status badge */
.view-lab-report-view .lab-report-meta .status {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	text-align: right;
}

/* PDF Section */
.view-lab-report-view .lab-report-pdf h3 {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 12px;
}

/* PDF embed */
.view-lab-report-view .lab-report-pdf embed {
	width: 100%;
	height: 520px;
	border-radius: 5px;
	border: 1px solid #d1d5db;
	background: var(--addit_white);
}

/* Mobile responsive */
@media (max-width: 640px) {
	.lab-report-page .page-title {
		font-size: 22px;
	}

	.view-lab-report-view .lab-report-pdf embed {
		height: 420px;
	}
}

.pharmacy-register-form .form-actions {
	padding: 0px 24px;
	/* border-top: 1px solid var(--primary_border); */
}

.pharmacy-register-form .form-submit {
	background: var(--primary_color);
	color: var(--addit_white);
	font-size: 14px;
	font-weight: 500;
	padding: 10px 22px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
}

.pharmacy-register-form .form-submit:hover {
	background: var(--primary_color);
}

/* Full page center */
.user-logout-confirm {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 520px;
	margin: auto;
	padding: 80px 60px 60px;
	background: var(--addit_white);
	border-radius: 15px;
	position: relative;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
	text-align: center;
}

.user-logout-confirm .form-actions::before {
	content: "Are you sure,\A you want to logout?";
	white-space: pre-line;
	display: block;
	font-size: 26px;
	font-weight: 600;
	color: var(--primary_color);
	margin-bottom: 40px;
	line-height: 1.4;
}


.user-logout-confirm .form-submit {
	padding: 14px 42px;
	border-radius: 999px;
	background: var(--primary_color);
	width: auto;
	color: var(--addit_white);
	border: none;
	font-weight: 600;
	/* box-shadow: 0 10px 22px rgba(127, 177, 189, 0.35); */
}

.user-logout-confirm .form-submit:hover {
	background: var(--primary_color);
	border: none;
	color: #fff;
}

/* Cancel button */
.user-logout-confirm .dialog-cancel {
	padding: 14px 42px;
	border-radius: 999px;
	background: var(--addit_white);
	color: var(--primary_color);
	font-weight: 600;
	/* border: none; */
	text-decoration: none;
}

/* Hide unwanted form spacing */
.user-logout-confirm input[type="hidden"] {
	display: none;
}

.patient-dashboard .upcoming-appointment .patient-appointment__badge .badge {
	background: #ebebeb66;
	color: #0284c7;
	font-weight: 500;
}

.prescription-assign-patient-form {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 28px;
	color: gray;
	margin: auto;
	margin-top: 40px;
	margin-bottom: 40px;
	max-width: 520px;
	position: relative;
	box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
	transition: all 0.25s ease;
}

.prescription-assign-patient-form:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Title */
.prescription-assign-patient-form::before {
	content: "Verify Patient Details";
	display: block;
	font-size: 20px;
	font-weight: 600;
	color: #000;
	margin-bottom: 6px;
}

/* Subtitle / Description */
.prescription-assign-patient-form::after {
	content: "Enter the patients email address or phone number to locate the patient. An OTP will be sent for verification.";
	display: block;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.5;
}


.prescription-assign-patient-form label {
	font-size: 13px;
	margin-bottom: 2px;
	color: #333;
	font-weight: 600;
}

.prescription-assign-patient-form .js-form-item-patient-email  {
	margin-top: 0px;
	margin-bottom: 0px;
}

.prescription-assign-patient-form input[type="email"],
.prescription-assign-patient-form input[type="text"] {
	width: 100%;
	height: 44px;
	padding: 10px 14px;
	font-size: 14px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	transition: all 0.2s ease;
}

.prescription-assign-patient-form input:focus {
	outline: none;
	border-color: var(--primary_color);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* OR separator */
.prescription-assign-patient-form .form-wrapper>div:nth-child(2) {
	text-align: center;
	font-size: 13px;
	color: #9ca3af;
	font-weight: 500;
}

/* Small help text */
.prescription-assign-patient-form .description {
	font-size: 12px;
	color: #6b7280;
}

/* Submit button */
.prescription-assign-patient-form .form-actions {
	margin-top: 22px;
}

.prescription-assign-patient-form #edit-actions .form-submit {
	width: 100%;
}
#user-patients-section table tbody tr td {
	position: relative;
}

.region-content table tbody tr td .operation-hidden {
	position: absolute;
	right: 0px;
	text-align: left;
}

.region-content table tbody tr td .operation-hidden {
	z-index: 9999;
}

.region-content table tbody tr td .operation-hidden [role="menu"] {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 10px;
	min-width: 160px;
	padding: 6px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

#user-patients-section table tbody tr td .operation-hidden .font-semibold {
	font-size: 13px;
	color: #333;
	display: none;
	padding-bottom: 6px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 4px;
}

#user-patients-section table tbody tr td .operation-hidden [role="menuitem"] {
	border-radius: 8px;
	cursor: pointer;
}

#user-patients-section table tbody tr td .operation-hidden [role="menuitem"] a {
	display: block;
	width: 100%;
	padding: 6px 8px;
	color: #111827;
	text-decoration: none;
	font-weight: 500;
	border-radius: 6px;
}

#user-patients-section table tbody tr td .operation-hidden [role="menuitem"]:hover,
#user-patients-section table tbody tr td .operation-hidden [role="menuitem"]:hover a {
	background-color: #f3f4f6;
	color: #333;
}

#user-patients-section table tbody tr td .operation-hidden [role="menuitem"]:focus-visible {
	outline: none;
	background-color: #e0e7ff;
}

#user-patients-section table tbody tr td .operation-hidden [data-state="open"] {
	animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ui-dialog.ui-widget {
	border-radius: 16px;
	border: none;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	background: var(--addit_white);
}

.ui-dialog-titlebar {
	background: #000 !important;
	padding: 16px 20px !important;
	border: none;
	display: flex;
	text-transform: capitalize;
	align-items: center;
}

.ui-dialog-title {
	font-size: 20px;
	font-weight: 600;
}

.ui-dialog-titlebar-close {
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	position: relative;
	cursor: pointer;
	right: 1em !important;
	background: #000 !important;
}

.ui-dialog-titlebar-close::before,
.ui-dialog-titlebar-close::after {
	content: "";
	position: absolute;
	top: 87%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: var(--addit_white);
}

.ui-dialog .ui-dialog-title {
	color: var(--addit_white);
}

.ui-dialog-titlebar-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ui-dialog-titlebar-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.ui-dialog-titlebar-close:hover {
	background: rgba(255, 255, 255, 0.15);
}

#drupal-modal {
	padding: 20px;
	background: #f8fafc;
}

#drupal-modal .rounded-lg {
	border-radius: 14px;
	border: 1px solid var(--primary_border);
	background: var(--addit_white);
	padding: 0px;
}

.ui-dialog-buttonpane {
	border-top: 1px solid var(--primary_border);
	padding: 14px 20px;
	background: var(--addit_white) !important;
}

.ui-dialog-buttonpane .button--primary {
	background: #000;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

.ui-dialog-buttonpane .button--primary:hover {
	background: var(--addit_white);
	color: #000;
	border: 1px solid #000;
}

/* Smooth animation */
.ui-dialog {
	animation: modalFade 0.2s ease-out;
}

@keyframes modalFade {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@media (max-width: 640px) {
	.menu--calendar-tabs .menu {
		width: 100%;
		justify-content: space-between;
	}

	.menu--calendar-tabs .menu-item a {
		padding: 8px 12px;
		font-size: 13px;
	}
}

.patient-manual-register-form .form-item {
	margin-bottom: 14px;
}

#prescription-admin-form .prescription-left-col .select2-container--default .select2-selection--single {
	height: 40px;
	border: 1px solid #e5e5e5;
}
.patient-info-name {
	font-size: 18px;
	font-weight: 600;
	color: #000;
	margin-bottom: 10px;
}
.patient-info-row {
	font-size: 14px;
	color: #374151;
	margin-bottom: 6px;
	line-height: 1.6;
}

.patient-info-row strong {
	font-weight: 500;
	color: #111827;
	margin-right: 4px;
}

.patient-info-link {
	margin-top: 12px;
}

@media (max-width: 640px) {
	.patient-info-card {
		padding: 14px;
	}

	.patient-info-name {
		font-size: 16px;
	}
}

.patient-manual-register-form label {
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	margin-bottom: 4px;
	display: inline-block;
}

.patient-manual-register-form input,
.patient-manual-register-form select {
	width: 100%;
	height: 44px;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	padding: 8px 12px;
	font-size: 14px;
	background: var(--addit_white);
}

.patient-manual-register-form input:focus,
.patient-manual-register-form select:focus {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 2px rgba(42, 38, 137, 0.2);
}

.patient-manual-register-form .form-checkbox {
	accent-color: #000;
}

.patient-manual-register-form .option {
	font-size: 14px;
	color: #374151;
}

.patient-manual-register-form .form-actions {
	text-align: right;
	margin-top: 20px;
}

.patient-manual-register-form .button--primary {
	background: #000;
	color: var(--addit_white);
	border: none;
	border-radius: 10px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.patient-manual-register-form .button--primary:hover {
	background: #1f1c6d;
}

@media (max-width: 768px) {
	.patient-manual-register-form {
		padding: 12px;
	}

	.patient-manual-register-form .form-actions {
		text-align: center;
	}
}

.js-form-item-field-receive-reminders {
	display: flex;
	align-items: center;
	gap: 12px;
}

.js-form-item-field-receive-reminders input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.js-form-item-field-receive-reminders label.option {
	position: relative;
	padding-left: 52px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
}

.js-form-item-field-receive-reminders label.option::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 22px;
	background: #d1d5db;
	border-radius: 999px;
	transition: background 0.25s ease;
}

.js-form-item-field-receive-reminders label.option::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: var(--addit_white);
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s ease;
}

.js-form-item-field-receive-reminders input[type="checkbox"]:checked+label.option::before {
	background: var(--primary_color);
}

.js-form-item-field-receive-reminders input[type="checkbox"]:checked+label.option::after {
	transform: translate(20px, -50%);
}

.js-form-item-field-receive-reminders label.option:hover::before {
	background: #9ca3af;
}

.ui-button .ui-icon {
	background: none;
}

.js-form-item-field-receive-reminders input[type="checkbox"]:checked+label.option:hover::before {
	background: #1f1c70;
}

button.dialog-cancel {
	background: #b91c1c;
	border-color: #b91c1c;
	color: var(--addit_white);
	border-radius: 8px;
}

/* .invoice-form {
	font-family: Inter, system-ui, sans-serif;
	color: #1f2937;
} */

/* .invoice-form label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
	display: block;
	margin-right: 4px;
} */

/* .invoice-form__wrapper {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
}

@media (max-width: 1024px) {
	.invoice-form__wrapper {
		grid-template-columns: 1fr;
	}
}

.invoice-card {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 20px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
} */

/* .invoice-card__title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 14px;
}

.invoice-card__subtitle {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 16px;
}

.invoice-card .form-item {
	margin-bottom: 16px;
}

.invoice-items-section {
	margin-top: 20px;
} */

/* .invoice-item-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--primary_border);
	border-radius: 10px;
	margin-bottom: 10px;
} */

/* .invoice-item-total {
	font-weight: 600;
	color: var(--primary_color);
}

.invoice-totals {
	background: #f9fafb;
	border-radius: 12px;
	padding: 16px;
	margin-top: 20px;
}

.invoice-totals .form-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.invoice-totals label {
	margin-bottom: 0;
}

.invoice-total {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
}

.invoice-tax-amount-display {
	font-weight: 600;
	color: #047857;
} */

.form-textarea-wrapper textarea {
	min-height: 100px;
}
.patient-info-card {
	background: #fff;
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	/* padding: 18px 16px 26px; */
	margin-top: 16px;
}

.patient-info-name {
	font-weight: 600;
	font-size: 15px;
    margin-bottom: 0px;
}

/* .patient-info-row {
	font-size: 13px;
	color: #374151;
	margin-bottom: 4px;
} */

.lab-report-form {
	font-family: Inter, system-ui, sans-serif;
	color: #1f2937;
	max-width: 1200px;
}
.lab-report-form label {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
	display: block;
}
.lab-report-form input[type="text"],
.lab-report-form select {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--primary_border);
	color: #111827;
}

.lab-report-form input[disabled],
.lab-report-form select[disabled] {
	background: #f3f4f6;
	color: #6b7280;
	cursor: not-allowed;
}
.lab-report-form .select2-container--disabled .select2-selection {
	background: #f3f4f6 !important;
	border: 1px solid var(--primary_border) !important;
	border-radius: 8px;
	height: 42px;
	display: flex;
	align-items: center;
}

.lab-report-form .select2-selection__rendered {
	font-size: 14px;
	color: #374151;
}

.lab-report-form details {
	border: 1px solid var(--primary_border);
	border-radius: 12px;
	overflow: hidden;
}

.lab-report-form details summary {
	padding: 14px 18px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	background: #f9fafb;
	list-style: none;
}

.lab-report-form details summary::marker {
	display: none;
}

.lab-report-form details .details-wrapper {
	padding: 16px;
	background: var(--addit_white);
}

.lab-report-form table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
}

.lab-report-form thead th {
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	padding: 10px;
	background: #f3f4f6;
}

.lab-report-form tbody td {
	padding: 12px;
	font-size: 13px;
	border-top: 1px solid var(--primary_border);
	vertical-align: middle;
}

.lab-report-form .select2-container {
	width: auto !important;
}

.lab-report-form .file a {
	color: var(--primary_color);
	font-weight: 500;
	text-decoration: none;
}

.lab-report-form a.tabledrag-handle .handle {
	width: 16px;
	height: 22px;
	margin: -4px 16px 1px 11px;
	padding: 0.42em 0.5em;
}

.lab-report-form .form-item {
	margin-top: 0px;
}

.lab-report-form .file a:hover {
	text-decoration: underline;
}

.lab-report-form input.form-submit.is-disabled {
	background: var(--primary_border);
	border: 1px solid #d1d5db;
	color: #9ca3af;
	width: auto;
	border-radius: 8px;
	padding: 6px 12px;
}

.lab-report-form .description {
	font-size: 12px;
	color: #6b7280;
	margin-top: 6px;
}

#edit-patient-wrapper,
#edit-doctor-wrapper,
#edit-report-type-wrapper,
#edit-report-type-term-wrapper,
#edit-status-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.lab-report-form .form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

@media (max-width: 768px) {
	.lab-report-form .form-wrapper {
		padding: 16px;
	}

	.lab-report-form table {
		font-size: 12px;
	}
}

#appointment-details {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: #f9fafb;
	color: #111827;
}

#appointment-details h2 {
	color: #111827;
}

#appointment-details>.flex h2 {
	font-size: 28px;
	font-weight: 700;
}

#appointment-details .grid {
	margin-top: 16px;
}

#appointment-details .bg-card {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.check-up-appointment>div:first-child {
	border-bottom: 1px solid var(--primary_border);
}

.check-up-appointment h2 {
	font-size: 22px;
	font-weight: 600;
}

.check-up-appointment .inline-flex {
	background: #eff6ff;
	border-color: var(--primary_color);
	color: var(--primary_color);
	font-size: 12px;
	font-weight: 600;
}

.scheduled-appointment h3 {
	font-size: 15px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 2px;
}

.scheduled-appointment p,
.scheduled-appointment time {
	font-size: 14px;
	color: #6b7280;
}

.scheduled-appointment svg {
	color: #6b7280;
}

.patient-information-app {
	border-top: 1px solid var(--primary_border);
	background: #f9fafb;
	font-size: 13px;
	color: #6b7280;
}

.patient-information .rounded-lg {
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.patient-information .rounded-lg:hover {
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.patient-information h2 {
	font-size: 18px;
	font-weight: 600;
}

.patient-information h3 {
	font-size: 15px;
	font-weight: 600;
}

.patient-information p,
.patient-information a {
	font-size: 14px;
	color: #6b7280;
}

.patient-information a:hover {
	color: var(--primary_color);
}

.bg-border {
	background-color: var(--primary_border);
}

.lucide {
	color: var(--primary_color);
}

/* .site-buttons {
	background: var(--addit_white);
	border: 1px solid #d1d5db;
	color: #111827;
	font-weight: 500;
}

.site-buttons:hover {
	background: #f3f4f6;
	color: var(--primary_color);
	border-color: var(--primary_color);
} */

@media (max-width: 768px) {
	#appointment-details>.flex h2 {
		font-size: 22px;
	}

	.check-up-appointment h2 {
		font-size: 18px;
	}

	.patient-information {
		margin-top: 20px;
	}
}

#appointment-details .patient-information .grid {
	display: flex;
}

.patient-information a.site-buttons {
	color: var(--addit_white);
}

.patient-information a.site-buttons:hover {
	color: #000;
}

#dd-user-doctors {
	background: #f4f6fb;
	padding: 24px;
	min-height: 100vh;
}

#dd-user-doctors .dd-page-header {
	border-bottom: 1px solid var(--primary_border);
	padding-bottom: 16px;
}

#dd-user-doctors .dd-page-title {
	color: #111827;
}

#dd-user-doctors .dd-main-grid {
	margin-top: 20px;
}

#dd-user-doctors .dd-profile-card {
	background: var(--addit_white);
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

#dd-user-doctors .dd-profile-card:hover {
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

#dd-user-doctors .dd-profile-header {
	background: linear-gradient(135deg, #eef2ff, var(--addit_white));
	border-bottom: 1px solid var(--primary_border);
}

#dd-user-doctors .dd-profile-avatar {
	height: 72px;
	width: 72px;
}

#dd-user-doctors .dd-profile-avatar-text {
	background: #4f46e5;
	color: var(--addit_white);
	font-size: 28px;
	font-weight: 600;
}

#dd-user-doctors .dd-doctor-name {
	color: #111827;
}

#dd-user-doctors .dd-doctor-specialization {
	color: #6b7280;
}

#dd-user-doctors .dd-status-badge {
	background: #16a34a;
	color: var(--addit_white);
	font-size: 12px;
	padding: 4px 14px;
	border-radius: 999px;
}

#dd-user-doctors .dd-profile-details {
	font-size: 14px;
}

#dd-user-doctors .dd-info-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

#dd-user-doctors .dd-info-item {
	display: flex;
	gap: 10px;
}

#dd-user-doctors .dd-info-icon {
	color: #9ca3af;
}

#dd-user-doctors .dd-info-label {
	color: #374151;
}

#dd-user-doctors .dd-info-value {
	color: #6b7280;
	line-height: 1.6;
}
#dd-user-doctors .dd-right-section {
	width: 100%;
}
#dd-user-doctors .dd-tabs-wrapper {
	background: transparent;
}

#dd-user-doctors .dd-tablist {
	background: #fafbfd;
	border: 1px solid #e8edf3;
    box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
	border-radius: 10px;
	padding: 4px;
}

#dd-user-doctors .dd-tab {
	border: none;
	background: transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #4b5563;
	cursor: pointer;
	transition: all 0.25s ease;
}

#dd-user-doctors .dd-tab:hover {
	background: #e0e7ff;
	color: var(--primary_color);
}

#dd-user-doctors .dd-tab[aria-selected="true"],
#dd-user-doctors .dd-tab.active {
	background: var(--addit_white);
	color: #1e3a8a;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#dd-user-doctors .dd-tabpanel {
	margin-top: 16px;
}
#dd-user-doctors .dd-about-card,
#dd-user-doctors .dd-overview-panel>div,
#dd-user-doctors .dd-appointments-panel>div,
#dd-user-doctors .dd-patients-panel>div {
	background: var(--addit_white);
	border-radius: 14px;
	transition: box-shadow 0.3s ease;
}

#dd-user-doctors .dd-about-card:hover,
#dd-user-doctors .dd-overview-panel>div:hover,
#dd-user-doctors .dd-appointments-panel>div:hover,
#dd-user-doctors .dd-patients-panel>div:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.dd-user-doctors .dd-overview-panel a svg,
.dd-user-doctors .dd-patients-panel a svg,
.dd-user-doctors .dd-appointments-panel a svg {
	color: var(--addit_white);
	transition: all 0.3s;
}

.dd-user-doctors .dd-appointments-panel a {
	background: #000 !important;
	color: var(--addit_white);
	border: 1px solid #000;
	transition: all 0.5s;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s;
	padding: 5px 20px;
	width: auto;
}

.dd-user-doctors .dd-overview-panel a:hover svg,
.dd-user-doctors .dd-patients-panel a:hover svg,
.dd-user-doctors .dd-appointments-panel a:hover svg {
	color: #000 !important;
}

.dd-user-doctors .dd-appointments-panel a:hover {
	background: var(--addit_white) !important;
	color: #000;
	border: 1px solid #000;
}

#dd-user-doctors .dd-card-header {
	border-bottom: 1px solid var(--primary_border);
}

#dd-user-doctors .dd-card-title {
	color: #111827;
}

#dd-user-doctors .dd-card-body {
	color: #6b7280;
	line-height: 1.7;
}

#dd-user-doctors table {
	border-collapse: collapse;
}

#dd-user-doctors thead th {
	background: #f9fafb;
}

#dd-user-doctors tbody tr:hover {
	background: #f3f4f6;
}

#dd-user-doctors .site-buttons {
	background: #4f46e5;
	color: var(--addit_white);
}

#dd-user-doctors .site-buttons:hover {
	background: #4338ca;
}

@media (max-width: 768px) {
	#dd-user-doctors {
		padding: 16px;
	}

	#dd-user-doctors .dd-profile-avatar {
		height: 60px;
		width: 60px;
	}

	#dd-user-doctors .dd-tab {
		font-size: 13px;
		padding: 8px;
	}

	#dd-user-doctors table {
		font-size: 13px;
	}
}
.dd-user-doctors .dd-page-header {
	border-bottom: 1px solid var(--primary_border);
	padding-bottom: 16px;
}

.dd-user-doctors .dd-page-title {
	color: #111827;
}

.dd-user-doctors .dd-main-grid {
	margin-top: 24px;
}

.dd-user-doctors .dd-profile-card {
	background: var(--addit_white);
	border-radius: 14px;
	transition: box-shadow 0.3s ease;
}

.dd-user-doctors .dd-profile-header {
	border-bottom: 1px solid var(--primary_border);
}

.dd-user-doctors .dd-profile-avatar {
	height: 72px;
	width: 72px;
}

.dd-user-doctors .dd-profile-avatar-text {
	background: #000;
	color: var(--addit_white);
	font-size: 26px;
	font-weight: 600;
}

.dd-user-doctors .dd-doctor-name {
	color: #111827;
}

.dd-user-doctors .dd-doctor-specialization {
	color: #6b7280;
}
.dd-user-doctors .dd-status-badge {
	background: #16a34a;
	color: var(--addit_white);
	padding: 4px 14px;
	border-radius: 999px;
	font-size: 12px;
}

.dd-user-doctors .dd-profile-details {
	font-size: 14px;
}

.dd-user-doctors .dd-info-list {
	display: flex;
	flex-direction: column;
	/* gap: 18px; */
}

.dd-user-doctors .dd-info-item {
	display: flex;
	gap: 10px;
}

.dd-user-doctors .dd-info-icon {
	color: #9ca3af;
}

.dd-user-doctors .dd-info-label {
	color: #000;
	font-weight: 600;
	font-size: 16px;
}

.dd-user-doctors .dd-info-value {
	color: #6b7280;
	line-height: 1.6;
}

.dd-user-doctors .dd-right-section {
	width: 100%;
}

.dd-user-doctors .dd-tabpanel {
	margin-top: 16px;
}

.dd-user-doctors .dd-about-card,
.dd-user-doctors .dd-overview-panel>div,
.dd-user-doctors .dd-appointments-panel>div,
.dd-user-doctors .dd-patients-panel>div {
	background: var(--addit_white);
	border-radius: 14px;
	transition: box-shadow 0.3s ease;
}

/* .dd-user-doctors .dd-about-card:hover,
.dd-user-doctors .dd-overview-panel>div:hover,
.dd-user-doctors .dd-appointments-panel>div:hover,
.dd-user-doctors .dd-patients-panel>div:hover {
	box-shadow: 0 14px 34px rgba(0,0,0,0.08);
} */

.dd-user-doctors .dd-card-header {
	border-bottom: 1px solid var(--primary_border);
}

.dd-user-doctors .dd-card-title {
	color: #111827;
}

.dd-user-doctors .dd-card-body {
	color: #6b7280;
	line-height: 1.7;
}

.dd-user-doctors table {
	border-collapse: collapse;
}

.dd-user-doctors thead th {
	background: #f9fafb;
}

.dd-user-doctors tbody tr:hover {
	background: #f3f4f6;
}

.dd-user-doctors a.inline-flex,
.dd-user-doctors button {
	border-radius: 8px;
}

@media (max-width: 768px) {
	.dd-user-doctors {
		padding: 16px;
	}

	.dd-user-doctors .dd-profile-avatar {
		height: 60px;
		width: 60px;
	}

	.dd-user-doctors .dd-tab {
		font-size: 13px;
		padding: 8px;
	}

	.dd-user-doctors table {
		font-size: 13px;
	}
}

.prescription-options-card {
	border: 1px solid var(--gin-border-color, var(--primary_border));
	border-radius: 12px;
	padding: 20px 22px 18px;
	background: var(--gin-bg-layer2, var(--addit_white));
	margin-top: 16px;
}

.prescription-options-card>legend {
	padding: 0 6px;
}

/* .prescription-options-card>legend>span {
	font-weight: 700;
	font-size: 22px;
	line-height: 1.2;
} */

.prescription-options-card .form-item {
	margin-top: 10px;
	margin-bottom: 0;
}

.prescription-options-card .form-item>label {
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
}

.prescription-options-card .form-radios {
	margin-top: 0px;
	display: flex;
	    /* gap: 0px; */
	flex-wrap: wrap;
}
 .prescription-options-card .form-radios .form-item {
	margin: 0 0 !important;
} 




/* MAIN FIELDSET (CARD STYLE) */
#prescription-admin-form #edit-left-prescription-options-prescription-format--wrapper {
  /* background: #ffffff;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid #e8eaef;
  margin-bottom: 20px; */
  transition: all 0.3s ease;
}

/* LEGEND (TITLE) */
#prescription-admin-form #edit-left-prescription-options-prescription-format--wrapper .fieldset-legend {
  font-size: 13px;
  /* font-weight: 600;
  color: var(--primary_color); */
  margin-bottom: 6px;
  display: inline-block;
}

/* RADIO WRAPPER GRID */
#prescription-admin-form #edit-left-prescription-options-prescription-format {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

/* EACH OPTION CARD */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio {
  position: relative;
      background: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 0px;
    border: 1px solid #eef1f5;
  padding: 8px 8px 8px 35px;
  cursor: pointer;
  transition: all 0.3s ease;
}#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio:hover {
    border: 1px solid #000;
	background: #f8f9fb;
}

/* HIDE DEFAULT RADIO */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio label{
	font-size: 13px;
	font-weight: 400;
	margin-bottom: 0px;
}
/* CUSTOM RADIO CIRCLE */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio label::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s ease;
}

/* INNER DOT */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio label::after {
  content: "";
  position: absolute;
  left: 13.3px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 9px;
  height: 9px;
  background: var(--primary_color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* ACTIVE STATE */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio input[type="radio"]:checked + label::before {
  border-color: var(--primary_color);
}

#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio input[type="radio"]:checked + label::after {
  transform: translateY(-50%) scale(1);
}

/* ACTIVE CARD */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio input[type="radio"]:checked + label {
  font-weight: 600;
  color: var(--primary_color);
}

#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio input[type="radio"]:checked ~ label {
  color: var(--primary_color);
}

/* ACTIVE BACKGROUND */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio:has(input:checked) {

  border-color: var(--primary_color);
}

/* LABEL TEXT */
#prescription-admin-form #edit-left-prescription-options-prescription-format .form-type-radio label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}


.prescription-options-card .form-radios input[type="radio"] {
	margin-right: 10px;
	margin-top: 0px;
}

.notification-row p.text-xxs.text-muted-foreground {
	font-size: 10px;
}

.notification-row .lucide-check {
	stroke: #008000;
	stroke-width: 4px;
}

.notification-row {
	color: hsl(145, 63%, 49%);
}

.notification-header {
	background-color: var(--primary_color);
	color: var(--addit_white);
}

.notification-footer {
	background-color: #ededed75;
	/* color: var(--addit_white); */
}

.extra-fields {
	display: none;
}

.load-more-btn {
	margin-top: 15px;
	padding: 8px 16px;
	background: var(--primary_color);
	color: var(--addit_white);
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.load-more-btn:hover {
	background: #1d1a6b;
}

 .prescription-options-card .js-form-type-radio {
	display: flex;
	align-items: center;
}
/*
.prescription-options-card .js-form-type-radio input[type="radio"] {
	width: 10%;
	margin: 0;
	margin-top: 5px;
	margin-left: 5px;
} */


.views-exposed-form {
	/* padding:24px; */
	display: flex;
	justify-content: flex-start;

}
/* ===== CARD WRAPPER ===== */
/* #edit-left-vitals {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  padding: 18px;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
} */
 

/* legend title */
#edit-left-vitals legend {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary_color);
  margin-bottom: 8px;
}

/* ===== GRID LAYOUT ===== */
#edit-left-vitals .fieldset-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* each field box */
/* #edit-left-vitals .form-item {
  display: flex;
  align-items: center;
} */
/* hover effect */
.vitals-card .fieldset-wrapper>div:hover {
  border-color: var(--primary_color);
  background: #fff;
}

/* label */
#edit-left-vitals label {
  font-size: 12px!important;
  color: #666;
  margin-bottom: 0px!important;
}

/* input */
#edit-left-vitals input.form-text {
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  outline: none;
  padding: 0px;
  margin: 0px;
}

/* focus effect */
#edit-left-vitals .form-item{
	margin-bottom: 2px;
}
#edit-left-vitals input.form-text:focus {
  color: var(--primary_color);
}

/* placeholder */
#edit-left-vitals input::placeholder {
  color: #bbb;
}

/* description */
#edit-left-vitals .description {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #888;
  margin-top: 5px;
}
#edit-left-vitals .vital-unit {
  text-align: center;
  font-size: 10px;
  color: gray;
}

#prescription-admin-form #edit-left-follow-up--wrapper{
	display: flex;
    align-items: center;
    justify-content: space-between;
	position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    padding: 4px 4px 4px 10px;
}
.vitals-card .fieldset-wrapper label{
	margin-bottom: 0px;
	font-size: 13px;
}
.vitals-card .fieldset-wrapper>div {
    display: flex;
    align-items: center;
	text-align: center;
    flex-direction: column;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 0px;
    border: 1px solid #eef1f5;
    transition: 0.3s;
}
/* #prescription-admin-form .form-item-left-follow-up label{
	color: #fff;
}
#prescription-admin-form .form-item-left-follow-up .select2.select2-container{
	width: fit-content!important;
} */
#prescription-admin-form #edit-left-follow-up--wrapper legend{
	position: absolute;
}
/* #prescription-admin-form #edit-left-follow-up--wrapper legend span{
	font-weight: 400;
} */
#prescription-admin-form #edit-left-follow-up--wrapper .fieldset-wrapper{
	    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
}


/* main wrapper */
.prescription-left-col #edit-left-follow-up {
        display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    border-radius: 6px;
    padding: 3px;
    background: #fff;
    width: 100px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
  
}

/* hide radio */
.prescription-left-col #edit-left-follow-up input[type="radio"] {
  display: none;
}

/* each option */
.prescription-left-col #edit-left-follow-up .form-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 0;
}

.prescription-left-col #edit-left-follow-up label {
  display: block;
  padding: 7px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  border-radius: 6px;
  transition: all 0.25s ease;
  margin-bottom: 0px;
}
.prescription-left-col #edit-left-follow-up label:hover{
	background: #000;
  color: #fff;
}
/* active (selected) */
.prescription-left-col #edit-left-follow-up input[type="radio"]:checked + label {
  background: #000;
  color: #fff;
}

/* hover effect */
/* .prescription-left-col #edit-left-follow-up label:hover {
  background: rgba(0,0,0,0.08);
} */

/* slight click feel */
.prescription-left-col #edit-left-follow-up label:active {
  transform: scale(0.96);
}
.prescription-left-col #edit-left-follow-up {
  transition: all 0.3s ease;
}

/* active label thoda pop kare */
.prescription-left-col #edit-left-follow-up input[type="radio"]:checked + label {
  transform: scale(1.05);
}


/* ============================================================
   WRAPPER — Two-column grid
   ============================================================ */
.invoice-form__wrapper.js-form-wrapper.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  font-family: var(--primary_font), sans-serif;
  color: var(--primary_color);
  align-items: start;
  box-sizing: border-box;
}
#invoice-items-totals-wrapper{
	width: 100%;
	margin-bottom: 15px;
}
.invoice-form__wrapper > #edit-left .js-form-item-invoice-date,
.invoice-form__wrapper > #edit-left .js-form-item-invoice-type {
	width: 49%;
}
 
.invoice-form__wrapper > #edit-left  { 
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	grid-column: 1; grid-row: 1; }
.invoice-form__wrapper > #edit-right { grid-column: 2; grid-row: 1; }
 
/* ============================================================
   INVOICE CARD
   ============================================================ */
.invoice-card {
  background: var(--addit_white);
  border: 1px solid var(--primary_border);
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
/* ============================================================
   FORM ITEM LABELS
   ============================================================ */
.invoice-form__wrapper .js-form-item {
  margin-bottom: 15px;
  margin-top: 0px;
  width: 100%;
}
 
/* .invoice-form__wrapper .js-form-item label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--tertiary_color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-family: var(--primary_font), sans-serif;
}
  */
.invoice-form__wrapper label.js-form-required::after,
.invoice-form__wrapper .form-required::after {
  color: var(--red_color) !important;
}
 
/* ============================================================
   INPUTS — text, number, date, textarea, autocomplete
   ============================================================ */
.invoice-form__wrapper .form-text,
.invoice-form__wrapper .form-number,
.invoice-form__wrapper .form-date,
.invoice-form__wrapper .form-textarea,
.invoice-form__wrapper .form-autocomplete {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--primary_font), sans-serif;
  font-size: 14px;
  color: var(--primary_color);
  background: #fff;
  border: 1px solid var(--primary_border);
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
 
.invoice-form__wrapper .form-text:hover,
.invoice-form__wrapper .form-number:hover,
.invoice-form__wrapper .form-date:hover,
.invoice-form__wrapper .form-textarea:hover,
.invoice-form__wrapper .form-autocomplete:hover {
  border-color: var(--gray_color);
}
 
.invoice-form__wrapper .form-text:focus,
.invoice-form__wrapper .form-number:focus,
.invoice-form__wrapper .form-date:focus,
.invoice-form__wrapper .form-textarea:focus,
.invoice-form__wrapper .form-autocomplete:focus {
  border-color: var(--primary_color);
  background: var(--addit_white);
}
 
/* Readonly fields */
.invoice-form__wrapper input[readonly] {
  cursor: default;
}
 
#edit-invoice-number {
	 font-family: "Courier New", monospace ;
  letter-spacing: 0.04em;
}
 
/* ============================================================
   SELECT (native)
   ============================================================ */
.invoice-form__wrapper .form-select {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--primary_font), sans-serif;
  font-size: 14px;
  color: var(--primary_color);
  background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23747474' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--primary_border);
  border-radius: 8px;
  padding: 9px 36px 9px 12px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
 
.invoice-form__wrapper .form-select:focus {
  border-color: var(--primary_color);
}
 
/* ============================================================
   SELECT2 OVERRIDES
   ============================================================ */
.invoice-form__wrapper .select2-container--default .select2-selection--single {
  font-family: var(--primary_font), sans-serif !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 12px !important;
  transition: border-color 0.15s, box-shadow 0.15s !important;
}
 
.invoice-form__wrapper .select2-container--default .select2-selection--single:hover {
  border-color: var(--gray_color) !important;
}
 
.invoice-form__wrapper .select2-container--default.select2-container--open .select2-selection--single,
.invoice-form__wrapper .select2-container--default.select2-container--focus .select2-selection--single {
  cursor: default;
}
 
.invoice-form__wrapper .select2-container--default .select2-selection__rendered {
  color: var(--primary_color) !important;
  font-size: 14px !important;
  line-height: 40px !important;
  padding: 0 !important;
  font-family: var(--primary_font), sans-serif !important;
}
 
.invoice-form__wrapper .select2-container--default .select2-selection__arrow {
  top: 0px !important;
  right: 10px !important;
}
 
.select2-dropdown {
  border: 1px solid var(--primary_border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
  font-family: var(--primary_font), sans-serif !important;
  font-size: 14px !important;
}
 
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary_color) !important;
  color: var(--addit_white) !important;
}
 
.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #f4f4f4 !important;
  color: var(--gray_color) !important;
}
 
/* ============================================================
   TEXTAREA
   ============================================================ */
.invoice-form__wrapper .form-textarea-wrapper textarea.form-textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.6;
}
 
/* ================================================================
   PREMIUM DARK MODE SIDEBAR NAVIGATION
   ================================================================ */

/* Sidebar container — Sleek Dark Mode */
.side-bar aside {
	background: #0F172A; /* Slate 900 */
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

/* Sidebar custom scrollbar */
.side-bar aside::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
	width: 4px;
}
.side-bar aside::-webkit-scrollbar-track,
.custom-scrollbar::-webkit-scrollbar-track {
	background: transparent;
}
.side-bar aside::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
}
.side-bar aside::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* Sidebar branding area */
.side-bar .flex.py-3 {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 20px;
}

/* Switch to exact logo for dark sidebar */
.side-bar .flex.py-3 img.site-logo {
	content: url("/themes/custom/livelong/logo-dark-sidebar.svg");
	width: 200px;
	max-width: none;
}

/* Base nav link styling */
#sidebar-main a,
#sidebar-main button {
	color: #94A3B8 !important; /* Slate 400 */
	font-size: 14px;
	font-weight: 500;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 4px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	overflow: hidden;
}

/* Hover state */
#sidebar-main a:hover,
#sidebar-main button:hover {
	background: rgba(255, 255, 255, 0.05) !important;
	color: #FFFFFF !important;
	transform: translateX(4px);
}

/* Active state — current page */
#sidebar-main a.is-active,
#sidebar-main .space-y-1 > a.is-active {
	background: linear-gradient(90deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 100%) !important;
	color: #38BDF8 !important; /* Sky 400 */
	font-weight: 600;
	border-left: 3px solid #38BDF8;
}

/* Active trail parent button */
#sidebar-main .menu-item-class-main[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #FFFFFF !important;
	font-weight: 600;
}

/* Active submenu items */
#sidebar-main .toggle-sidebar.active a.is-active {
	background: rgba(56, 189, 248, 0.1) !important;
	color: #38BDF8 !important;
	font-weight: 600;
	border-left: 2px solid #38BDF8;
}

/* Icon styling in nav items */
#sidebar-main a .material-icons,
#sidebar-main a .material-symbols-outlined,
#sidebar-main a svg,
#sidebar-main button .material-icons,
#sidebar-main button .material-symbols-outlined,
#sidebar-main button svg {
	color: #64748B !important;
	font-size: 20px !important;
	transition: color 0.3s, transform 0.3s;
}

#sidebar-main a:hover .material-icons,
#sidebar-main a:hover .material-symbols-outlined,
#sidebar-main a:hover svg,
#sidebar-main button:hover .material-icons,
#sidebar-main button:hover .material-symbols-outlined,
#sidebar-main button:hover svg {
	color: #FFFFFF !important;
	transform: scale(1.1);
}

#sidebar-main a.is-active .material-icons,
#sidebar-main a.is-active .material-symbols-outlined,
#sidebar-main a.is-active svg {
	color: #38BDF8 !important;
}

/* Sidebar section group headings */
#sidebar-main .menu-heading,
#sidebar-main h6,
#sidebar-main .sidebar-group-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #475569;
	padding: 24px 24px 8px;
}

/* Sidebar bottom user section */
.sidebar-bottom {
	background: #020617; /* Slate 950 */
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 20px;
}

.sidebar-bottom .profile {
	background: linear-gradient(135deg, #38BDF8, #3B82F6) !important;
	color: #FFFFFF !important;
	font-weight: 700;
	border: none;
	box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.sidebar-bottom .text-sm {
	color: #F8FAFC;
	font-weight: 600;
}

.sidebar-bottom .text-xs {
	color: #94A3B8;
}

.side-bar .sidebarCloseBtn {
	color: #fff !important;
}
.side-bar .sidebarCloseBtn:hover {
    background: rgba(255,255,255,0.1) !important;
}
 
.invoice-form__wrapper .description {
  font-size: 12px;
  color: var(--tertiary_color);
  margin-top: 5px;
}
 
/* ============================================================
   ITEMS SECTION
   ============================================================ */
.invoice-items-section {
  background: var(--addit_white);
  border: 1px solid var(--primary_border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
  overflow: hidden;
}
.invoice-items-section h3.invoice-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--primary_border);
}
 
/* Item row */
.invoice-item-row {
  display: grid;
  grid-template-columns: 2fr 68px 110px 100px 72px;
  gap: 8px;
  align-items: end;
  padding: 10px 8px;
  border-radius: 8px;
  border-bottom: 1px dashed var(--primary_border);
  transition: background 0.15s;
  margin: 0 -8px;
}
 
.invoice-item-row:last-of-type { border-bottom: none; }
.invoice-item-row:hover { background: #f7f7f7; }
.invoice-item-row .js-form-item { margin-bottom: 0; }
.invoice-item-row .js-form-item label { font-size: 12px; margin-bottom: 4px; }
 
.invoice-item-row .form-text,
.invoice-item-row .form-number {
  font-size: 13px;
  padding: 7px 10px;
}
 
/* Row total span */
.invoice-item-total {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray_color);
  border: 1px solid #000;
  border-radius: 8px;
  padding: 7px 10px;
  text-align: right;
}
 
/* Remove button */
.invoice-item-remove.btn.btn-link {
  font-family: var(--primary_font), sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #f30000  !important;
  background: #fef2f2 !important;
  border: 1px solid #f30000  !important;
  border-radius: 6px !important;
  padding: 10px 10px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: block !important;
  text-align: center !important;
  transition: background 0.15s, border-color 0.15s !important;
}
 
.invoice-item-remove.btn.btn-link:hover {
  background: #fee2e2 !important;
  border-color: #f30000  !important;
}
 
/* ============================================================
   TOTALS
   ============================================================ */
.invoice-totals {
  background: var(--addit_white);
  border: 1px solid var(--primary_border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 4px;
}
 
.invoice-totals .js-form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
  margin-top: 0px;
  gap: 16px;
}
 
.invoice-totals .js-form-item label {
  /* font-size: 13px; */
  /* color: var(--tertiary_color); */
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  flex-shrink: 0;
}
 
.invoice-subtotal,
.invoice-discount {
  text-align: right !important;
  font-size: 14px !important;
  /* width: 130px !important; */
}
 
.invoice-tax-amount-display {
  font-size: 13px;
  width: 100%;
  font-weight: 600;
  border: 1px solid var(--primary_border);
  border-radius: 8px;
  padding: 9px 12px;
  text-align: right;
  min-width: 130px;
  width: 100%;
  display: inline-block;
  box-sizing: border-box;
}
 
.invoice-totals .form-item-tax-rate {
  display: flex;
  align-items: center;
  gap: 12px;
}
 
 
/* Grand total row */
.invoice-totals .form-item-total {
  padding-top: 12px;
  justify-content: end;
  grid-column: 1 / -1;
  border-top: 1px solid var(--primary_border);
  margin-top: 4px !important;
}
 
.invoice-totals .form-item-total label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--primary_color) !important;
}
 
.invoice-total {
  text-align: right !important;
  font-weight: 700 !important;
  width: 130px !important;
  background: #fff !important;
  border-color: #000 !important;
}
 
/* ============================================================
   RIGHT COLUMN — Patient info
   ============================================================ */
#edit-right .invoice-card {
  position: sticky;
  top: 20px;
}
 
.patient-info-card {
  background: #fff;
  border: 1.5px dashed var(--primary_border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 10px;
}
 
.patient-info-empty {
  font-size: 13px;
  color: var(--tertiary_color);
  text-align: center;
  font-style: italic;
}
 
/* Search icon in patient input */
.prescription-patient-autocomplete.form-autocomplete {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%2322c55e' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center!important;
  padding-right: 36px !important;
}
 
/* ============================================================
   INVOICE FORMAT FIELDSET
   ============================================================ */
.prescription-options-card.fieldgroup {
  border: 1px solid var(--primary_border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
  /* background: #fafafa; */
}
/*  
.prescription-options-card.fieldgroup legend {
  font-size: 11px;
  font-weight: 600;
  color: var(--tertiary_color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 6px;
  font-family: var(--primary_font), sans-serif;
} */
 

 
/* ============================================================
   ACTION BUTTONS
   ============================================================ */
.invoice-form__wrapper .form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.invoice-form__wrapper .form-radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
 
.invoice-form__wrapper .form-type-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
}
 
.invoice-form__wrapper .form-type-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary_color);
  cursor: pointer;
  flex-shrink: 0;
}
 
.invoice-form__wrapper .form-type-radio label.option {
  font-size: 13px;
  font-weight: 400;
  color: var(--primary_color);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  margin: 0;
  transition: color 0.12s;
  font-family: var(--primary_font), sans-serif;
}
 
.invoice-form__wrapper .form-type-radio:has(input:checked) label.option {
  color: var(--primary_color);
  font-weight: 600;
}
 .invoice-card__subtitle{
	width: 100%;
 }
.invoice-form__wrapper .form-actions input[type="submit"],
.invoice-form__wrapper .form-actions .button {
  font-family: var(--primary_font), sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 10px 26px !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
}
 
.invoice-form__wrapper .form-actions .button--primary,
.invoice-form__wrapper .form-actions input[type="submit"].button--primary {
  background: var(--primary_color) !important;
  color: var(--addit_white) !important;
  border: none !important;
}
 
.invoice-form__wrapper .form-actions .button--primary:hover {
  filter: brightness(0.9) !important;
  transform: translateY(-1px) !important;
}
 
.invoice-form__wrapper .form-actions input[type="submit"]:not(.button--primary),
.invoice-form__wrapper .form-actions .button:not(.button--primary) {
  background: var(--addit_white) !important;
  color: var(--primary_color) !important;
  border: 1px solid var(--primary_border) !important;
}
 
.invoice-form__wrapper .form-actions input[type="submit"]:not(.button--primary):hover {
  background: #f5f5f5 !important;
}
 
/* ============================================================
   RESPONSIVE — 900px (small desktop / large tablet landscape)
   ============================================================ */
@media (max-width: 1024px) {
  .invoice-form__wrapper.js-form-wrapper.form-wrapper {
    grid-template-columns: 1fr 340px;
    gap: 16px;
  }
 
  .invoice-item-row {
    grid-template-columns: 2fr 58px 90px 86px 68px;
    gap: 6px;
  }
}
@media (max-width: 991px){
	.invoice-items-section,
 .invoice-totals
 {
	padding: 16px 14px;
 }
 .invoice-card{
	padding: 20px;
 }
 .invoice-totals .form-item-total{
	padding-top: 9px;
 }
 .invoice-items-section h3.invoice-card__title{
	    margin: 0 0 9px;
    padding-bottom: 7px;
 }
}
 
/* ============================================================
   RESPONSIVE — 768px (tablet portrait)
   ============================================================ */
@media (max-width: 768px) {
  .invoice-form__wrapper.js-form-wrapper.form-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
	
  }
 
  .invoice-form__wrapper > #edit-left  { grid-column: 1; grid-row: 1; 
	margin-bottom: 0px;
}
  .invoice-form__wrapper > #edit-right { grid-column: 1; grid-row: 2; }
 
  #edit-right .invoice-card { position: static; }
 
  .invoice-card,
  .invoice-items-section { padding: 18px 16px; }
 
  /* Item rows — 3 columns, description full width */
  .invoice-item-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
 
  .invoice-item-row .js-form-item:first-child {
    grid-column: 1 / -1;
  }
 
  .invoice-totals .js-form-item { flex-wrap: wrap; }
 
  .invoice-subtotal,
  .invoice-total,
  .invoice-discount { width: 100% !important; }
 
  .invoice-tax-amount-display { min-width: unset; width: 100%; }
 
  .invoice-totals .form-item-tax-rate .select2-container,
  .invoice-totals .form-item-tax-rate select.form-select { width: 100% !important; }
}
 
/* ============================================================
   RESPONSIVE — 480px (mobile)
   ============================================================ */
@media (max-width: 480px) {
.invoice-totals .js-form-item{
	gap: 0px;
}
 
  .invoice-card,
  .invoice-items-section,
  .invoice-totals {
    padding: 14px 13px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
 
  /* Item rows — 2 columns on small mobile */
  .invoice-item-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
 
  .invoice-item-row .js-form-item:first-child,
  .invoice-item-row .js-form-item:nth-child(4) {
    grid-column: 1 / -1;
  }
 
  /* Prevent iOS zoom on input focus */
  .invoice-form__wrapper .form-text,
  .invoice-form__wrapper .form-number,
  .invoice-form__wrapper .form-date,
  .invoice-form__wrapper .form-select,
  .invoice-form__wrapper .form-textarea,
  .invoice-form__wrapper .form-autocomplete {
    font-size: 16px;
  }
 
  /* Stack action buttons */
  .invoice-form__wrapper .form-actions {
    flex-direction: column;
  }
 
  .invoice-form__wrapper .form-actions input[type="submit"],
  .invoice-form__wrapper .form-actions .button {
    width: 100% !important;
    text-align: center !important;
  }
}


/* #lab-report-edit-form */
#lab-report-edit-form {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(34,34,34,0.10);
  /* overflow: hidden; */
}


/* ── Header strip (visual top bar) ──────────────────────── */

#lab-report-edit-form::before {
  content: "Lab Report  ·  Edit Record";
  display: flex;
  align-items: center;
  padding: 18px 28px;
  background: var(--primary_color);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--primary_border)
}


/* ── Inner padding container ─────────────────────────────── */

#lab-report-edit-form > div,
#lab-report-edit-form > .field--type-entity-reference,
#lab-report-edit-form > .field--type-string,
#lab-report-edit-form > .field--type-list-string,
#lab-report-edit-form > .field--type-file,
#lab-report-edit-form > .form-actions {
  padding: 0 28px;
}

/* First real section gets top padding */
#lab-report-edit-form > div:first-of-type {
  padding-top: 28px;
}


/* ── Field wrapper containers ────────────────────────────── */

#lab-report-edit-form .field--name-patient,
#lab-report-edit-form .field--name-doctor,
#lab-report-edit-form .field--name-report-type,
#lab-report-edit-form .field--name-report-type-term,
#lab-report-edit-form .field--name-status {
  margin-bottom: 0;
  padding: 0 28px;
}


/* ── Grid layout for fields ──────────────────────────────── */

/* #lab-report-edit-form .field--name-patient,
#lab-report-edit-form .field--name-doctor { */
  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  padding: 24px 28px 0; */
/* } */

/* #lab-report-edit-form .field--name-report-type,
#lab-report-edit-form .field--name-report-type-term,
#lab-report-edit-form .field--name-status { */
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 24px;
  padding: 20px 28px 0; */
/* } */

/* Flatten inner wrappers inside grid cells */
#lab-report-edit-form .field--name-patient .js-form-item,
#lab-report-edit-form .field--name-doctor .js-form-item,
#lab-report-edit-form .field--name-report-type .js-form-item,
#lab-report-edit-form .field--name-report-type-term .js-form-item,
#lab-report-edit-form .field--name-status .js-form-item {
  width: 100%;
}


/* ── Section dividers ────────────────────────────────────── */

#lab-report-edit-form .field--name-report-type {
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  padding-top: 24px;
  margin-top: 8px;
}

#lab-report-edit-form .field--name-report-pdfs-wrapper,
#lab-report-edit-form .field--name-report-pdfs {
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  margin-top: 8px;
  padding: 24px 28px 0;
}


/* ── Labels ──────────────────────────────────────────────── */

#lab-report-edit-form label {
  margin-top: 7px;
}

#lab-report-edit-form label.form-required::after {
  content: " *";
  color: #c0392b;
}


/* ── Text inputs & autocomplete ──────────────────────────── */

#lab-report-edit-form input[type="text"],
#lab-report-edit-form input[type="number"],
#lab-report-edit-form input[type="email"],
#lab-report-edit-form input[type="search"],
#lab-report-edit-form input.form-text,
#lab-report-edit-form input.form-autocomplete {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--primary_color);
  background: #fff;
  border: 1.5px solid rgba(34, 34, 34, 0.25);
  border-radius: 6px;
  outline: none;
  transition: border 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

#lab-report-edit-form input[type="text"]:hover,
#lab-report-edit-form input.form-text:hover,
#lab-report-edit-form input.form-autocomplete:hover {
  border-color: #888;
}

#lab-report-edit-form input[type="text"]:focus,
#lab-report-edit-form input.form-text:focus,
#lab-report-edit-form input.form-autocomplete:focus {
  border-color: var(--primary_color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34,34,34,0.10);
}


/* ── Native select (fallback + hidden select2 base) ─────── */

#lab-report-edit-form select.form-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  color: var(--primary_color);
  background: #fff;
  border: 1.5px solid rgba(34, 34, 34, 0.25);
  border-radius: 6px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  box-sizing: border-box;
}

#lab-report-edit-form select.form-select:focus {
  border-color: var(--primary_color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(34,34,34,0.10);
}


/* ── Select2 custom widget ───────────────────────────────── */

#lab-report-edit-form .select2-container {
  width: 100% !important;
  box-sizing: border-box;
}

#lab-report-edit-form .select2-container--default .select2-selection--single {
  height: 42px;
  padding: 0 36px 0 14px;
  background: #f7f7f8;
  border: 1.5px solid rgba(34, 34, 34, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: border 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

#lab-report-edit-form .select2-container--default .select2-selection--single:hover {
  border-color: #888;
}

#lab-report-edit-form .select2-container--default.select2-container--open .select2-selection--single,
#lab-report-edit-form .select2-container--default .select2-selection--single:focus {
  border-color: var(--primary_color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34,34,34,0.10);
  outline: none;
}

#lab-report-edit-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 14px;
  color: var(--primary_color);
  line-height: 1;
  padding: 0;
}

#lab-report-edit-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  height: auto;
  width: 16px;
}

#lab-report-edit-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--primary_color) transparent transparent transparent;
  border-width: 5px 4px 0;
  margin-top: -2px;
}

#lab-report-edit-form .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--primary_color) transparent;
  border-width: 0 4px 5px;
}

/* Select2 dropdown */
.select2-dropdown {
  border: 1.5px solid var(--primary_color) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(34,34,34,0.10) !important;
  background: #fff !important;
  overflow: hidden;
}

.select2-results__option {
  font-size: 13.5px;
  padding: 9px 14px !important;
  color: var(--primary_color);
  transition: background 0.18s ease;
}

.select2-results__option--highlighted {
  background: #f0f0f2 !important;
  color: var(--primary_color) !important;
}

.select2-results__option[aria-selected="true"] {
  background: #ececed !important;
  color: var(--primary_color) !important;
  font-weight: 600;
}

.select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(34, 34, 34, 0.25);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--primary_color);
  outline: none;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: var(--primary_color);
  box-shadow: 0 0 0 2px rgba(34,34,34,0.08);
}


/* ── File / PDF section ──────────────────────────────────── */

#lab-report-edit-form details#edit-report-pdfs {
  background: #f7f7f8;
  border: 1.5px solid rgba(34, 34, 34, 0.25);
  border-radius: 10px;
  margin-top: 4px;
  overflow: hidden;
}

#lab-report-edit-form details#edit-report-pdfs summary {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary_color);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ececed;
  border-bottom: 1px solid rgba(34, 34, 34, 0.12);
  transition: background 0.18s ease;
}

#lab-report-edit-form details#edit-report-pdfs summary::-webkit-details-marker {
  display: none;
}

#lab-report-edit-form details#edit-report-pdfs summary::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--primary_color);
  border-radius: 2px;
  flex-shrink: 0;
}

#lab-report-edit-form details#edit-report-pdfs summary:hover {
  background: #e4e4e5;
}

#lab-report-edit-form details#edit-report-pdfs .details-wrapper {
  padding: 18px;
}

/* File table */
#lab-report-edit-form #edit-report-pdfs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#lab-report-edit-form #edit-report-pdfs-table thead tr {
  background: var(--primary_color);
}

#lab-report-edit-form #edit-report-pdfs-table thead th {
  padding: 10px 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  background-color: var(--primary_color);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: left;
}

#lab-report-edit-form #edit-report-pdfs-table tbody tr {
  border-bottom: 1px solid rgba(34, 34, 34, 0.12);
  transition: background 0.18s ease;
}

#lab-report-edit-form #edit-report-pdfs-table tbody tr:hover {
  background: #f7f7f8;
}

#lab-report-edit-form #edit-report-pdfs-table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
}

/* PDF file link */
#lab-report-edit-form .file--application-pdf a {
  color: var(--primary_color);
  font-weight: 500;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  border-bottom: 1px dashed rgba(34, 34, 34, 0.25);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

#lab-report-edit-form .file--application-pdf a:hover {
  color: #000;
  border-color: #000;
}

#lab-report-edit-form .file--application-pdf a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 16px;
  background: var(--primary_color);
  border-radius: 2px;
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
  flex-shrink: 0;
  opacity: 0.75;
}

/* File upload input */
#lab-report-edit-form input[type="file"].form-file {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  color: #5c5c66;
  background: #fff;
  border: 2px dashed rgba(34, 34, 34, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  box-sizing: border-box;
  margin-top: 4px;
}

#lab-report-edit-form input[type="file"].form-file:hover {
  border-color: var(--primary_color);
  background: #f7f7f8;
}

#lab-report-edit-form #edit-report-pdfs-1--description {
  font-size: 11.5px;
  color: #909099;
  margin-top: 8px;
  line-height: 1.6;
}

/* Tabledrag toggle */
#lab-report-edit-form .tabledrag-toggle-weight-wrapper {
  margin-bottom: 3px;
}

#lab-report-edit-form .tabledrag-toggle-weight {
  font-size: 12px;
  color: #909099;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}


/* ── Remove button (table action) ────────────────────────── */

#lab-report-edit-form input[id*="remove-button"] {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #c0392b;
  background: #fff5f5;
  border: 1px solid #f5c6c3;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}

#lab-report-edit-form input[id*="remove-button"]:hover {
  background: #fde8e8;
  border-color: #e0a09b;
}


/* ── Form actions / Save button ──────────────────────────── */

#lab-report-edit-form .form-actions {
  padding: 22px 28px 28px;
  border-top: 1px solid rgba(34, 34, 34, 0.12);
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#lab-report-edit-form #edit-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--primary_color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 2px 8px rgba(34,34,34,0.18);
}

#lab-report-edit-form #edit-submit:hover {
  background: var(--lref-accent-hover);
  box-shadow: 0 4px 16px rgba(34,34,34,0.22);
}

#lab-report-edit-form #edit-submit:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(34,34,34,0.14);
}

#lab-report-edit-form #edit-submit:focus-visible {
  outline: 3px solid rgba(34,34,34,0.3);
  outline-offset: 2px;
}


/* ── js-form-item spacing ────────────────────────────────── */

#lab-report-edit-form .js-form-item {
  margin-bottom: 0;
}


/* ── Autocomplete spinner icon override ──────────────────── */

#lab-report-edit-form .ui-autocomplete-loading {
  background-image: none;
}


/* ── Responsive: tablet ──────────────────────────────────── */

@media (max-width: 768px) {
  #lab-report-edit-form {
    margin: 1rem;
    border-radius: 10px;
  }

  #lab-report-edit-form .field--name-patient,
  #lab-report-edit-form .field--name-doctor {
    grid-template-columns: 1fr;
    gap: 16px 0;
    padding: 20px 18px 0;
  }

  /* #lab-report-edit-form .field--name-report-type,
  #lab-report-edit-form .field--name-report-type-term,
  #lab-report-edit-form .field--name-status {
    grid-template-columns: 1fr;
    gap: 16px 0;
    padding: 20px 18px 0;
  } */

  #lab-report-edit-form > div,
  #lab-report-edit-form > .field--type-entity-reference,
  #lab-report-edit-form > .field--type-string,
  #lab-report-edit-form > .field--type-list-string,
  #lab-report-edit-form > .field--type-file,
  #lab-report-edit-form > .form-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  #lab-report-edit-form .field--name-report-pdfs-wrapper,
  #lab-report-edit-form .field--name-report-pdfs {
    padding: 20px 18px 0;
  }

  #lab-report-edit-form .form-actions {
    padding: 18px 18px 22px;
  }

  #lab-report-edit-form #edit-report-pdfs-table thead {
    display: none;
  }

  #lab-report-edit-form #edit-report-pdfs-table tbody tr {
    display: block;
    padding: 12px 0;
  }

  #lab-report-edit-form #edit-report-pdfs-table tbody td {
    display: block;
    padding: 4px 0;
  }
}


/* ── Responsive: mobile ──────────────────────────────────── */

@media (max-width: 480px) {
  #lab-report-edit-form {
    margin: 0.5rem;
    border-radius: 6px;
  }

  #lab-report-edit-form #edit-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
  }

  #lab-report-edit-form .form-actions {
    flex-direction: column;
  }

  #lab-report-edit-form::before {
    font-size: 11px;
    padding: 14px 18px;
  }
}


/* #user-patients-section .medication-item {
  background: #fff;
  border: 0.5px solid #e4e8ef;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
} */

#user-patients-section .medication-info strong {
  display: block;
  /* font-size: 15px;
  font-weight: 500;
  color: #1a2233; */
  margin-bottom: 4px;
}

#user-patients-section .medication-info .text-muted {
  font-size: 12px;
  color: #6b7a99;
}

#user-patients-section .medication-time ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 6px 16px;
  font-size: 12px;
  color: #1a2233;
}

#user-patients-section .medication-time ul li::before {
  content: '•';
  margin-right: 6px;
  color: #378add;
}
/* ═══════════════════════════════════════════════════════════
   LAB REPORT FORM — CSS
   Targets exact Drupal-generated class structure
   ═══════════════════════════════════════════════════════════ */
/* ─── FORM ITEMS ────────────────────────────────────────── */
.lab-report-add-form .form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


/* ─── TEXT INPUTS ───────────────────────────────────────── */
/* Hide select2 widget — use native styled select */

/* ─── DETAILS / PDF SECTION ─────────────────────────────── */
.lab-report-add-form details {
  border: 1px dashed #dde1f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fafbff;
}

.lab-report-add-form details summary {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #3b5bdb;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  transition: background 0.12s;
}
.lab-report-add-form details summary::-webkit-details-marker { display: none; }
.lab-report-add-form details summary::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-top: -2px;
}
.lab-report-add-form details[open] summary::before {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.lab-report-add-form details summary:hover {
  background: #f0f4ff;
}

.lab-report-add-form .details-wrapper {
  padding: 0 18px 16px;
}

/* ─── FILE INPUT ─────────────────────────────────────────── */
.lab-report-add-form .form-managed-file {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lab-report-add-form input[type="file"].form-file {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #4a4e69;
  background: #ffffff;
  border: 1px solid #dde1f0;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.lab-report-add-form input[type="file"].form-file:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(59,91,219,0.1);
}
.lab-report-add-form input[type="file"]::file-selector-button {
  /* background: #f0f4ff; */
  border: 1px solid #dbe4ff;
  border-radius: 6px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.15s;
}
/* .lab-report-add-form input[type="file"]::file-selector-button:hover {
  background: #dbe4ff;
} */

/* Hidden upload button (Drupal AJAX) */
.lab-report-add-form input.js-hide {
  display: none !important;
}

/* File description hint */
.lab-report-add-form .description {
  font-size: 11.5px;
  color: #9ea3b8;
  margin-top: 8px;
  line-height: 1.6;
}

/* ─── FORM ACTIONS / SUBMIT ──────────────────────────────── */
/* .lab-report-add-form .form-actions {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eef0f5;
  display: flex;
  justify-content: flex-end;
} */
/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .lab-report-add-form {
    margin: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
  }
  .lab-report-add-form .form-managed-file {
    flex-direction: column;
    align-items: stretch;
  }
  .lab-report-add-form .form-actions {
    justify-content: stretch;
  }
  .lab-report-add-form input[type="submit"].form-submit {
    width: 100%;
  }
}
/* ============================================
   Appointment Calendar App — Modern CSS
   Target: .appointment-calendar-app
   ============================================ */

/* ---- Root Variables ---- */
:root {
  --cal-blue-50:  #E6F1FB;
  --cal-blue-100: #B5D4F4;
  --cal-blue-400: #378ADD;
  --cal-blue-600: #185FA5;
  --cal-blue-800: #0C447C;

  --cal-teal-50:  #E1F5EE;
  --cal-teal-400: #1D9E75;

  --cal-radius-sm: 6px;
  --cal-radius-md: 10px;
  --cal-radius-lg: 14px;

  --cal-border: 1px solid #E4E8EF;
  --cal-shadow: 0 2px 12px rgba(24, 95, 165, 0.07);
  --cal-font: -apple-system, 'Segoe UI', sans-serif;

  --cal-bg:        #F4F7FB;
  --cal-surface:   #FFFFFF;
  --cal-text:      #1A2233;
  --cal-text-muted:#6B7A99;
  --cal-text-faint:#A0AABF;
  --cal-accent:    #185FA5;
  --cal-accent-bg: #E6F1FB;
  --cal-selected-ring: #378ADD;
}

/* ---- Root App Container ---- */
/* .appointment-calendar-app {
  font-family: var(--cal-font);
  background: var(--cal-bg);
  padding: 28px;
  min-height: 100vh;
  color: var(--cal-text);
  box-sizing: border-box;
} */

/* ---- Two-column Layout ---- */
.appointment-calendar-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin: 0 auto;
  align-items: start;
}

/* ============================================
   MAIN CALENDAR SECTION
   ============================================ */

.appointment-calendar-main {
  background: var(--cal-surface);
  border-radius: var(--cal-radius-lg);
  border: var(--cal-border);
  box-shadow: var(--cal-shadow);
  overflow: hidden;
      padding: 30px 24px;
}

/* ---- Individual Day Button ---- */
.calendar-day {
  position: relative;
  background: none;
  border: none;
  border-right: 1px solid #EEF1F6;
  border-bottom: 1px solid #EEF1F6;
  padding: 10px 8px 8px;
  min-height: 88px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: background 0.1s;
  text-align: left;
}

/* Remove right border on last column */
.calendar-day:nth-child(7n) {
  border-right: none;
}

/* Remove bottom border on last row */
/* .calendar-day:nth-last-child(-n+7) {
  border-bottom: none;
} */

.calendar-day:hover:not(:disabled) {
  background: var(--cal-accent-bg);
}

/* Empty filler days */.calendar-day
.calendar-day.is-empty {
  background: #FAFBFD;
  cursor: default;
}

/* Selected day */
.calendar-day.is-selected {
  background: var(--cal-accent-bg);
  box-shadow: inset 0 0 0 2px var(--cal-selected-ring);
  z-index: 1;
}

/* Today highlight */
.calendar-day.is-today .day-number {
  background: var(--cal-accent);
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---- Day Number ---- */
.day-number {
  font-size: 13px;
  font-weight: 500;
  color: var(--cal-text);
  line-height: 1;
  min-width: 26px;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.is-empty .day-number {
  color: var(--cal-text-faint);
}

/* ---- Appointment Count Badge ---- */
.day-count {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--cal-accent);
  background: var(--cal-blue-50);
  border-radius: 20px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
  /* Hidden when empty — becomes visible via JS */
}

.day-count:empty {
  display: none;
}

/* When day has appointments — add a bottom dot indicator */
.calendar-day.has-appointments::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cal-accent);
  opacity: 0.6;
}

/* ============================================
   ASIDE / SIDEBAR PANEL
   ============================================ */

.appointment-calendar-side {
  background: var(--cal-surface);
  border-radius: var(--cal-radius-lg);
  border: var(--cal-border);
  box-shadow: var(--cal-shadow);
  overflow: hidden;
  position: sticky;
  top: 24px;
}

/* ---- Side Header ---- */
.side-header {
  padding: 18px 20px 14px;
  border-bottom: var(--cal-border);
  background: linear-gradient(135deg, #F0F6FF 0%, #F8FAFB 100%);
}

.side-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--cal-text);
  letter-spacing: -0.01em;
}

/* ---- Day Events Container ---- */
.day-events {
  padding: 16px;
  min-height: 180px;
}

/* Empty state message */
.day-events-empty {
  margin: 0;
  font-size: 13px;
  color: var(--cal-text-faint);
  text-align: center;
  padding: 32px 16px;
  line-height: 1.5;
}

/* ---- Individual Event Item (for JS-injected events) ---- */
.day-event-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--cal-radius-md);
  border: 1px solid #EEF1F6;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s;
}

.day-event-item:last-child {
  margin-bottom: 0;
}

.day-event-item:hover {
  background: var(--cal-accent-bg);
  border-color: var(--cal-blue-100);
}

.day-event-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cal-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.day-event-info {
  flex: 1;
  min-width: 0;
}

.day-event-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--cal-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.day-event-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cal-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-event-meta {
  font-size: 11px;
  color: var(--cal-text-muted);
  margin-top: 2px;
}

/* ---- Status Badges ---- */
.event-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 8px;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.event-badge.confirmed {
  background: #E1F5EE;
  color: #085041;
}

.event-badge.pending {
  background: #FAEEDA;
  color: #633806;
}

.event-badge.cancelled {
  background: #FCEBEB;
  color: #791F1F;
}

/* ============================================
   WEEK VIEW — .calendar-days[data-view="week"]
   ============================================ */

/* .appointment-calendar-app[data-calendar-view="week"] .calendar-days {
  grid-template-columns: repeat(7, 1fr);
} */

.appointment-calendar-app[data-calendar-view="week"] .calendar-day {
  min-height: 140px;
}

/* ============================================
   DAY VIEW — .calendar-days[data-view="day"]
   ============================================ */

.appointment-calendar-app[data-calendar-view="day"] .calendar-days {
  grid-template-columns: 1fr;
}

.appointment-calendar-app[data-calendar-view="day"] .calendar-day {
  min-height: 60px;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #EEF1F6;
}

/* ============================================
   RESPONSIVE — Tablet & Mobile
   ============================================ */

@media (max-width: 860px) {
  .appointment-calendar-grid {
    grid-template-columns: 1fr;
  }

  .appointment-calendar-side {
    position: static;
  }
}

@media (max-width: 520px) {
  .calendar-day {
    min-height: 48px;
    padding: 6px 4px;
  }

  .day-number {
    font-size: 11px;
    min-width: 20px;
    min-height: 20px;
  }

  .calendar-month {
    font-size: 15px;
  }
/* 
  .calendar-view-btn {
    padding: 8px 12px;
    font-size: 12px;
  } */
}



/* ═══════════════════════════════════════════════════════════
   APPOINTMENT CALENDAR — CSS
   Works with the exact HTML structure from live-long.app
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ──────────────────────────────────────── */

/* ─── TWO-COLUMN GRID ───────────────────────────────────── */
.appointment-calendar-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
  align-items: start;
}

/* ─── MAIN SECTION ──────────────────────────────────────── */
.appointment-calendar-main {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   VIEW SWITCH  (Month / Week / Day tabs)
══════════════════════════════════════════════════════════ */

h2.appointment-calendar-title{
   margin-bottom: 0px;
}
.appointment-calendar-toolbar{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 24px 0px 30px;
}
/* .calendar-view-btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: none;
  border-right: 1px solid #eef0f5;
  cursor: pointer;
  color: #7c7f96;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.2px;
} */
/* .calendar-view-btn:last-child {
  border-right: none;
}
.calendar-view-btn:hover {
  background: #f8f9fc;
  color: #1a1a2e;
}
.calendar-view-btn.is-active {
  background: #f0f4ff;
  color: #3b3b3b;
  font-weight: 600;
} */

/* ══════════════════════════════════════════════════════════
   NAVIGATION BAR  (Prev / Title / Next)
══════════════════════════════════════════════════════════ */
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #eef0f5;
}

.calendar-nav-btn {
  background: #f0f4ff;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #3b3b3b;
  cursor: pointer;
  transition: background 0.15s;
}
.calendar-nav-btn:hover {
  background: #dbe4ff;
}

/* ══════════════════════════════════════════════════════════
   WEEKDAY HEADER ROW  (Mon Tue Wed …)
   Used in month view — JS sets display:none / display:grid
══════════════════════════════════════════════════════════ */

.appointment-calendar-app[data-calendar-view="week"] .calendar-weekdays{
  display: grid!important;
}
.appointment-calendar-app[data-calendar-view="month"] .calendar-weekdays,
.appointment-calendar-app[data-calendar-view="week"] .calendar-weekdays,
.appointment-calendar-app[data-calendar-view="day"] .calendar-weekdays {
  display: grid;                          /* JS overrides per view */
  grid-template-columns: repeat(7, 1fr);
  background: #fafbff;
  border-bottom: 1px solid #eef0f5;
}.appointment-calendar-app[data-calendar-view="month"] .calendar-days{
  display: grid;                          /* JS overrides per view */
  grid-template-columns: repeat(7, 1fr);
  background: #fafbff;
  border-bottom: 1px solid #eef0f5;
}
.appointment-calendar-app[data-calendar-view="month"] .calendar-weekdays span,
.appointment-calendar-app[data-calendar-view="week"] .calendar-weekdays span{
  text-align: center;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 600;
  background-color: var(--primary_color);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ══════════════════════════════════════════════════════════
   WEEK VIEW
══════════════════════════════════════════════════════════ */
.calendar-week-columns {
  display: contents;
  /* grid-template-columns: repeat(7, 1fr); */
}

.calendar-week-day {
  padding: 12px 10px;
  cursor: pointer;
  border-right: 1px solid #eef0f5;
  min-height: 110px;
  transition: background 0.12s;
  outline: none;
}
.calendar-week-day:last-child {
  border-right: none;
}
.calendar-week-day:hover {
  background: #f8f9fc;
}
.calendar-week-day:focus-visible {
  box-shadow: inset 0 0 0 2px #3b5bdb;
}

/* Selected day */
.calendar-week-day.is-selected {
  background: #f0f4ff;
}

/* Today highlight on the number */
.calendar-week-day.is-today .week-day-number {
  background: #3b5bdb;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Day label (Mon, Tue …) */
.week-day-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #9ea3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* Day number */
.week-day-number {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 6px;
}

/* Appointment count badge */
.week-day-count {
  display: block;
  font-size: 10px;
  color: #9ea3b8;
  margin-bottom: 8px;
}

/* Preview time pills */
.week-day-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.week-day-preview-item {
  display: block;
  font-size: 10px;
  background: #e8edff;
  color: #3b5bdb;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════
   MONTH VIEW
   JS injects .calendar-month-grid with .calendar-month-cell
══════════════════════════════════════════════════════════ */
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-month-cell {
  border-right: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
  padding: 8px;
  min-height: 84px;
  cursor: pointer;
  transition: background 0.12s;
}
.calendar-month-cell:nth-child(7n) {
  border-right: none;
}
.calendar-month-cell:hover {
  background: #f8f9fc;
}
.calendar-month-cell.is-selected {
  background: #f0f4ff;
}
.calendar-month-cell.is-other-month .month-day-num {
  color: #c8ccdb;
}

/* Day number inside month cell */
.month-day-num {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}
.calendar-month-cell.is-today .month-day-num {
  background: #3b5bdb;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

/* Appointment pills in month cells */
.month-apt-pill {
  display: block;
  font-size: 10px;
  background: #e8edff;
  color: #3b5bdb;
  border-radius: 3px;
  padding: 1px 5px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.month-apt-more {
  display: block;
  font-size: 10px;
  color: #9ea3b8;
  margin-top: 2px;
  padding: 1px 5px;
}

/* ══════════════════════════════════════════════════════════
   DAY VIEW
   JS injects .calendar-day-view with .day-hour-row blocks
══════════════════════════════════════════════════════════ */
.calendar-day-view {
  overflow-y: auto;
  max-height: 480px;
}

.day-hour-row {
  display: flex;
  border-bottom: 1px solid #eef0f5;
  min-height: 52px;
}

.day-hour-label {
  width: 64px;
  flex-shrink: 0;
  padding: 8px 12px 0;
  font-size: 11px;
  color: #9ea3b8;
  font-weight: 500;
}

.day-hour-slot {
  flex: 1;
  padding: 4px 12px;
}

.day-apt-block {
  background: #e8edff;
  border-left: 3px solid #3b5bdb;
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 4px;
}
.day-apt-name {
  font-size: 12px;
  font-weight: 600;
  color: #3b5bdb;
}
.day-apt-meta {
  font-size: 11px;
  color: #6172d4;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════
   SIDE PANEL
══════════════════════════════════════════════════════════ */
.appointment-calendar-side {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
}

.side-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f5;
  background: #fafbff;
}
.side-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

/* Day events list */
.day-events {
  padding: 12px 16px;
}

.day-events-empty {
  font-size: 13px;
  color: #9ea3b8;
  text-align: center;
  padding: 28px 0;
}

/* Individual event card (injected by JS) */
.day-event-card {
  border: 1px solid #eef0f5;
  border-left: 3px solid #3b5bdb;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.12s;
}
.day-event-card:hover {
  background: #f8f9fc;
}
.day-event-time {
  font-size: 11px;
  font-weight: 600;
  color: #3b5bdb;
  margin-bottom: 2px;
}
.day-event-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}
.day-event-sub {
  font-size: 12px;
  color: #7c7f96;
  margin-top: 1px;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .appointment-calendar-grid {
    grid-template-columns: 1fr;
  }
  .appointment-calendar-side {
    display: none;
  }
  .calendar-week-day {
    padding: 8px 5px;
    min-height: 80px;
  }
  .week-day-number {
    font-size: 16px;
  }
}
/* ═══════════════════════════════════════════════════════════
   APPOINTMENT CALENDAR — CSS
   Works with the exact HTML structure from live-long.app
   ═══════════════════════════════════════════════════════════ */

/* ─── TWO-COLUMN GRID ───────────────────────────────────── */
.appointment-calendar-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
  align-items: start;
}

/* ─── MAIN SECTION ──────────────────────────────────────── */
.appointment-calendar-main {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
}

.calendar-month {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  letter-spacing: -0.2px;
}

/* ══════════════════════════════════════════════════════════
   WEEK VIEW
══════════════════════════════════════════════════════════ */
.calendar-week-columns {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-week-day {
  padding: 12px 10px;
  cursor: pointer;
  border-right: 1px solid #eef0f5;
  min-height: 110px;
  transition: background 0.12s;
  outline: none;
}
.calendar-week-day:last-child {
  border-right: none;
}
.calendar-week-day:hover {
  background: #f8f9fc;
}
.calendar-week-day:focus-visible {
  box-shadow: inset 0 0 0 2px #3b5bdb;
}

/* Selected day */
.calendar-week-day.is-selected {
  background: #f0f4ff;
}

/* Today highlight on the number */
.calendar-week-day.is-today .week-day-number {
  background: #3b5bdb;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Day label (Mon, Tue …) */
.week-day-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #9ea3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* Day number */
.week-day-number {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 6px;
}

/* Appointment count badge */
.week-day-count {
  display: block;
  font-size: 10px;
  color: #9ea3b8;
  margin-bottom: 8px;
}

/* Preview time pills */
.week-day-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.week-day-preview-item {
  display: block;
  font-size: 10px;
  background: #e8edff;
  color: #3b5bdb;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════
   MONTH VIEW
   JS injects .calendar-month-grid with .calendar-month-cell
══════════════════════════════════════════════════════════ */
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-month-cell {
  border-right: 1px solid #eef0f5;
  border-bottom: 1px solid #eef0f5;
  padding: 8px;
  min-height: 84px;
  cursor: pointer;
  transition: background 0.12s;
}
.calendar-month-cell:nth-child(7n) {
  border-right: none;
}
.calendar-month-cell:hover {
  background: #f8f9fc;
}
.calendar-month-cell.is-selected {
  background: #f0f4ff;
}
.calendar-month-cell.is-other-month .month-day-num {
  color: #c8ccdb;
}

/* Day number inside month cell */
.month-day-num {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}
.calendar-month-cell.is-today .month-day-num {
  background: #3b5bdb;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

/* Appointment pills in month cells */
.month-apt-pill {
  display: block;
  font-size: 10px;
  background: #e8edff;
  color: #3b5bdb;
  border-radius: 3px;
  padding: 1px 5px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.month-apt-more {
  display: block;
  font-size: 10px;
  color: #9ea3b8;
  margin-top: 2px;
  padding: 1px 5px;
}

/* ══════════════════════════════════════════════════════════
   DAY VIEW  — .calendar-day-panel  (actual HTML structure)
══════════════════════════════════════════════════════════ */

/* Outer panel wrapper */
.calendar-day-panel {
  padding: 16px 20px;
}

/* "1 appointment(s)" count line */
.calendar-day-panel-count {
  font-size: 12px;
  font-weight: 600;
  color: #9ea3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* Timeline container — vertical stack of cards */
.calendar-day-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

/* Vertical line on the left */
/* .calendar-day-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e8edff;
  border-radius: 2px;
} */

/* Each appointment card */
.calendar-day-timeline-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eef0f5;
  border-left: 3px solid #3b5bdb;
  border-radius: 10px;
  padding: 12px 14px 12px 24px;
  transition: background 0.12s, box-shadow 0.12s;
  cursor: default;
}
.calendar-day-timeline-card:hover {
  background: #f8f9ff;
  box-shadow: 0 2px 8px rgba(59, 91, 219, 0.08);
}

/* Dot on the timeline line */
.calendar-day-timeline-card::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 16px;
  width: 10px;
  height: 10px;
  background: #3b5bdb;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Time range — "12:00 pm - 12:30 pm" */
.timeline-time {
  font-size: 11px;
  font-weight: 600;
  color: #3b5bdb;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

/* Doctor / appointment name */
.timeline-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 3px;
}

/* "Doctor: Dr. John Doe" meta line */
.timeline-meta {
  font-size: 12px;
  color: #7c7f96;
}

/* ══════════════════════════════════════════════════════════
   SIDE PANEL
══════════════════════════════════════════════════════════ */
.appointment-calendar-side {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
}

.side-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f5;
  background: #fafbff;
}
.side-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

/* Day events list */
.day-events {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day-events-empty {
  font-size: 13px;
  color: #9ea3b8;
  text-align: center;
  padding: 28px 0;
}

/* ── Side event card ── */
.day-event-card {
  border: 1px solid #eef0f5;
  border-left: 3px solid #3b5bdb;
  border-radius: 10px;
  padding: 12px 14px;
  transition: background 0.12s;
}
.day-event-card:hover {
  background: #f8f9ff;
}

/* Card header: name + status badge */
.day-event-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.day-event-header strong {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

/* Status badges */
.status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.status-badge.is-complete {
  background: #d3f9d8;
  color: #2f9e44;
}
.status-badge.is-pending {
  background: #fff3bf;
  color: #e67700;
}
.status-badge.is-cancelled {
  background: #ffe3e3;
  color: #c92a2a;
}
.status-badge.is-confirmed {
  background: #e8edff;
  color: #3b5bdb;
}

/* Meta rows: time, type, doctor */
.day-event-meta {
  font-size: 12px;
  color: #7c7f96;
  margin: 0 0 3px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.day-event-meta span {
  display: inline-block;
}
.day-event-meta span + span::before {
  content: '·';
  margin-right: 8px;
  color: #c8ccdb;
}

/* "Open appointment" link */
.day-event-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #3b5bdb;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid #dbe4ff;
  border-radius: 6px;
  transition: background 0.12s;
}
.day-event-link:hover {
  background: #f0f4ff;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .appointment-calendar-grid {
    grid-template-columns: 1fr;
  }
  .appointment-calendar-side {
    display: none;
  }
  .calendar-week-day {
    padding: 8px 5px;
    min-height: 80px;
  }
  .week-day-number {
    font-size: 16px;
  }
}
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-nav-btn {
  position: relative;
  font-size: 0; /* text hide */
  width: 42px;
  height: 42px;
  border: none;
  background: #f5f7fa;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calendar-nav-btn:hover {
  background: #e4e7eb;
}

/* common icon style */
.calendar-nav-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  background-size: contain;
  background-repeat: no-repeat;
}

/* PREV icon (left arrow SVG) */
.calendar-nav-btn[data-calendar-nav="prev"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23333' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");

}

/* NEXT icon (right arrow SVG) */
.calendar-nav-btn[data-calendar-nav="next"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23333' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");

}

.calendar-month {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* ═══════════════════════════════════════════════════════════
   CHECKBOX TOGGLE + REVEAL INPUT
   Parent: .prescription-left-col
   ═══════════════════════════════════════════════════════════ */

/* ─── CHECKBOX FORM ITEM WRAPPER ────────────────────────── */
.prescription-left-col .form-item-left-symptoms-other-toggle {
  display: flex;
  align-items: self-start;
  cursor: pointer;
  gap: 10px;
}
/* ─── HIDE NATIVE CHECKBOX ──────────────────────────────── */
.prescription-left-col .form-item-left-symptoms-other-toggle .form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 44px;
  margin-bottom: 0px;
  height: 24px;
  background: #979797;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease;
  outline: none;
}
.prescription-left-col .form-item-left-symptoms-other label{
  display: none!important;
}
/* ─── SLIDING CIRCLE ────────────────────────────────────── */
.prescription-left-col .form-item-left-symptoms-other-toggle .form-checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.25s ease;
}
 
/* ─── CHECKED STATE ─────────────────────────────────────── */
.prescription-left-col .form-item-left-symptoms-other-toggle .form-checkbox:checked {
  background: #000;
}
.prescription-left-col .form-item-left-symptoms-other-toggle .form-checkbox:checked::after {
  transform: translateX(20px);
}
 
/* ─── LABEL ─────────────────────────────────────────────── */
.prescription-left-col .form-item-left-symptoms-other-toggle .option {
  font-size: 13px;
  font-weight: 500;
  color: #979797;
  cursor: pointer;
  transition: color 0.2s;
}
.prescription-left-col .form-item-left-symptoms-other-toggle .form-checkbox:checked ~ .option {
  color: #000;
  font-weight: 600;
}
/* ============================================================
   Doctor Dashboard — Light Professional Theme
   Live Long App — Mediclert
   ONLY class-based selectors — no :root, no element tags
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Lora:ital,wght@0,500;0,600&display=swap');

/* ══════════════════════════════════════════════════════════════
   MAIN GRID
   ══════════════════════════════════════════════════════════════ */

.dd-main-grid {
  gap: 24px;
  padding: 24px;
  font-family: 'DM Sans', sans-serif;
}

/* ══════════════════════════════════════════════════════════════
   PROFILE CARD — LEFT COLUMN
   ══════════════════════════════════════════════════════════════ */

.dd-profile-card {
  background: #ffffff;
  border: 1px solid #e8edf3 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(26, 45, 80, 0.07), 0 1px 3px rgba(26, 45, 80, 0.05);
  overflow: hidden;
}
.dd-profile-avatar {
  width: 68px !important;
  height: 68px !important;
  border: 2px solid #dce8f7;
  box-shadow: 0 4px 16px rgba(26, 77, 143, 0.14);
  border-radius: 50% !important;
  margin-bottom: 12px;
}

.dd-doctor-name {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.dd-doctor-specialization {
  font-size: 12px !important;
  color: #94a3b8 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.dd-status-wrapper {
  margin-top: 12px !important;
}

.dd-status-badge {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px !important;
  border-radius: 100px !important;
}

.dd-status-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Info List ─────────────────────────────────────────────── */

.dd-profile-details {
  padding: 20px !important;
}

.dd-info-list {
  display: flex;
  flex-direction: column;
}

.dd-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #eef2f8;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.dd-info-item:hover {
  border-color: #dce8f7;
  background: #f0f5ff;
}

.dd-info-icon {
  color: #3b82f6 !important;
  flex-shrink: 0;
  margin-top: 2px !important;
  width: 15px !important;
  height: 15px !important;
  stroke: #3b82f6;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dd-info-content {
  flex: 1;
  min-width: 0;
}

.dd-info-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8 !important;
  margin-bottom: 3px !important;
}

.dd-info-value {
  font-size: 13px !important;
  color: #334155 !important;
  line-height: 1.5;
  word-break: break-word;
}

.dd-info-address .field--name-field-address .address {
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   RIGHT — TABS
   ══════════════════════════════════════════════════════════════ */

.dd-right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dd-tabs-wrapper {
  width: 100%;
}
.dd-tablist {
  /* background: #f1f5f9 !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  padding: 5px !important; */
  margin-bottom: 18px !important;
  background: #fafbfd;

  border: 1px solid #e8edf3;
    box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
  display: grid;
  width: fit-content;
  gap: 3px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.dd-tab {
  background: transparent !important;
  color: #64748b !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 9px 14px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.dd-tab:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

.dd-tab[data-state="active"],
.dd-tab[aria-selected="true"] {
  background: #ffffff !important;
  color: var(--primary_color) !important;
  font-weight: 600 !important;
  /* box-shadow: 0 1px 6px rgba(26, 45, 80, 0.10) !important; */
}

/* ── All Cards ─────────────────────────────────────────────── */

.dd-about-card,
.dd-tabpanel .rounded-lg {
  background: #ffffff !important;
  border: 1px solid #e8edf3 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 8px rgba(26, 45, 80, 0.06);
  overflow: hidden;
}

.dd-card-header,
.dd-about-card .dd-card-header {
  padding: 18px 22px !important;
  border-bottom: 1px solid #f0f4f9;
  background: #fafbfd;
}

.dd-card-body {
  padding: 18px 22px !important;
}

.dd-about-text,
.dd-about-card .field__item {
  font-size: 13.5px !important;
  color: #475569 !important;
  line-height: 1.75;
}

/* ── Today's Schedule card header (no dd- class, target by context) ── */

.dd-overview-panel .rounded-lg > .space-y-1\.5 {
  padding: 18px 22px !important;
  border-bottom: 1px solid #f0f4f9;
  background: #fafbfd;
}

.dd-overview-panel .rounded-lg > .p-3,
.dd-overview-panel .rounded-lg > .p-4 {
  padding: 18px 22px !important;
}

/* Empty state */
.dd-overview-panel .empty {
  text-align: center;
  color: #cbd5e1;
  font-size: 13px;
  padding: 28px 0;
  font-style: italic;
}

/* ── Action Buttons (View Calendar, New Appointment, All Patients) ── */

/* .site-buttons {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  border-radius: 9px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  padding: 7px 14px !important;
  height: auto !important;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-buttons:hover {
  background: #f0f5ff !important;
  border-color: #bfdbfe !important;
  color: var(--primary_color) !important;
} */

/* Appointment panel header buttons */
/* .dd-appointments-panel .rounded-lg a.inline-flex,
.dd-patients-panel .rounded-lg > div:first-child a.inline-flex,
.dd-overview-panel .rounded-lg a.inline-flex {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  border-radius: 9px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  padding: 7px 14px !important;
  height: auto !important;
  text-decoration: none;
  transition: all 0.18s;
}

.dd-appointments-panel .rounded-lg a.inline-flex:hover,
.dd-patients-panel .rounded-lg > div:first-child a.inline-flex:hover,
.dd-overview-panel .rounded-lg a.inline-flex:hover {
  background: #f0f5ff !important;
  border-color: #bfdbfe !important;
  color: var(--primary_color) !important;
} */

/* ══════════════════════════════════════════════════════════════
   APPOINTMENT PANEL — Table
   ══════════════════════════════════════════════════════════════ */

.dd-appointments-panel .rounded-lg > .space-y-1\.5,
.dd-appointments-panel .rounded-lg > div:first-child {
  padding: 18px 22px !important;
  border-bottom: 1px solid #f0f4f9;
  background: #fafbfd;
}

.dd-appointments-panel .rounded-lg h2 {
  font-weight: 600 !important;
  color: #0f172a !important;
  margin-bottom: 0 !important;
}

.dd-appointments-panel .rounded-lg .text-muted-foreground {
  font-size: 12px !important;
  color: #94a3b8 !important;
}

.dd-appointments-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.dd-appointments-panel thead tr {
  border-bottom: 1px solid #f0f4f9 !important;
}

.dd-appointments-panel th {
  padding: 11px 14px !important;
  color: #94a3b8 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: #fafbfd;
  text-align: left;
}

.dd-appointments-panel tbody tr {
  border-bottom: 1px solid #f8fafc !important;
  transition: background 0.15s;
}

.dd-appointments-panel tbody tr:last-child {
  border-bottom: none !important;
}

.dd-appointments-panel tbody tr:hover {
  background: #f8fafc !important;
}

.dd-appointments-panel td {
  padding: 12px 14px !important;
  color: #64748b !important;
  vertical-align: middle !important;
}

.dd-appointments-panel td.font-medium {
  color: #1e293b !important;
  font-weight: 500 !important;
}

/* Status badge — fix Cancelled showing as green */
.dd-appointments-panel td span.text-green-500 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  color: #dc2626 !important;
  border: 1px solid #fecaca;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dd-appointments-panel td span.text-green-500::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PATIENTS PANEL — Table
   ══════════════════════════════════════════════════════════════ */

.dd-patients-panel .rounded-lg > .space-y-1\.5,
.dd-patients-panel .rounded-lg > div:first-child {
  padding: 18px 22px !important;
  border-bottom: 1px solid #f0f4f9;
  background: #fafbfd;
}

.dd-patients-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.dd-patients-panel thead tr {
  border-bottom: 1px solid #f0f4f9 !important;
}

.dd-patients-panel th {
  padding: 11px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: #fafbfd;
  text-align: left;
}

.dd-patients-panel tbody tr {
  border-bottom: 1px solid #f8fafc !important;
  transition: background 0.15s;
}

.dd-patients-panel tbody tr:last-child {
  border-bottom: none !important;
}

.dd-patients-panel tbody tr:hover {
  background: #f8fafc !important;
}

.dd-patients-panel td {
  padding: 12px 14px !important;
  color: #64748b !important;
  vertical-align: middle !important;
}

.dd-patients-panel td.font-medium {
  color: #1e293b !important;
  font-weight: 500 !important;
}

/* View button */
.dd-patients-panel td a {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 5px 14px !important;
  height: auto !important;
  text-decoration: none;
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
}

.dd-patients-panel td a:hover {
  background: #f0f5ff !important;
  border-color: #bfdbfe !important;
  color: var(--primary_color) !important;
}

/* Table scroll */
.dd-appointments-panel .overflow-auto,
.dd-patients-panel .overflow-auto {
  overflow-x: auto;
}

.dd-appointments-panel .overflow-auto::-webkit-scrollbar,
.dd-patients-panel .overflow-auto::-webkit-scrollbar {
  height: 4px;
}

.dd-appointments-panel .overflow-auto::-webkit-scrollbar-track,
.dd-patients-panel .overflow-auto::-webkit-scrollbar-track {
  background: #f8fafc;
}

.dd-appointments-panel .overflow-auto::-webkit-scrollbar-thumb,
.dd-patients-panel .overflow-auto::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .dd-main-grid {
    padding: 14px;
    gap: 14px;
  }

  .dd-profile-header {
    padding: 22px 16px 18px !important;
  }

  .dd-profile-details {
    padding: 14px !important;
  }

  .dd-tablist {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .dd-tab {
    font-size: 12px !important;
    padding: 8px 8px !important;
  }

  .dd-card-header,
  .dd-card-body {
    padding: 14px 16px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

.dd-profile-card {
  animation: ddFadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dd-about-card {
  animation: ddFadeUp 0.38s 0.04s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* Vertical Tabs Styling for doctor-register-or-edit-form */
/* #doctor-register-or-edit-form .vertical-tabs__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item.last {
  border-bottom: none;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item:hover a {
  background-color: #f0f0f0;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item.is-selected a {
  background-color: #007bff;
  color: white;
  border-left: 4px solid #0056b3;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item-title {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

#doctor-register-or-edit-form .vertical-tabs__menu-item-summary {
  display: block;
  font-size: 12px;
  color: #666;
}

#doctor-register-or-edit-form .is-selected .vertical-tabs__menu-item-summary {
  color: #e0e0e0;
}

#doctor-register-or-edit-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Active tab indicator */
#doctor-register-or-edit-form #active-vertical-tab {
  font-size: 12px;
  margin-left: 10px;
} 

.scrollbar::-webkit-scrollbar {
  width: 10px;
}

