/* form-file-image-1.css — デモ固有スタイル */

/* アップロードコンテナ */
.img-upload {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ドロップエリア */
.img-upload__area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
  border: 2px dashed #C8D5E6;
  border-radius: 12px;
  background: #F7F9FC;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.img-upload__area:hover,
.img-upload__area.is-dragover {
  border-color: #2B7FE8;
  background: #EBF2FF;
}

.img-upload__icon {
  width: 40px;
  height: 40px;
  color: #9AA5B4;
}

.img-upload__text {
  font-size: 14px;
  color: #5A6A7A;
  font-weight: 600;
  text-align: center;
}

.img-upload__sub {
  font-size: 12px;
  color: #9AA5B4;
}

.img-upload__input {
  display: none;
}

/* プレビューエリア */
.img-upload__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid #C8D5E6;
  border-radius: 12px;
  background: #fff;
}

.img-upload__img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 6px;
}

.img-upload__info {
  font-size: 13px;
  color: #5A6A7A;
  margin: 0;
  text-align: center;
}

.img-upload__download {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #2B7FE8;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.img-upload__download:hover {
  background: #1a6fd4;
}

/* 擬似デモ注記 */
.img-upload__note {
  font-size: 12px;
  color: #B0BAC8;
  margin: 0;
  text-align: center;
}

/* リセットボタン */
.reset-btn {
  padding: 6px 16px;
  font-size: 13px;
  color: #5A6A7A;
  background: #fff;
  border: 1.5px solid #D0D7E0;
  border-radius: 6px;
  cursor: pointer;
  font-family: sans-serif;
  transition: background 0.15s, border-color 0.15s;
}

.reset-btn:hover {
  background: #F4F6F9;
  border-color: #9AA5B4;
}

@media (max-width: 480px) {
  .img-upload__area { padding: 28px 16px; }
}
