/* =========================
   GENERAL
========================= */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
}

/* =========================
   HEADER
========================= */
.header {
  background: linear-gradient(135deg, #fff, #fff);
  color: white;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header img {
  max-height: 42px;
  width: auto;
  margin-right: 12px;
}

/* =========================
   CONTAINER
========================= */
.container {
  margin: 0 auto;
  padding: 24px 18px 120px;
  box-sizing: border-box;
}

.container-upload {
  max-width: 620px;
  margin: 0 auto;
  padding: 24px 18px 120px;
  box-sizing: border-box;
}

/* =========================
   CARD / BOX
========================= */
.upload-card,
.gallery-item {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid #ececec;
}

/* =========================
   GALLERY
========================= */
.gallery-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.25s ease;
}

.gallery-img:hover {
  transform: scale(1.01);
}

/* =========================
   CAPTION
========================= */
.caption {
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  color: #444;
}

/* =========================
   FORM INPUT
========================= */
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  font-size: 15px;
  transition: 0.2s ease;
  box-sizing: border-box;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #c40018;
  box-shadow: 0 0 0 4px rgba(196, 0, 24, 0.12);
}

/* =========================
   BUTTON
========================= */
button,
.whatsapp-btn {
  background: linear-gradient(135deg, #a80012, #d1001c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 4px 10px rgba(196, 0, 24, 0.18);
}

button:hover,
.whatsapp-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* WhatsApp Button Fixed */
.whatsapp-btn {
  position: fixed;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* =========================
   FOOTER
========================= */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #7a0000, #a30015);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 12px;
  z-index: 5;
  font-size: 14px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}

/* =========================
   DISABLED BUTTON
========================= */
button[disabled],
.uppy-c-btn--disabled {
  background: #5a5a5a !important;
  color: #bdbdbd !important;
  cursor: not-allowed;
  border: none;
  box-shadow: none;
}

button[disabled]:hover,
.uppy-c-btn--disabled:hover {
  transform: none;
  background: #4b4b4b !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .gallery-img {
    height: 160px;
  }

  .caption {
    font-size: 0.92rem;
  }

  .whatsapp-btn {
    padding: 11px 18px;
    font-size: 0.92rem;
  }

  .header {
    padding: 10px 16px;
  }

  .header img {
    transform: scale(0.92);
  }
}

@media (min-width: 769px) {
  .caption {
    font-size: 1.05rem;
  }
}