.gradient-grey {
  background: #0f2027;
  background: -webkit-linear-gradient(to right, #2c5364, #203a43, #0f2027);
  background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
  color: #f5f5f5 !important;
  font-weight: bold;
  font-family: 'justsans' !important;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

@font-face {
  font-family: 'moonlander';
  src: url(e2cc9dba6ab39da4bb3b.woff);
}

@font-face {
  font-family: 'digital';
  src: url(0ef0e2249326c34137c8.TTF)
}

@font-face {
  font-family: UKnumberplate;
  src: url(22820c6fff93aa928195.ttf);
}

/* @font-face {
  font-family: 'poppins';
  src: url('../assets/fonts/Poppins.ttf');
}

@font-face {
  font-family: 'roboto';
  src: 
} */

@font-face {
  font-family: 'justsans';
  src: url(f2e1a951bbcd82edc996.woff);
  font-weight: normal;
}

@font-face {
  font-family: 'justsans';
  src: url(c4aa4fd1ae7a71a0c3fc.woff);
  font-weight: bold;
}

@font-face {
  font-family: 'justsans';
  src: url(7103f8aa731298fa5c99.woff);
  font-weight: lighter;
}

.App {
  font-family: Arial, Helvetica, sans-serif;
  width: 100vw;
  height: 100%;
  /* min-height: 100%; */
  max-height: 100vh;
  box-sizing: border-box;
  overflow: scroll;
}

html,
body {
  margin: 0 !important;
  font-family: 'poppins';
  /* height: 100%; */
  width: 100%;
}

body::-webkit-scrollbar {
  display: none;
}

*::-webkit-scrollbar {
  display: none;
}

::-webkit-scrollbar {
  display: none;
}

input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  caret-color: black;
}

/* Target autofilled input and force label to float */
input:-webkit-autofill {
  /* Background fix for light/dark themes */
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: #000;
}

/* Float the label if the input is autofilled */
input:-webkit-autofill ~ .MuiInputLabel-root {
  transform: translate(14px, -9px) scale(0.75);
  transform-origin: top left;
  color: rgba(0, 0, 0, 0.6); /* optional: match your theme */
}

.logoText {
    font-family: moonlander;
    /* font-size: 2rem; */
    color: #3D4E50;
}
.sidebar_navitem {
  color: #bdc2c7;
  transition: color 0.5s ease-in-out;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5px;
  padding-right: 10px;
}

.sidebar_navitem:hover,
.sidebar_navitem.active {
  color: white;
  cursor: pointer;
}

.sidebar_navitem.active {
  background-color: #CCA43B;
}



.red-bg-grad {
  background: #ed213a;
  background: -webkit-linear-gradient(to right, #93291e, #ed213a);
  background: linear-gradient(to right, #93291e, #ed213a);
}

.drug-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: white;
  transition: all 0.3s ease-in-out;
  min-width: 8rem;
}

.drug-box:hover {
  cursor: pointer;
}

.yellow-bg-grad {
  background: #febe10;
  background: -webkit-linear-gradient(to left, #ffbd07, #f7971e);
  background: linear-gradient(to left, #ffbd07, #f7971e);
}

.archived {
  background: #616161;
}

.blue-bg-grad {
  background: #00b4db;
  background: -webkit-linear-gradient(to right, #0083b0, #00b4db);
  background: linear-gradient(to right, #0083b0, #00b4db);
}

.grey-bg-grad {
  background: #29313b;
  background: -webkit-linear-gradient(to right, #29313b, #485461);
  background: linear-gradient(to right, #29313b, #485461);
}

.purple-bg-grad {
  background: #642b73;
  background: -webkit-linear-gradient(to right, #c6426e, #642b73);
  background: linear-gradient(to right, #c6426e, #642b73);
}

.medicine-box {
  border-radius: 3px 0px 0px 3px;
}

.medicine-box-container {
  cursor: pointer;
  background: radial-gradient(
    circle at 18.7% 37.8%,
    rgb(250, 250, 250) 0%,
    rgb(225, 234, 238) 90%
  );
  background: -webkit-linear-gradient(
    to right,
    rgb(250, 250, 250),
    rgb(225, 234, 238)
  );
  background: linear-gradient(to right, rgb(250, 250, 250), rgb(225, 234, 238));
  color: #004e92;
}

.tiptap-reader {
  font-size: 1.05rem;
  color: #1a1a1a;
  /* margin: auto; */
  padding: 0 1rem;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

.tiptap-reader h1 {
  font-size: 2.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #111;
}

.tiptap-reader h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #222;
}

.tiptap-reader h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.tiptap-reader p {
  margin: 1rem 0;
}

.tiptap-reader ul,
.tiptap-reader ol {
  padding-left: 1rem;
}

.tiptap-reader ul {
  list-style: disc;
}

.tiptap-reader ol {
  list-style: decimal;
}

.tiptap-reader a {
  color: #1565c0;
  text-decoration: underline;
}

.tiptap-reader a:hover {
  color: #003c8f;
}

.tiptap-reader img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tiptap-reader blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  font-style: italic;
  color: #555;
}

.tiptap-reader pre {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.95rem;
}

.tiptap-reader code {
  background: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95em;
  color: #d63384;
}

.tiptap-reader table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.tiptap-reader th,
.tiptap-reader td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.tiptap-reader th {
  background-color: #f1f1f1;
}

.tiptap-reader strong {
  font-weight: 600;
  color: #000;
}

.tiptap-reader em {
  font-style: italic;
}

.editor-content {
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px;
  padding: 10px;
  min-height: 200px;
  background-color: #fff;
  cursor: text;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.editor-content .ProseMirror {
  flex-grow: 1;
  min-height: 100%;
  cursor: text;
}

.editor-content .ProseMirror:focus {
  outline: none;
}

