:root {
	--primary_color: #222;
	--secondary_color: hsl(145, 63%, 49%);
	--tertiary_color: #747474;

	--addit_black: #000000;
	--addit_white: #ffffff;
	--gray_color: #333;

	--red_color: #ef4444;
	--green_color: #22c55e;
	--orange_color: #f59e0b;
	--blue_color: #3b82f6;

	--primary_font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--secondary_font: "Inter", "Inter Fallback", sans-serif;

	--primary_border: #e5e7eb;
}

* {
	font-family: "Inter";
}

body {
	background-color: #fbfbfb;
	color: #000009;
}

p {
	color: var(--gray_color);
	font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: auto;
	color: var(--primary_color);
}

a,
a:hover,
a:focus {
	text-decoration: none;
	transition: all 0.5s;
}

/* body .text-sm{
	font-size: 16px;
} */
.focus\:ring-ring:focus {
	--tw-ring-color: transparent;
}

.hover\:text-foreground:hover {
	background-color: #5c91e117;
}

input[type="radio"] {
	accent-color: var(--primary_color);
}

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;
}

.messages--status {
	color: #000;
	background-image: url('../images/check.svg');
	/* border-color: #00000014  #00000014  #00000014  transparent; */
	/* background-color: #96969626; */
	/* box-shadow: -8px 0 0 #000; */
}
button, input, optgroup, select, textarea{
	font-size: 14px;
}
.btn.focus,
.btn:focus,
button,
button:hover,
button:focus {
	border: none;
	box-shadow: none;
	outline: none;
}

@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/materialicons/v145/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)format('woff2');
}

.column-4 {
	width: 32%;
	transition: all 0.2s ease;
}

.column-4:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border-radius: 10px;
}

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 18px !important;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	/* -webkit-font-feature-settings: 'liga'; */
	-webkit-font-smoothing: antialiased;
}

.operation-hidden,
.temp-hide {
	display: none;
}

.views-view-table span.pending,
.views-view-table span.completed,
.views-view-table span.in-progress,
.views-view-table span.delivered,
.views-view-table span.cancelled,
.views-view-table span.scheduled,
.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 {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 2px 6px;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* heading 2 design ------ */
/* .dashboard-section.patients_section h2, */
.appointment-calendar-title,
.order-confirmation .thank-you h2,
#appointment-details .check-up-appointment h2,
#block-livelong-content .my-orders-page h2 .dashboard-section--records h2,
.dashboard-section--medications h2,
.dashboard-section--appointments h2,
.dashboard-section.patients_section h2,
.dashboard-section.performance_section h2,
.dashboard-section.overview h2,
.dashboard-section.next-appointment>h2,
.dashboard-section.appointments>h2,
.dashboard-section.records>h2,
.dashboard-section.medications>h2 {
	font-size: 22px;
	font-weight: 600;
	color: #000000;
	margin-bottom: 18px;
}

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

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

/* buttons css --------------- */
.invoice-actions .button--secondary,
.invoice-item-remove,
.prescription-admin-form .prescription-form-actions a {
	background: #db2334;
	border: 1px solid #db2334;
	/* margin:auto; */
	color: var(--addit_white);
	transition: all 0.5s;
	border-radius: 5px;
	font-size: 16px;
	padding: 8px 20px;
	transition: all 0.3s;
	line-height: normal;
	width: auto;
}

.invoice-actions .button--secondary:hover,
.invoice-item-remove:hover,
.prescription-admin-form .prescription-form-actions a:hover {
	background-color: var(--addit_white);
	background: var(--addit_white);
	color: #db2334;
	border: 1px solid #db2334;
}

/* botton design */
.patient-info-link a,
.invoice-actions .button--primary,
#invoice-items-totals-wrapper .invoice-items-section .btn-secondary,
#views-exposed-form-pharmacy-orders-page-1 .form-submit,
.node-medication-form .button--primary,
.prescription-admin-form input.form-submit,
#prescription-lines-wrapper .prescription-lines-actions input,
.patient-manual-register-form #edit-submit,
.appointment-custom-node-form #edit-submit,
.appointment-custom-node-form #edit-patients-card #edit-body--2 a,
.prescription-assign-patient-form .form-submit,
#lab-report-add-form .form-actions input.button--primary,
.views-exposed-form .form-actions .button,
.patient-lab-report-card .patient-lab-report-cards .site-buttons,
.dashboard-section.appointments .patient-card__footer .btn,
.appointment-calendar-actions .button--primary,
#doctor-register-or-edit-form #edit-row-booking .slot-plan-add-btn,
#doctor-register-or-edit-form #edit-submit,
#doctor-register-or-edit-form #edit-tab-media .media-library-open-button,
.media-library-wrapper .views-exposed-form .button,
input[type="reset"],
input[type="submit"],
.site-buttons {
	background-color: var(--primary_color);
	background: var(--primary_color);
	color: var(--addit_white);
	border: 1px solid var(--primary_color);
	transition: all 0.5s;
	border-radius: 5px;
	font-size: 16px;
	padding: 8px 20px;
	line-height: normal;
	font-weight: 500;
	transition: all 0.3s;
	width: auto;
}
.media-library-wrapper .views-exposed-form .button:hover,
#doctor-register-or-edit-form #edit-tab-media .media-library-open-button:hover,
.patient-info-link a:hover,
.invoice-actions .button--primary:hover,
#doctor-register-or-edit-form #edit-row-booking .slot-plan-add-btn:hover,
#invoice-items-totals-wrapper .invoice-items-section .btn-secondary:hover,
#views-exposed-form-pharmacy-orders-page-1 .form-submit:hover,
.node-medication-form .button--primary:hover,
.prescription-admin-form input.form-submit:hover,
#prescription-lines-wrapper .prescription-lines-actions input:hover,
.patient-manual-register-form #edit-submit:hover,
.appointment-custom-node-form #edit-submit:hover,
.appointment-custom-node-form #edit-patients-card #edit-body--2 a:hover,
.prescription-assign-patient-form .form-submit:hover,
#lab-report-add-form .form-actions input.button--primary:hover,
.views-exposed-form .form-actions .button:hover,
.patient-lab-report-card .patient-lab-report-cards .site-buttons:hover,
.dashboard-section.appointments .patient-card__footer .btn:hover,
.appointment-calendar-actions .button--primary:hover,
#doctor-register-or-edit-form #edit-submit:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.site-buttons:hover {
	background-color: var(--addit_white);
	background: var(--addit_white);
	color: var(--primary_color);
	border: 1px solid var(--primary_color);
}

/* input search button-------------- */

.prescription-admin-form #edit-left-patient,
#block-livelong-content .prescription-admin-form .prescription-medication-autocomplete,
.appointment-custom-node-form #edit-field-patients {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px;
	padding-left: 35px;
}
#block-livelong-content .appointment-custom-node-form #edit-field-patients{
    padding-left: 10px;
}
/* box shadow design------------ */
/* .doctor-patients,
#prescription-admin-form fieldset.prescription-lines-table-wrapper,
#prescription-admin-form .prescription-left-col {
	background: var(--addit_white);
	padding: 16px;
	border-radius: 12px;
	border: 0px solid #ddd;
	box-shadow: 0px 1px 26px 4px rgba(0, 0, 0, 0.06);
	transition: all 0.25s ease;
} */

/* ===== Card ===== */

.dashboard-section-tabs .dashboard-border,
.dashboard-card {
	background: var(--addit_white);
	border: 1px solid var(--primary_border);
	border-radius: 14px;
	padding: 0px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.25s ease;
}

.dashboard-section-tabs .dashboard-border:hover,
.dashboard-card:hover {
	box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
	transform: translateY(-2px);
}


/* buttons css --------------- */
.invoice-actions .button--secondary,
.invoice-item-remove,
.prescription-admin-form .prescription-form-actions a {
	background: #db2334;
	border: 1px solid #db2334;
	/* margin:auto; */
	color: var(--addit_white);
	transition: all 0.5s;
	border-radius: 5px;
	font-size: 16px;
	padding: 8px 20px;
	transition: all 0.3s;
	line-height: normal;
	width: auto;
}

.invoice-actions .button--secondary:hover,
.invoice-item-remove:hover,
.prescription-admin-form .prescription-form-actions a:hover {
	background-color: var(--addit_white);
	background: var(--addit_white);
	color: #db2334;
	border: 1px solid #db2334;
}

/* botton design */
.patient-info-link a,
.invoice-actions .button--primary,
#invoice-items-totals-wrapper .invoice-items-section .btn-secondary,
#views-exposed-form-pharmacy-orders-page-1 .form-submit,
.node-medication-form .button--primary,
.prescription-admin-form input.form-submit,
#prescription-lines-wrapper .prescription-lines-actions input,
.patient-manual-register-form #edit-submit,
.appointment-custom-node-form #edit-submit,
.appointment-custom-node-form #edit-patients-card #edit-body--2 a,
.prescription-assign-patient-form .form-submit,
#lab-report-add-form .form-actions input.button--primary,
.views-exposed-form .form-actions .button,
.patient-lab-report-card .patient-lab-report-cards .site-buttons,
.dashboard-section.appointments .patient-card__footer .btn,
input[type="reset"],
input[type="submit"],
.site-buttons {
	background-color: var(--primary_color);
	background: var(--primary_color);
	color: var(--addit_white);
	border: 1px solid var(--primary_color);
	transition: all 0.5s;
	border-radius: 5px;
	font-size: 16px;
	padding: 8px 20px;
	line-height: normal;
	font-weight: 500;
	transition: all 0.3s;
	width: auto;
}

.patient-info-link a:hover,
.invoice-actions .button--primary:hover,
#invoice-items-totals-wrapper .invoice-items-section .btn-secondary:hover,
#views-exposed-form-pharmacy-orders-page-1 .form-submit:hover,
.node-medication-form .button--primary:hover,
.prescription-admin-form input.form-submit:hover,
#prescription-lines-wrapper .prescription-lines-actions input:hover,
.patient-manual-register-form #edit-submit:hover,
.appointment-custom-node-form #edit-submit:hover,
.appointment-custom-node-form #edit-patients-card #edit-body--2 a:hover,
.prescription-assign-patient-form .form-submit:hover,
#lab-report-add-form .form-actions input.button--primary:hover,
.views-exposed-form .form-actions .button:hover,	
.patient-lab-report-card .patient-lab-report-cards .site-buttons:hover,
.dashboard-section.appointments .patient-card__footer .btn:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.site-buttons:hover {
	background-color: var(--addit_white);
	background: var(--addit_white);
	color: var(--primary_color);
	border: 1px solid var(--primary_color);
}

/* input search button-------------- */
.prescription-admin-form #edit-left-patient
{
	padding-left: 15px;
}
.prescription-admin-form #edit-left-patient,
#block-livelong-content .prescription-admin-form .prescription-medication-autocomplete,
.appointment-custom-node-form #edit-field-patients {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 10px center;
	background-size: 16px;
	padding-left: 35px;
}

/* box shadow design------------ */
/* #prescription-admin-form fieldset.prescription-lines-table-wrapper,
#prescription-admin-form .prescription-left-col {
	background: var(--addit_white);
	padding: 16px;
	border-radius: 12px;
	border: 0px solid #ddd;
	box-shadow: 0px 1px 26px 4px rgba(0, 0, 0, 0.06);
} */

.ml-overlay {
  min-height: 560px;
  background: rgba(15,15,25,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

.ml-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

/* Header */
.ml-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.ml-header-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ml-header-title svg { color: #7F77DD; }
.ml-close {
  width: 32px; height: 32px;
  border: none; background: #f4f5f7;
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; font-size: 18px; font-weight: 300;
  transition: background .15s;
}
.ml-close:hover { background: #FCEBEB; color: #A32D2D; }

/* Toolbar: filter + view toggle */
.ml-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #f9fafb;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ml-toolbar-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.ml-search {
  flex: 1;
  min-width: 140px;
  height: 34px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 0 12px 0 32px;
  font-size: 13px;
  color: #1a1a2e;
  background: #fff 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='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") no-repeat 10px center;
  outline: none;
  transition: border-color .15s;
}
.ml-search:focus { border-color: #7F77DD; }

.ml-sort {
  height: 34px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  background: #fff;
  color: #374151;
  outline: none;
  cursor: pointer;
}

.ml-apply {
  height: 34px;
  padding: 0 14px;
  border: 1px solid #7F77DD;
  border-radius: 8px;
  background: #EEEDFE;
  color: #3C3489;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.ml-apply:hover { background: #CECBF6; }

/* View toggle */
.ml-view-toggle {
  display: flex;
  gap: 2px;
  background: #f0f0f0;
  border-radius: 7px;
  padding: 3px;
}
.ml-view-btn {
  width: 28px; height: 28px;
  border: none; background: transparent;
  border-radius: 5px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; transition: all .15s;
}
.ml-view-btn.active { background: #fff; color: #3C3489; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Body */
.ml-body {
  overflow-y: auto;
  padding: 20px 24px;
  flex: 1;
}

/* Image grid */
.ml-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.ml-item {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #f4f5f7;
  transition: border-color .15s, box-shadow .15s;
}
.ml-item:hover { border-color: #b8b3e8; box-shadow: 0 2px 8px rgba(127,119,221,.12); }
.ml-item.selected { border-color: #7F77DD; box-shadow: 0 0 0 3px rgba(127,119,221,.15); }

.ml-item-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eceaf8;
}
.ml-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ml-item-name {
  padding: 7px 8px;
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

/* Checkbox overlay */
.ml-item-check {
  position: absolute;
  top: 6px; left: 6px;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
  backdrop-filter: blur(2px);
}
.ml-item.selected .ml-item-check {
  background: #7F77DD;
  border-color: #7F77DD;
}
.ml-item-check svg { display: none; }
.ml-item.selected .ml-item-check svg { display: block; }

/* Footer */
.ml-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  flex-shrink: 0;
  gap: 12px;
}
.ml-selected-count {
  font-size: 12px;
  color: #6b7280;
}
.ml-selected-count span {
  font-weight: 700;
  color: #7F77DD;
}
.ml-footer-actions { display: flex; gap: 8px; }
.ml-cancel {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.ml-cancel:hover { background: #f4f5f7; }
.ml-insert {
  height: 38px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  background: #7F77DD;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, opacity .15s;
  opacity: .5;
}
.ml-insert.has-selection { opacity: 1; }
.ml-insert:hover.has-selection { background: #534AB7; }
