@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap");

body {
  font-family: "Fira Code", monospace;
  margin: 0;
  background: #101010;
  color: #e0e0e0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0d0d0d;
  padding: 15px 30px;
  border-bottom: 2px solid #18A97A;
  color: #18A97A;
  box-shadow: 0 0 10px #18A97A44;
}

.navbar .logo {
  font-size: 1.3em;
  font-weight: 600;
  text-transform: uppercase;
}

.navbar nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  color: #18A97A;
  transition: color 0.2s;
}

.navbar nav a:hover {
  color: #ffffff;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  color: #18A97A;
  text-shadow: 0 0 15px #18A97A99;
}

.hero p {
  font-size: 1.2em;
  color: #aaa;
}

.hero .btn {
  margin-top: 30px;
  background: #18A97A;
  padding: 12px 28px;
  border-radius: 4px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.hero .btn:hover {
  box-shadow: 0 0 15px #18A97A;
  background: #13c08b;
}

.form-container {
  max-width: 380px;
  margin: 80px auto;
  background: #181818;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #18A97A;
  box-shadow: 0 0 20px #18A97A44;
}

.form-container h2 {
  color: #18A97A;
  margin-bottom: 25px;
}

.form-container label {
  display: block;
  margin: 12px 0 6px;
  font-weight: bold;
  color: #e0e0e0;
}

.form-container input {
  width: 100%;
  padding: 10px;
  background: #0d0d0d;
  border: 1px solid #333;
  color: #18A97A;
  border-radius: 4px;
}

.form-container input:focus {
  border: 1px solid #18A97A;
  outline: none;
}

.form-container button {
  background: #18A97A;
  border: none;
  color: black;
  padding: 12px;
  font-size: 1em;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.form-container button:hover {
  box-shadow: 0 0 10px #18A97A;
}

.flash {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
}

.flash p {
  margin: 6px 0;
}

.flash p:contains("logged out") {
  background: #003322;
  color: #18A97A;
}

.flash p:contains("Invalid") {
  background: #330000;
  color: #ff4444;
}

.dashboard {
  display: flex;
  min-height: calc(100vh - 60px);
}

.sidebar {
  width: 200px;
  background: #0d0d0d;
  border-right: 1px solid #18A97A44;
  padding: 25px 15px;
  color: #18A97A;
}

.sidebar h3 {
  margin-bottom: 15px;
  border-bottom: 1px solid #18A97A44;
  padding-bottom: 5px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 12px 0;
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
}

.sidebar li:hover {
  color: #18A97A;
}

.content {
  flex: 1;
  padding: 40px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.content th,
.content td {
  padding: 10px;
  border-bottom: 1px solid #222;
}

.content th {
  width: 150px;
  color: #18A97A;
}

.content td {
  color: #e0e0e0;
}

.card {
  background: #181818;
  border: 1px solid #18A97A44;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px #18A97A22;
}

.card h2 {
  margin-bottom: 20px;
  color: #18A97A;
}

.search-bar {
  display: flex;
  margin-bottom: 20px;
}

.search-bar input {
  flex: 1;
  padding: 12px;
  background: black;
  border: 1px solid #333;
  color: #18A97A;
  border-radius: 4px 0 0 4px;
}

.search-bar input:focus {
  border: 1px solid #18A97A;
  outline: none;
}

.search-bar button {
  background: #18A97A;
  border: none;
  padding: 0 20px;
  font-weight: bold;
  color: black;
  border-radius: 0 4px 4px 0;
}

.search-bar button:hover {
  box-shadow: 0 0 8px #18A97A;
}

.results-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.results-table th,
.results-table td {
  padding: 10px;
  border-bottom: 1px solid #222;
  color: #ccc;
}

.results-table th {
  color: #18A97A;
  text-align: left;
}

.results-table tr:hover {
  background: #161616;
}

.flag-box {
  background: #001a12;
  border: 1px solid #18A97A;
  color: #18A97A;
  padding: 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 0 10px #18A97A44;
}
