/* VeiligDelen v0.1.2 Diffie — page-specifieke styling.
 * Erft palette, typografie, container, header, menu, footer, .card, .rv, .gradient
 * van /assets/shell.css (iCt Horse v2 shell). Hier alleen wat de tool zelf nodig heeft.
 */

/* Drop-zone — bestand uploaden UI */
.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px dashed rgba(89, 197, 168, .35);
  border-radius: 12px;
  padding: 2.75rem 1rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  background: rgba(89, 197, 168, .025);
}

.drop-zone:hover,
.drop-zone.dragover {
  background: rgba(89, 197, 168, .07);
  border-color: var(--teal-green);
}

.drop-label {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
}

.drop-meta {
  color: var(--dim);
  font-size: 0.875rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Options grid — TTL + max downloads */
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.options label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--dim);
}

select,
input[type="text"] {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

select:focus,
input:focus,
.upload-btn:focus {
  outline: 2px solid var(--teal-green);
  outline-offset: 1px;
  border-color: var(--teal-green);
}

/* Upload-button — page-specifieke CTA (gradient, sterker dan default .btn.bp).
   Eigen class i.p.v. <button> override om geen conflict met shell .btn te veroorzaken. */
.upload-btn {
  background: linear-gradient(135deg, var(--dark-teal), var(--teal-green));
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.upload-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(89, 197, 168, .25);
  filter: brightness(1.08);
}

.upload-btn:active:not(:disabled) {
  transform: translateY(0);
}

.upload-btn:disabled {
  background: var(--border);
  color: var(--dim);
  cursor: not-allowed;
}

/* Progress indicator */
.progress {
  margin-top: 1.25rem;
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--dark-teal), var(--teal-green));
  transition: width .25s;
  box-shadow: 0 0 12px rgba(89, 197, 168, .4);
}

.progress-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--dim);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

/* Result-card link-box */
.link-box {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.link-box input {
  flex: 1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--teal-green);
}

/* Inline modifiers */
.muted { color: var(--dim); }
.small { font-size: 0.875rem; }

code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  background: rgba(89, 197, 168, .1);
  color: var(--teal-green);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

#error-card h3 {
  color: var(--coral);
}

/* Mobile responsive — opties naar 1 kolom */
@media (max-width: 480px) {
  .options { grid-template-columns: 1fr; }
}
