body {
  margin: 0;
  padding: 0;
  background-color: #d2ebed;
}
#header {
  background-color: #8d8d8d;
  width: 100%;
  height: 230px;
  opacity: 0.6;
}
.navbar {
  background-color: #8d8d8d;
  opacity: 0.6;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 150px;
  overflow: hidden;
  width: 100%;
}

.navbar img {
  width: 100%;
  height: 100%;
}

.navbar-brand img {
  margin-right: 10px;
}

.navbar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translate(0%, -60%);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  margin-left: -300px;
}

.navbar-brand span {
  color: #ffffff;
  text-align: left;
  font-family: "DaysOne-Regular", sans-serif;
  font-size: 40px;
  font-weight: 700;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-item {
  margin-left: 20px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  text-align: left;
  font-family: "Ramabhadra-Regular", sans-serif;
  font-size: 24px;
  font-weight: 400;
  position: relative;
  top: 50%;
  width: 83px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background-color: #007bff;
  color: #fff;
}

a.nav-link {
  font-size: 25px;
}

#homebg {
  background-image: url("young-woman-pharmacist-pharmacy\ 1.png");
  width: 100%;
  height: 1000px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

#frame-6 {
  margin-top: 30px;
  margin-left: 30px;
  width: 8%;
  height: auto;
}
span {
  position: relative;
  font-family: "Lexend", sans-serif;
  font-size: 32px;
  color: #ffffff;
  font-weight: bold;
}

#history-section {
  position: relative;
  background-color: #f5f5f5;
  max-width: 900px;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  left: 50%;
  transform: translateX(-50%);
}

h2 {
  font-family: "Lexend", sans-serif;
  color: #4a7c8a;
  font-weight: 800;
  font-size: 34px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  box-sizing: border-box;
  margin-top: 30px;
  margin-bottom: 20px;
}

.history-container {
  width: 100%;
  background-color: #f5f5f5;
}

#search-bar:focus {
  border-color: #7fc6cc;
  box-shadow: 0 0 0 3px rgba(173, 220, 225, 0.4);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

th,
td {
  background-color: #addce1;
  border: none;
  padding: 16px 20px;
  text-align: center;
  font-size: 15px;
  font-family: "Lexend", sans-serif;
  transition: background-color 0.3s ease;
}

th {
  background-color: #e6e6e6;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #ccc;
}

tr {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

tr:nth-child(even) td {
  background-color: #addce1;
}

tr:hover td {
  background-color: #d7edf0;
}
.delete-btn {
  font-family: "Lexend", sans-serif;
  color: rgb(168, 20, 20);
  padding: 8px 18px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.delete-btn:hover {
  border-radius: 50px;
  background-color: rgb(168, 20, 20);
  color: white;
}
.view-pdf-btn {
  font-family: "Lexend", sans-serif;
  color: #408c67;
  padding: 8px 18px;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  background-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.view-pdf-btn:hover {
  background-color: #408c67;
  color: white;
}
