:root {
  --bg: #0f172a;
  --card: #111827;
  --pri: #22d3ee;
  --text: #e5e7eb;
  --muted: #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

/* Background gambar untuk seluruh body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('bg.jpg') center/cover no-repeat;
  z-index: -2;
}

/* Overlay untuk meningkatkan keterbacaan */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  z-index: -1;
}

.card {
  width: 100%;
  max-width: 1000px;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid #1f2937;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  padding: 20px 24px;
  border-bottom: 1px solid #1f2937;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(5px);
}

.header .title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  background: rgba(34, 211, 238, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px rgba(34, 211, 238, 0.3);
  }

  to {
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.6);
  }
}

.content {
  padding: 24px;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #374151;
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.7);
  color: var(--text);
  outline: none;
  transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pri);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.help {
  font-size: 12px;
  color: var(--muted);
}

.items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.item input {
  flex: 1;
}

.actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  border: none;
  color: #00222a;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s, opacity 0.2s;
}

.btn:hover {
  opacity: 0.95;
}

.btn:active {
  transform: translateY(1px);
}

@media (max-width: 860px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stack {
    grid-template-columns: 1fr;
  }

  body {
    padding: 12px;
  }

  .card {
    border-radius: 12px;
  }

  .content {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 16px;
  }

  .header .title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .item {
    flex-direction: column;
    align-items: stretch;
  }

  .item input:last-child {
    max-width: 100%;
  }
}