body { background:#1b1b1b; color:#ddd; font-family:Arial, sans-serif; margin:0; padding:0; }
a { color:#d2b48c; text-decoration:none; } a:hover { text-decoration:underline; }
.logo {
  position: absolute;
  top: 15px;
  left: 15px;
  height: 100px;
  width: 155px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, #1b1b1b 60%, #d2b48c 40%);
  color: #f4f4f4;
  text-align: center;
  padding: 2.5rem 1rem;
  border-bottom: 2px solid #444;
}
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
  color: #f5deb3;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}
.hero .subtitle {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 1.8rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.hero-btn {
  background:#2b2b2b;
  color:#f5deb3;
  padding:0.8rem 1.3rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:all 0.2s ease-in-out;
  border:1px solid #555;
}
.hero-btn:hover {
  background:#d2b48c;
  color:#1b1b1b;
  transform:translateY(-2px);
}

/* --- CONTAINER --- */
.container { max-width:1200px; margin:25px auto; background:#2a2a2a; border-radius:12px; padding:20px; }

/* --- SEARCH --- */
.search-box { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:15px; }
.search-box input {
  flex:1; background:#3b3b3b; border:1px solid #555; color:#fff;
  border-radius:8px; padding:10px;
}
.search-box button {
  background:#d2b48c; color:#111; border:none; border-radius:6px;
  padding:10px 16px; cursor:pointer;
}
.search-box button:hover { background:#c5a16a; }

/* --- TABLE --- */
table { width:100%; border-collapse:collapse; margin-top:10px; }
th, td { border-bottom:1px solid #444; padding:10px; vertical-align:top; }
th { color:#d2b48c; text-align:left; cursor:pointer; }
tr:nth-child(even) { background:#333; }
button { background:#d2b48c; color:#111; border:none; padding:6px 10px; border-radius:6px; cursor:pointer; }
button:hover { background:#c5a16a; }

/* --- ADD NEW FORM --- */
.add-form input, .add-form select {
  background:#3b3b3b; color:#fff; border:1px solid #555; border-radius:8px; padding:8px; margin:4px;
}
.add-form { text-align:center; margin-bottom:15px; }

/* --- MODAL --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  overflow-y: auto; /* allow scroll on smaller screens */
  padding: 40px 0; /* vertical space for top/bottom */
}

.modal-content {
  background: #2a2a2a;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  color: #ddd;
  max-height: 90vh; /* limit height to 90% viewport */
  overflow-y: auto; /* scroll inside modal if needed */
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  position: relative;
}

.close-btn {
  float: right;
  font-size: 1.5em;
  cursor: pointer;
  color: #d2b48c;
}
.close-btn:hover { color: #fff; }

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  border: 1px solid #555;
  border-radius: 6px;
  background: #3b3b3b;
  color: #fff;
}
