/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #19212a;
  background: #eef2f6;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

.upload-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(245, 126, 31, 0.16), transparent 34%),
    #eef2f6;
}

.upload-card {
  width: min(100%, 560px);
  padding: 42px;
  border: 1px solid #dde3ea;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(34, 49, 65, 0.1);
}

.upload-card__heading {
  margin-bottom: 28px;
}

.upload-card__eyebrow {
  color: #f57e1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.upload-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(32px, 6vw, 46px);
  letter-spacing: -0.04em;
}

.upload-card p {
  margin: 0;
  color: #647180;
  line-height: 1.6;
}

.upload-form {
  display: grid;
  gap: 18px;
}

.filepond-wrapper {
  width: 100%;
}

.filepond--root {
  margin-bottom: 0;
  font-family: inherit;
}

.filepond--panel-root {
  border: 2px dashed #cbd3dc;
  border-radius: 14px;
  background-color: #fafbfc;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.filepond--root:hover .filepond--panel-root,
.filepond--root:focus-within .filepond--panel-root {
  border-color: #f57e1f;
  background-color: #fff8f2;
}

.filepond--drop-label {
  min-height: 140px;
  color: #53606d;
  cursor: pointer;
}

.filepond--drop-label label {
  cursor: pointer;
}

.filepond--label-action {
  color: #f57e1f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-skip-ink: auto;
}

.filepond--item-panel {
  background-color: #19212a;
}

.upload-button {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: #ffffff;
  background: #19212a;
  font-size: 16px;
  font-weight: 700;
}

.upload-button:hover {
  background: #f57e1f;
}

.upload-message {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.upload-message--success {
  color: #17633c;
  background: #e8f8ef;
}

.upload-message--error {
  color: #8f2525;
  background: #fff0f0;
}

@media (max-width: 560px) {
  .upload-page {
    padding: 14px;
  }

  .upload-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
}
