/* =========================
   VIEW RESULT PAGE
========================= */

.view-result-page {
  padding: 40px 15px 60px;
  background: #eef3ef;
  min-height: 100vh;
}

.view-result-container {
  max-width: 900px;
  margin: 0 auto;
}

/* CARD */
.view-result-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px 20px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* HEADER */
.view-result-top {
  text-align: center;
  margin-bottom: 20px;
}

.view-result-top h1 {
  font-size: 24px;
  font-weight: 700;
  color: #173e29;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.draw-date {
  font-size: 14px;
  color: #6b7280;
}

/* 🔥 IMAGE FIX (CENTER + SIDE SPACE) */
.view-result-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding: 0 15px; /* 🔥 creates side gap */
}

.view-result-image img {
  width: 100%;
  max-width: 800px;   /* 🔥 increase size */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* DOWNLOAD BUTTON */
.download-section {
  text-align: center;
  margin-top: 25px;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff9800, #ffb300);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

/* MOBILE */
@media (max-width: 768px) {

  .view-result-card {
    padding: 20px 15px;
  }

  .view-result-top h1 {
    font-size: 18px;
  }

  .view-result-image img {
    max-width: 100%;
  }

}