/* moovnao Dokumenten-Upload — Styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  color: #575757;
  background: #FAFAF7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav */
nav {
  height: 72px;
  flex-shrink: 0;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 48px;
}
.nav-inner a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
nav img { width: 36px; height: auto; }
nav span {
  font-weight: 500;
  font-size: 24px;
  color: #575757;
  letter-spacing: -0.02em;
}

/* Main */
main {
  flex: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 48px 80px;
}

.form-header { margin-bottom: 40px; }
.form-header h1 {
  font-size: 32px;
  font-weight: 300;
  color: #262626;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.form-header p { font-size: 16px; color: #575757; line-height: 1.6; }

/* Form layout */
form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 15px;
  font-weight: 500;
  color: #262626;
  letter-spacing: -0.005em;
}
.field small { font-size: 13px; color: #94A09A; }
.required { color: #D4873E; font-weight: 500; }

/* Inputs */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  height: 48px;
  border: 1.5px solid rgba(26, 31, 29, 0.10);
  border-radius: 10px;
  padding: 0 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 16px;
  color: #262626;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea {
  height: auto;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
  min-height: 100px;
}
input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: #2A8C7A;
  box-shadow: 0 0 0 3px rgba(42, 140, 122, 0.10);
}

/* Select chevron */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23575757' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* Honeypot — offscreen */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Dropzone */
.dropzone {
  position: relative;
  border: 2px dashed #2A8C7A;
  border-radius: 14px;
  background: #fff;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #575757;
}
.dropzone:hover,
.dropzone:focus,
.dropzone.drag-over {
  background: rgba(42, 140, 122, 0.04);
  border-color: #3BA594;
  outline: none;
}
.dropzone.drag-over { transform: scale(1.005); }
.dz-icon { color: #2A8C7A; margin-bottom: 10px; }
.dz-text {
  font-size: 16px;
  color: #262626;
  margin-bottom: 6px;
  line-height: 1.5;
}
.dz-text strong { color: #2A8C7A; font-weight: 500; }
.dz-meta { font-size: 13px; color: #94A09A; }
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* File list */
.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.file-list:empty { display: none; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid rgba(26, 31, 29, 0.08);
  border-radius: 10px;
  font-size: 14px;
  color: #575757;
}
.file-list .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #262626;
}
.file-list .size { color: #94A09A; font-size: 13px; }
.file-list button {
  background: none;
  border: none;
  cursor: pointer;
  color: #94A09A;
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}
.file-list button:hover { color: #D4873E; }

/* Checkbox */
.field-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #575757;
  line-height: 1.55;
  font-weight: 400;
  cursor: pointer;
}
.field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2A8C7A;
  flex-shrink: 0;
  cursor: pointer;
}
.field-checkbox a { color: #2A8C7A; text-decoration: underline; }

/* Progress bar */
.progress {
  background: #F2F1EC;
  border-radius: 100px;
  height: 8px;
  position: relative;
  margin-top: 8px;
}
.progress-bar {
  background: #2A8C7A;
  height: 100%;
  width: 0;
  border-radius: 100px;
  transition: width 0.3s ease;
}
.progress-text {
  position: absolute;
  top: -22px;
  right: 0;
  font-size: 12px;
  color: #575757;
  font-weight: 500;
}

/* Error box */
.form-error {
  background: rgba(212, 135, 62, 0.08);
  border: 1.5px solid #D4873E;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #8c5420;
  line-height: 1.5;
}

/* Buttons */
.btn-primary {
  height: 52px;
  border: none;
  background: #2A8C7A;
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}
.btn-primary:hover:not(:disabled) { background: #3BA594; }
.btn-primary:active:not(:disabled) { transform: scale(0.99); }
.btn-primary:disabled {
  background: #94A09A;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-block;
  height: 48px;
  line-height: 44px;
  padding: 0 28px;
  border: 1.5px solid #2A8C7A;
  color: #2A8C7A;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 24px;
}
.btn-secondary:hover {
  background: #2A8C7A;
  color: #fff;
}

/* Success state — prominente Card, damit sie sofort auffällt */
.success {
  text-align: center;
  padding: 56px 32px;
  background: rgba(42, 140, 122, 0.06);
  border: 1.5px solid rgba(42, 140, 122, 0.22);
  border-radius: 16px;
  margin: 32px 0;
  animation: successFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.success svg { margin-bottom: 20px; }
.success h2 {
  font-size: 32px;
  font-weight: 300;
  color: #262626;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.success p {
  color: #575757;
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 48px;
  font-size: 14px;
  color: #575757;
  flex-shrink: 0;
}
footer a { color: #575757; text-decoration: none; }
footer a:hover { color: #262626; }
footer div + div { margin-top: 4px; }

/* Mobile */
@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  main { padding: 16px 24px 60px; }
  .form-header { margin-bottom: 32px; }
  .form-header h1 { font-size: 26px; }
  .form-header p { font-size: 15px; }
  form { gap: 20px; }
  .dropzone { padding: 32px 20px; }
  footer { padding: 24px; }
}
