:root {
  --bg-main: radial-gradient(circle at top, #111827 0%, #020617 70%);
  --card-bg: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.6);
  --accent: linear-gradient(135deg, #00e5c3, #3b82f6);
  --accent-solid: #00e5c3;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--text-main);
}

.app {
  max-width: 1300px;
  margin: auto;
  padding: 32px 20px 60px;
}

/* ---------- HEADER ---------- */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.logo-box {
  border: 2px dashed var(--border);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.app-title {
  font-size: 26px;
  font-weight: 600;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 28px;
  backdrop-filter: blur(16px);
}

/* ---------- DASHBOARD ---------- */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
}

.action-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 48px 30px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,229,195,0.25);
  border-color: var(--accent-solid);
}

.action-title {
  font-size: 22px;
  font-weight: 600;
}

.action-sub {
  margin-top: 8px;
  color: var(--text-muted);
}

/* ---------- FORMS ---------- */
.section-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-main);
}

input::placeholder {
  color: rgba(255,255,255,0.35);
}

input:focus {
  outline: none;
  border-color: var(--accent-solid);
}

/* ---------- TABLE ---------- */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}

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

th {
  color: var(--text-muted);
}

tfoot td {
  font-weight: 600;
}

/* ---------- BUTTONS ---------- */
.btn {
  background: var(--accent);
  border: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0,229,195,0.35);
}

.btn.secondary {
  background: rgba(255,255,255,0.08);
}

.btn.danger {
  background: var(--danger);
}

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

/* ---------- FOOTER ACTIONS ---------- */
.footer-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}