@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600&display=swap");

/* ===== Global ===== */
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Kanit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  background: radial-gradient(
      900px 500px at 15% 20%,
      rgba(30, 144, 255, 0.25),
      transparent 55%
    ),
    radial-gradient(
      800px 450px at 85% 30%,
      rgba(0, 191, 255, 0.18),
      transparent 60%
    ),
    linear-gradient(135deg, #0f2027, #203a43, #000000);

  color: #e5f0ff;
}

a {
  color: #4da3ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== Report Container ===== */
.container.report {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 22px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(10px);

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

/* ===== Headings ===== */
h1 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 14px;
  color: #9ecbff;
}

h4 {
  margin-top: 28px;
  margin-bottom: 14px;
  border-left: 4px solid #4da3ff;
  padding-left: 12px;
  color: #bcdcff;
  font-weight: 600;
}

p {
  line-height: 1.7;
  color: #d6e6ff;
}

hr {
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

/* ===== Screenshot Styling (รองรับ Bootstrap row/col) ===== */
.row.g-3 img {
  width: 100%;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.row.g-3 img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.9);
}

/* ===== Force same image size ===== */
.image-box {
  width: 100%;
  aspect-ratio: 16 / 9; /* ปรับได้ เช่น 1/1, 4/3 */
  overflow: hidden;
  border-radius: 14px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ครอปให้เต็มกรอบ */
}

/* ===== Download Button (ทับ Bootstrap ให้เป็น Lab4 style) ===== */
.btn.btn-primary {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;

  border-radius: 999px;
  font-weight: 600;

  color: #ffffff !important;
  border: none !important;
  background: linear-gradient(135deg, #1e90ff, #00bfff) !important;

  box-shadow: 0 0 18px rgba(30, 144, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 0 28px rgba(30, 144, 255, 0.9);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  margin-top: 46px;
  font-size: 0.9rem;
  color: #9fbfff;
  opacity: 0.85;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container.report {
    margin: 18px auto;
    padding: 26px 14px;
    border-radius: 14px;
  }
}
