* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef2f6;
  color: #172033;
  font-family: "Segoe UI", Arial, sans-serif;
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
}

.card {
  width: min(820px, 100%);
  background: white;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 18px 55px #1c2a3d18;
}

/* Header */

.head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #172033;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: #718096;
  letter-spacing: 0.14em;
}

.title {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.title span {
  color: #68788c;
}

.intro {
  color: #607084;
  line-height: 1.55;
  margin: 18px 0 24px;
}

/* Drop zone */

.drop {
  border: 2px dashed #b9c5d3;
  border-radius: 15px;
  padding: 32px 20px;
  text-align: center;
  background: #fafbfd;
  cursor: pointer;
}

.drop.over {
  background: #f3f6f9;
  border-color: #66788c;
}

.up {
  margin: auto auto 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8edf3;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
}

.drop h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.drop p {
  font-size: 13px;
  color: #778599;
  margin: 0 0 16px;
}

/* Buttons */

.choose,
button,
.download {
  border: 0;
  border-radius: 10px;
  padding: 12px 17px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.choose {
  background: #e8edf3;
  color: #27364a;
}

.primary {
  background: #172033;
  color: #fff;
  flex: 1;
}

.primary:disabled,
.choose:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 17px;
}

/* Selected file list */

.files {
  margin-top: 17px;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  overflow: hidden;
  max-height: 250px;
  overflow-y: auto;
}

.fh {
  padding: 11px 14px;
  background: #f7f9fb;
  border-bottom: 1px solid #e0e6ed;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.fr {
  padding: 9px 14px;
  border-bottom: 1px solid #edf0f3;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.size {
  color: #7c8898;
}

/* Progress bar */

.progress {
  margin-top: 20px;
}

.pl {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #627085;
  margin-bottom: 7px;
}

.track {
  height: 8px;
  background: #e8edf2;
  border-radius: 99px;
  overflow: hidden;
}

.bar {
  height: 100%;
  width: 0;
  background: #172033;
  transition: 0.2s;
}

/* Result banner */

.result {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
}

.ok {
  background: #f1f6f3;
  border: 1px solid #cddbd3;
}

.err {
  background: #faf2f2;
  border: 1px solid #e4caca;
  color: #7a3434;
}

.download {
  display: inline-block;
  background: #172033;
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
}

/* Footnote */

.note {
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid #e7ebef;
  color: #7a8798;
  font-size: 12px;
  line-height: 1.55;
}

.hidden {
  display: none !important;
}

code {
  background: #eef2f6;
  padding: 2px 4px;
  border-radius: 4px;
}
