body {
  background-color: var(--secondary-color);
  padding-top: 95px;
}

header {
  padding: 20px;
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-color);
  z-index: 100;
  position: fixed;
  height: 95px;
  top: 0;
  right: 0;
  left: 0;
}

.logo_card {
  padding: var(--card-padding);
  background-color: rgba(0, 128, 0,.4);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  padding-left: 30px;
  padding-right: 30px;
  cursor: pointer;
}

.logo_card h2 {
  font-size: 1.28rem;
  margin-bottom: 2px;
}

.logo_card p {
  font-size: var(--text-size);
  color: rgba(255, 255, 255, 0.7);
}

.links_card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu_bar {
  display: none;
}

.navbar {
  z-index: 200;
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 20px;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 1.0rem;
  font-weight: 600;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.navbar ul li a:hover {
  border-bottom: 2px solid white;
  color: rgb(192, 188, 188);
}

.catalogue {
  display: none;
}

.counter1, .counter2 {
  margin: 12px;
  background-color: rgba(0, 128, 0,.4);
  font-size: 1.0rem;
  padding: 12px 10px;
  border-radius: 6px;
  color: var(--secondary-color);
}

.counter1 {
  display: none;
}

.blogs, .side_links {
  display: none;
}

.sidebar {
  background-color: var(--primary-color);
  position: fixed;
  left: 0;
  overflow-y: scroll;
  scrollbar-width: none;
  bottom: 0;
  top: 94px;
  z-index: 100;
  padding: 20px 10px;
  width: fit-content;
  color: white;
  width: 300px;
}

.head, .head2 {
  color: var(--accent-color);
  text-align: left;
  padding: 10px 12px;
  font-size: 1.0rem;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lower ul, .lower2 ul {
  line-height: 1.8;
  font-size: 1.0rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 20px auto 20px 15px;
}

.lower2 ul {
  list-style: none;
}

.lower2 ul li {
  display: flex;
  line-height: 1.4;
}

.lower2 a {
  text-decoration: none;
  color: rgba(253, 255, 253, 0.7);
  padding: 8px 12px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  transition: all 0.3s ease;
}

.lower2 a i {
  font-size: 1.04rem;
}

.lower2 a:hover {
  background-color: rgba(0, 128, 0,.6);
}

.search_area {
  background-color: white;
  padding: 5px 10px;
  position: fixed;
  top: 100px;
  right: 0;
  left: 0;
  margin-left: 300px;
}

.search_area form {
  display: flex;
}

.search_area form input {
  padding: 12px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1.0rem;
  width: 50%;
  outline: none;
}

.searchbtn {
  border: none;
  font-size: 1.0rem;
  padding: 12px 16px;
  cursor: pointer;
  background-color: var(--accent-color);
  color: white;
  border-radius: 0 5px 5px 0;
  transition: all 0.3s ease;
}

.searchbtn:hover {
  background-color: rgb(5, 146, 5);
}

.result_card {
  background-color: var(--primary-color);
  margin-top: 15px;
  border-radius: 5px 5px 8px 8px;
  padding: 10px;
  z-index: 50;
  display: none;
  height: 70vh;
  overflow: scroll;
  scrollbar-width: none;
  position: relative;
}

.error_box {
  display: none;
}

.result_card.success, .error_box.error {
  display: block;
}
.error_box.error {
  color: red; 
  background-color: white;
  font-size: 1.04rem;
  margin: 5px 8px;
  padding: 5px;
}

.result_card table {
  background-color: white;
}

.result_card th {
  overflow: auto;
  scrollbar-width: none;
}

.all_drugs {
  background-color: white;
  padding: 5px 10px;
  margin: 70px 10px 10px 310px;
  border: 1px solid rgba(0,0,0,.1);
  overflow: scroll;
  scrollbar-width: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: rgba(141, 235, 141, .2);
}

th,td {
  padding: 18px 12px;
  text-align: left;
  margin: 8px 10px;
  font-size: 1.0rem;
  transition: all 0.3s ease;
}

.status_card, .status {
  padding: 5px 8px;
  text-wrap: nowrap;
  border-radius: 4px;
  text-align: center;
}

.status {
  background-color: rgba(237, 176, 62, 0.1);
}

.status_card.green {
  background-color: rgba(22, 204, 143, 0.05);
  color: rgb(47, 162, 47);
  border: 1px solid rgb(193, 246, 193);
}

.status_card.brown {
  background-color: rgba(231, 115, 115, 0.05);
  color: red;
  border: 1px solid rgb(243, 219, 219);
}

.status_card.orange {
  background-color: rgba(207, 99, 21, 0.05);
  color: red;
  border: 1px solid rgb(243, 219, 219);
}

.status_card.black {
  background-color: rgba(0, 0, 0, 0.05);
  color: black;
  border: 1px solid rgb(222, 217, 217);
}

th {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

table a {
  text-decoration: none;
  font-size: 1.0rem;
  color: white;
  background-color: var(--accent-color);
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

table a:hover {
  background-color: rgba(8, 186, 8, 0.9);
}

.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin-right: 5px;
  text-decoration: none;
  border: 1px solid #928f8f;
  border-radius: 5px;
  color: black;
  transition: all 0.3s ease;
}

.pagination a:hover, .pagination span {
  background-color: rgba(0, 0, 0, 0.2);
}

.pagination .active_now {
  background-color: #05056a;
  color: white;
}