:root {
  --bg: #050509;
  --card-bg: #101018;
  --accent: #00a2ff;
  --accent-soft: rgba(0, 162, 255, 0.25);
  --text: #f5f7ff;
  --muted: #9aa0b5;
  --error: #ff4b6a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #151528 0, #050509 55%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.synoni-container {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(145deg, #0b0b12, #141424);
  border-radius: 18px;
  padding: 28px 26px 26px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 80px var(--accent-soft);
  position: relative;
  overflow: hidden;
}

.synoni-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(0, 162, 255, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(0, 162, 255, 0.12), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.synoni-inner {
  position: relative;
  z-index: 1;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.logo {
  width: 80px;
  height: 80px;
  fill: var(--text);
  filter: drop-shadow(0 0 18px rgba(0, 162, 255, 0.45));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.optional {
  font-size: 0.7rem;
  color: #6f7690;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid #25263a;
  background: #090912;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 162, 255, 0.4);
  background: #05050c;
}

.file-drop {
  border-radius: 12px;
  border: 1px dashed #2b2c42;
  background: rgba(9, 9, 18, 0.9);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.file-drop.hover {
  border-color: var(--accent);
  background: rgba(9, 16, 30, 0.95);
  transform: translateY(-1px);
}

.file-main {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.file-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

#fileName {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--accent);
  word-break: break-all;
}

button {
  width: 100%;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #007bff, #00a2ff);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow:
    0 10px 25px rgba(0, 162, 255, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 32px rgba(0, 162, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

button:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(0, 162, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

button:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.progress-wrap {
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  background: #151525;
  overflow: hidden;
  display: none;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00a2ff, #4dd0ff);
  box-shadow: 0 0 12px rgba(0, 162, 255, 0.7);
  transition: width 0.1s linear;
}

.status {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  min-height: 1em;
}

.status.error {
  color: var(--error);
}
