@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins&family=Sarabun:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

/* header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 100px;
  background: #006747;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  border-bottom: 1px solid gray;
} */

.logo {
  font-size: 2em;
  font-weight: 600;
  color: #fff;
  user-select: none;
  text-decoration: none;
  border: none;
}
.logo:hover {
  color: #a9c47f;
}

.navigation {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navigation a {
  position: relative;
  font-size: 1.1em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 30px;
}

.navigation .b::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.5s;
}

.navigation .b:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.navigation .login-button {
  width: 100px;
  height: 40px;
  background: transparent;
  border: 2px solid #fff;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1em;
  color: #006747;
  font-weight: 600;
  margin-left: 10px;
  background-color: #fff;
}

.nav_user {
  width: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
}

.nav_user_dropdown {
  position: absolute;
  top: 3.2rem;
  right: -6.2rem;
  width: 12rem;
  /* width: 20rem; */
  padding-block: 2rem;
  padding-inline: 1.2rem;
  background-color: #006747;
  border-radius: 5px;
}

.nav_user_dropdown > ul {
  display: grid;
  gap: 1rem;
}

.nav_user_dropdown > ul > a {
  margin: 0;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid gray;
  position: relative;
  font-size: 1.1em;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav_user_dropdown > ul > a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.5s;
}

.nav_user_dropdown > ul > a:hover:after {
  transform-origin: left;
  transform: scaleX(1);
}
.footer_container {
  display: flex;
  justify-content: center;
  background-color: #006747;
  position: relative;
  right: 0;
  left: 0;
  bottom: 0;
  height: 25vh;
}
.footer_container .footer_items h2 {
  color: #a9c47f;
  font-size: 20px;
  padding-bottom: 10px;
}
.footer_container .footer_items p {
  font-size: 14px;
  color: white;
  margin-top: 0;
}
.footer_container .footer_items a {
  color: #a9c47f;
}
.footer_container .footer_items .about-us {
  text-decoration: none;
}
.footer_container .footer_items .about-us:hover {
  text-decoration: underline;
}
.footer_container .footer_items {
  display: flex;
  flex-direction: column;
  margin-right: 50px;
  margin-top: 20px;
  text-decoration: none;
}
.footer_container .footer_items i {
  margin-top: 10px;
  padding-right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: white;
}
.footer_container .footer_items i:hover {
  color: #a9c47f;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 100px;
  background: #006747;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}

.ticket_history_container {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
}

.ticket_table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  width: 70%;
  margin-top: 5vh;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.ticket_table thead tr {
  background-color: #006747;
  color: white;
  text-align: left;
  font-weight: bold;
}

.ticket_table th,
.ticket_table td {
  padding: 12px 15px;
  text-align: center;
}

.ticket_table tbody tr {
  border-bottom: 1px solid white;
}

.ticket_table tbody tr:nth-of-type(even) {
  background-color: #e0e0e0;
}

.ticket_table tbody tr:last-of-type {
  border-bottom: 2px solid #006747;
}

footer {
  background-color: #006747;
  color: white;
  text-align: center;
  padding: 20px;
}
