/* ── Daysheet Projektfragebogen ── */
.dsf-app {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  max-width: 780px;
  margin: 0 auto;
}

/* ── Password Gate ── */
.dsf-pw-gate {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.dsf-pw-box {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 36px 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.dsf-pw-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
}

.dsf-pw-subtitle {
  font-size: 12px;
  color: #999;
  margin-bottom: 24px;
  line-height: 1.6;
}

.dsf-pw-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dsf-pw-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  text-align: center;
  outline: none;
  box-sizing: border-box;
}

.dsf-pw-input:focus { border-color: #c4a832; }

.dsf-pw-error {
  background: #ffebee;
  color: #c62828;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 5px;
}

/* ── Header ── */
.dsf-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.dsf-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.dsf-subtitle {
  font-size: 12px;
  color: #aaa;
}

/* ── Sections ── */
.dsf-section {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.dsf-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4a832;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f5f0e0;
}

/* ── Fields ── */
.dsf-field {
  margin-bottom: 16px;
}

.dsf-field:last-child { margin-bottom: 0; }

.dsf-field > label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #777;
  margin-bottom: 6px;
}

.dsf-req { color: #c4a832; }

.dsf-field input[type="text"],
.dsf-field input[type="email"],
.dsf-field input[type="url"],
.dsf-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #222;
  background: #fafafa;
  outline: none;
  transition: border-color 0.12s, background 0.12s;
  box-sizing: border-box;
  resize: vertical;
}

.dsf-field input:focus,
.dsf-field textarea:focus {
  border-color: #c4a832;
  background: #fff;
}

/* ── Grid layouts ── */
.dsf-row { display: grid; gap: 16px; }
.dsf-row-2col { grid-template-columns: 1fr 1fr; }
.dsf-row-3col { grid-template-columns: 1fr 1fr 1fr; }

/* ── Checkboxes ── */
.dsf-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.dsf-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  color: #444;
  background: #fafafa;
  transition: all 0.12s;
  user-select: none;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.dsf-check:hover {
  border-color: #c4a832;
  background: #fffbee;
}

.dsf-check input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
  background: none;
  accent-color: #c4a832;
}

/* ── Buttons ── */
.dsf-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  border: none;
  transition: background 0.12s;
  font-family: 'Courier New', monospace;
}

.dsf-btn-primary { background: #c4a832; color: #fff; }
.dsf-btn-primary:hover { background: #a88e25; }

.dsf-btn-secondary { background: #f0f0f0; color: #555; border: 1px solid #ddd; }
.dsf-btn-secondary:hover { background: #e5e5e5; }

.dsf-btn-large { padding: 14px 32px; font-size: 13px; width: 100%; margin-top: 8px; }

/* ── Messages ── */
#dsf-form-message {
  margin-bottom: 12px;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  display: none;
}

#dsf-form-message.error {
  background: #ffebee;
  color: #c62828;
  display: block;
}

/* ── Thank you ── */
.dsf-thankyou {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.dsf-thankyou-icon {
  font-size: 48px;
  color: #c4a832;
  margin-bottom: 16px;
}

.dsf-thankyou-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.dsf-thankyou-text {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Admin ── */
.dsf-admin-app {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  max-width: 1000px;
}

.dsf-admin-pw-box {
  background: #fffbee;
  border: 1px solid #f0e0a0;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dsf-admin-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.dsf-admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 18px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 8px;
}

.dsf-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.dsf-admin-field {
  padding: 12px 18px;
  border-bottom: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
}

.dsf-admin-field:nth-child(even) { border-right: none; }
.dsf-admin-field-full { grid-column: 1 / -1; border-right: none; }

.dsf-admin-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  margin-bottom: 4px;
}

.dsf-admin-value {
  font-size: 12px;
  color: #333;
  line-height: 1.6;
}

.dsf-admin-value a { color: #c4a832; word-break: break-all; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .dsf-row-2col,
  .dsf-row-3col { grid-template-columns: 1fr; }
  .dsf-admin-grid { grid-template-columns: 1fr; }
  .dsf-admin-field { border-right: none; }
  .dsf-pw-box { padding: 24px 20px; }
}
