* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --main_color: #6ed0eb;
  --second_color: #a9360b;
  --third_color: #385f98;
  --input-color: #ddf3fa;
}

body {
  background-color: #2b538f;
}

nav {
  background-color: white;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
}

nav > div {
  padding: 0 0.5rem;
}

nav .logobox {
  padding: 0 0.5rem;
  width: 80px;
}

nav .logobox img {
  width: 100%;
}

nav .auth {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

nav .auth img.pro_pic {
  height: 90%;
  padding: 0 0.5rem;
  cursor: pointer;
  border-radius: 50%;
}

nav .auth i {
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
}

nav .auth .dropdown {
  position: absolute;
  background-color: white;
  /* border: 1px solid black; */
  border: 2px solid rgb(219, 219, 219);
  top: 72px;
  right: 20px;
  display: none;
  font-size: 1.2rem;
  padding: 0.2rem 0.3rem;
  cursor: pointer;
}

nav .auth .dropdown:hover {
  background-color: rgb(250, 247, 242);
}

nav .auth .dropdown i {
  color: red;
  font-size: 1.2rem;
}

form {
  width: 90%;
  max-width: 600px;
  margin: 1.5rem auto;
  background-color: white;

  display: flex;
  border-radius: 10px;
  flex-direction: column;
  padding: 1rem 1.5rem;
  justify-content: space-around;
  font-size: 1.2rem;
}

form > div {
  display: flex;
  justify-content: space-between;
}

form > div > input {
  width: 48%;
}

form > a {
  margin: 0.5rem;
  color: red;
  font-size: 0.85rem;
  text-decoration: none;
}

form > a:hover {
  text-decoration: underline;
}

form h2 {
  margin: 0.5rem auto;
  font-weight: 600;
  font-size: 1.4rem;
}
/* 
form label {
  width: 100%;
  color: var(--third_color);
  font-weight: 500;
  font-size: 1rem;
  margin: 0.3rem;
} */

form input,
form textarea,
form select {
  border-radius: 8px;
  border: none;
  border: 1px solid rgb(219, 219, 219);
  padding: 0.6rem 0.8rem;
  outline: none;
  margin: 0.4rem 0;
}

/*********************** select2 css *********************/

.select2 {
  border-radius: 8px;
  border: none;
  border: 1px solid rgb(219, 219, 219);
  margin: 0.4rem 0;
  outline: none;
  font-size: 0.9rem;
}

.select2 .selection .select2-selection {
  outline: none;
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  padding: 0.4rem 0.6rem;
}

.select2 .selection .select2-selection > span {
  border-radius: 8px;
}

.select2 .selection .select2-selection ul {
  padding: 0;
}

.select2 .selection .select2-selection li {
  padding: 0.25rem;
}

.select2 .selection .select2-selection input {
}

.select2-selection__clear {
  font-size: 1.2rem;
}

#select_medicine {
  border-radius: 8px;
  border: none;
  border: 1px solid rgb(219, 219, 219);
  padding: 0.6rem 0.8rem;
  outline: none;
  margin: 0.4rem 0;
  font-size: 1rem;
}

form select option {
  width: 100%;
  padding: 0.6rem 0.8rem;
}

/* form input:hover,
form textarea:hover,
form select:hover {
  background-color: rgb(250, 247, 242);
} */

form button {
  margin: 1rem auto;
  width: fit-content;
  border: none;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  border-radius: 10px;
  background-color: white;
  border: 1px solid rgb(219, 219, 219);
}

form button:hover {
  background-color: rgb(250, 247, 242);
}

.signout a {
  text-decoration: none;
  color: black;
}

.msg {
  text-align: center;
  margin: 0.5rem auto;
  padding-bottom: 1rem;
  font-size: 0.8rem;
  color: red;
  display: none;
}

/* user history style */
#history {
  width: 90%;
  max-width: 600px;
  margin: 1.5rem auto;
  background-color: white;

  display: flex;
  border-radius: 10px;
  flex-direction: column;
  padding: 1rem 1.5rem;
  justify-content: space-around;
  font-size: 1.2rem;
}

#history h2 {
  text-align: center;
  margin: 0.5rem auto;
  font-weight: 600;
  font-size: 1.4rem;
}

#history table {
  width: 100%;
  text-align: left;
  margin: 0.5rem 0;
  margin-top: 1rem;
  border: 0.5px solid rgb(234, 233, 233);
  border-spacing: 0;
  /* padding: 0.5rem; */
}

#history tr {
  margin: 0;
  padding: 0;
}

#history th,
#history td {
  margin: 0;
  padding: 0.2rem 0.3rem;
  border: 0.5px solid rgb(234, 233, 233);
}

#history table th {
  width: 30%;
  font-size: 1rem;
  font-weight: 500;
}

#history table td {
  width: 70%;
  font-size: 0.9rem;
}


.back{
    width: fit-content;
    margin: 0.5rem 0.8rem;
    padding: 0.3rem;
    border-radius: 50%;
}

.back a{
    text-decoration: none;
}

.back a i{
    color: white;
    font-size: 1.2rem;
}

.forgot_section form input,
.recover_section form input{
    font-size: 1rem;
}