@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --bg: #0f1321;
  --panel: #171c2f;
  --accent: #4bd1c8;
  --accent-dark: #2a8f8a;
  --text: #f3f2ed;
  --muted: #a9b0c2;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(150deg, #0f1321 20%, #1c2847 100%);
  color: var(--text);
  min-height: 100vh;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8vw;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 19, 33, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #132229;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-name {
  color: var(--muted);
  font-weight: 500;
}

.btn-ghost {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.app-main {
  padding: 30px 8vw 60px;
  display: grid;
  gap: 24px;
}

.dashboard-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.card-header h1,
.card-header h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 6px;
}

.card-header p {
  color: var(--muted);
}

.badge {
  background: rgba(75, 209, 200, 0.2);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

th {
  color: var(--muted);
  font-weight: 600;
}

.link {
  color: var(--accent);
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b0f1d;
  color: var(--text);
}

select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b0f1d;
  color: var(--text);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(75, 209, 200, 0.2);
}

.btn-primary {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #0f141c;
  font-weight: 700;
  cursor: pointer;
}

.form-message {
  min-height: 20px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .app-header {
    flex-direction: column;
    gap: 12px;
  }
}
