* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7f6;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-image: url("../img/cool.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header p {
  font-size: 1.2rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#menu-auth {
  display: contents; /* Menghilangkan efek pembungkus span pada flexbox */
}

nav {
  background: rgba(52, 73, 94, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px; /* Mengatur jarak halus antar tombol */
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

nav a:hover {
  background: rgba(26, 188, 156, 0.8);
}

main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
  flex: 1;
}

.section-title {
  text-align: center;
  display: block;
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 25px;
  border-bottom: 3px solid #1abc9c;
  padding-bottom: 5px;
}

.table-container {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table th,
table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

table th {
  background-color: #2c3e50;
  color: white;
  font-weight: 600;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  background-color: #2c3e50;
  color: #ffffff;
  text-align: center;
  padding: 20px 15px;
  margin-top: auto;
  border-top: 3px solid #1abc9c;
}

footer p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #ecf0f1;
}
