:root {
  --bg: #0f1117;
  --card: #181c27;
  --line: #2c3342;
  --text: #f4f7ff;
  --muted: #9ca8bf;
  --accent: #ff3b3b;
  --accent-2: #1f8dff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top right, #1e2736 0%, var(--bg) 44%);
  color: var(--text);
}

.container {
  width: min(980px, 95%);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  font-size: 22px;
  font-weight: 700;
}

.brand span {
  color: var(--accent);
}

.home-link {
  text-decoration: none;
  color: #fff;
  border: 1px solid #414b60;
  border-radius: 10px;
  font-size: 14px;
  padding: 8px 14px;
}

.page-content {
  padding: 24px 0 40px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 36px);
}

.hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

.card {
  margin-top: 16px;
  background: linear-gradient(180deg, #1a1f2c, var(--card));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.card-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.card-body {
  padding: 16px;
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.42px;
}

input,
select,
button {
  font-family: inherit;
}

input[type="date"],
input[type="time"],
input[type="text"],
select {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #3a4458;
  background: #0f131d;
  color: #fff;
  padding: 10px 12px;
}

select option {
  background: #0f131d;
  color: #fff;
}

.request-notes {
  margin-top: 12px;
}

.request-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  padding: 0 14px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #3f4a61;
  color: #d8deea;
  text-decoration: none;
  padding: 0 14px;
}

.request-info {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .request-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-actions {
    width: 100%;
  }
}
