:root {
  --radius: 16px;
  --accent: #4da3ff;
}

/* ===== THEME ===== */

html[data-theme="dark"] {
  --bg: #0b0d10;
  --bg-card: #15181c;
  --text: #e6e6e6;
  --muted: #9aa0a6;
}

html[data-theme="light"] {
  --bg: #f5f6fa;
  --bg-card: #ffffff;
  --text: #111;
  --muted: #555;
}

/* ===== GLOBAL ===== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-top: 78px;
}

/* ===== PARTICLES BACKGROUND ===== */

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}

/* ===== CARD ===== */

.card {
  background: var(--bg-card);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.6s ease;
  margin: 0 auto;
}

h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== FORM INPUTS ===== */

select,
input,
textarea {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background-color: #dddee0;
  color: #000;
  outline: none;
}

textarea {
  height: 100px;
}

select:focus,
textarea:focus {
  background-color: #dddee0;
  box-shadow: 0 0 0 2px #4da3ff;
}

.form-group {
  margin-top: 16px;
}

/* ===== FILE UPLOAD ===== */

.file-box {
  border: 2px dashed #2a2f36;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  margin-top: 16px;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pdf-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
}

input[type="file"] {
  display: none;
}

/* ===== BUTTON ===== */

.btn {
  margin-top: 22px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #4da3ff, #7b61ff);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(77, 163, 255, 0.35);
}

/* ===== STATUS ===== */

.status {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* ===== DOWNLOAD ===== */

.download {
  display: none;
  text-align: center;
  margin-top: 15px;
}

/* ===== FOOTER ===== */

.footer {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ===== ANIMATION ===== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
