* {
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #0f172a 0%, #020617 60%);
  color: #e5e7eb;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: linear-gradient(to right, #020617, #020617cc);
  border-bottom: 1px solid #1e293b;
}

header img {
  height: 38px;
}

main {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 32px;
}

.section {
  margin-bottom: 60px;
}

.section h1 {
  font-size: 1.8em;
  margin-bottom: 8px;
}

.section p.section-desc {
  color: #9ca3af;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, #020617, #020617dd);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
  border: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.6);
}

.card h2 {
  font-size: 1.2em;
  margin: 0 0 10px;
}

.card p {
  color: #cbd5f5;
  font-size: 0.95em;
  line-height: 1.4;
  margin-bottom: 18px;
}

.card a {
  align-self: flex-start;
  padding: 10px 18px;
  background: #2563eb;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
}

.card a:hover {
  background: #1d4ed8;
}

.badge {
  display: inline-block;
  font-size: 0.7em;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-weight: 600;
}

.badge-public {
  background: #16a34a;
  color: #ecfdf5;
}

.badge-internal {
  background: #7c2d12;
  color: #ffedd5;
}

.badge-project {
  background: #4338ca;
  color: #eef2ff;
}

footer {
  text-align: center;
  padding: 40px 0 30px;
  color: #9ca3af;
  font-size: 0.9em;
}
/* ===== FORM ELEMENTS (ADMIN) ===== */

input, select, button {
  background: #020617;
  color: #e5e7eb;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9em;
}

input::placeholder {
  color: #9ca3af;
}

button {
  background: #2563eb;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #1d4ed8;
}

.btn-danger {
  background: #7f1d1d;
}

.btn-danger:hover {
  background: #991b1b;
}

.btn-icon {
  padding: 6px 10px;
  font-size: 0.8em;
}

