/* =========================
   DARK THEME ASPIRASI EVENT
========================= */

:root {
  --bg: #0f172a;
  --card: #111827;
  --border: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22d3ee;
  --danger: #ef4444;
}

.aspirasi-wrapper {
  background: var(--bg);
  color: var(--text);
  padding: 20px;
  max-width: 900px;
  margin: auto;
  font-family: system-ui, sans-serif;
}

.aspirasi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.aspirasi-card h3 {
  margin-bottom: 15px;
  color: var(--accent);
}

/* FORM */
.aspirasi-card input,
.aspirasi-card select,
.aspirasi-card textarea {
  width: 100%;
  background: #020617;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.aspirasi-card textarea {
  min-height: 120px;
  resize: vertical;
}

.aspirasi-card input:disabled,
.aspirasi-card select:disabled {
  background: #020617;
  color: var(--muted);
  opacity: 0.6;
}

/* CHECKBOX */
.aspirasi-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.aspirasi-check input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.aspirasi-check span {
  line-height: 1;
}

/* BUTTON */
.aspirasi-card button {
  background: var(--accent);
  border: none;
  color: #020617;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.aspirasi-card button:hover {
  opacity: .85;
}

/* DASHBOARD */
.aspirasi-table-wrapper {
  overflow-x: auto;
}

.aspirasi-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.aspirasi-table th,
.aspirasi-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.aspirasi-table th {
  color: var(--accent);
  white-space: nowrap;
}

.aspirasi-table td {
  color: var(--text);
}

.aspirasi-table tr:hover {
  background: rgba(255,255,255,.03);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .aspirasi-card {
    padding: 15px;
  }

  .aspirasi-card h3 {
    font-size: 18px;
  }
}

.aspirasi-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.aspirasi-modal-box {
    background: #0f172a;
    color: #e5e7eb;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.aspirasi-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #9ca3af;
    cursor: pointer;
}

.aspirasi-modal-content {
    overflow-y: auto;
    margin-top: 10px;
    line-height: 1.6;
    max-height: 60vh;
    white-space: pre-wrap;
}

.btn-detail {
    background: #22d3ee;
    color: #020617;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}
