* {
  box-sizing: border-box;
}

body {
  margin: 40px;
  min-height: 100vh;
  background: #0f172a;
  font-family: Arial, sans-serif;
  color: #e5e7eb;
  display: flex;
  align-items: left;
  justify-content: left;
  flex-direction: column;
}

/* центральный блок */
.upload-box {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

/* поле загрузки */
.dropzone {
  width: 420px;
  height: 180px;
  border: 2px dashed #64748b;
  border-radius: 22px;
  background: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  cursor: pointer;
  padding: 24px;
  text-align: center;
}

.dropzone:hover,
.dropzone.active {
  border-color: #60a5fa;
  background: #172033;
}

.file-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.drop-text {
  font-size: 18px;
  line-height: 1.4;
  color: #f8fafc;
}

.drop-text span {
  display: inline-block;
  margin-top: 6px;
  max-width: 340px;
  color: #93c5fd;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

input[type="file"] {
  display: none;
}

/* кнопка OK */
.ok-button {
  width: 96px;
  border: none;
  border-radius: 22px;
  background: #2563eb;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.ok-button:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.ok-button:disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
}

/* статус и ссылка */
.status {
  margin-top: 22px;
  min-height: 24px;
  font-size: 18px;
  color: #93c5fd;
  display: flex;
  gap: 10px;
  align-items: center;
}

.status a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.status a:hover {
  border-bottom-color: #ffffff;
}