body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url(bg.png);
    background-size: cover;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 900px;
    width: 100%;
}

h1 {
    color: #0056b3;
    margin-bottom: 20px;
}

.controls {
    margin-bottom: 20px;
}

input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.canvas-container {
    position: relative;
    /*width: 1080px; /* Should match canvas width */
    /*height: 1350px; /* Should match canvas height */
    margin: 0 auto 20px;
    border: 1px solid #ddd;
    background-color: #eee;
}

#graphicCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 1.2em;
    pointer-events: none; /* Allows clicks to pass through to the canvas/input */
}

#downloadBtn {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

#downloadBtn:hover:not(:disabled) {
    background-color: #0056b3;
}

#downloadBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.note {
    margin-top: 20px;
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-message {
    font-weight: bold;
    margin-bottom: 10px;
    color: #007bff;
}

.zoom-controls {
  margin-top: 10px;
  text-align: center;
}

#zoomSlider {
  width: 200px;
}

@media screen and (max-width: 767px){
    h1{
        font-size: 20px;
    }
    .logo{
        width: 150px;
    }
}



footer {
  width: 100%;
  padding: 22px 12px;
  background: #0f172a; /* deep navy */
  text-align: center;
  display: flex;
  justify-content: center;
}

.footer-inner {
  max-width: 900px;
}

.footer-contact {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.footer-contact .dot {
  padding: 0 6px;
  opacity: 0.5;
}

.footer-credit {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-credit span, .footer-credit span a {
  color: #38bdf8;
  font-weight: 600;
    font-style: none;
}

/* Mobile Optimisation */
@media (max-width: 600px) {
  .footer-contact,
  .footer-credit {
    font-size: 13px;
  }

  .footer-contact .dot {
    display: block;
    margin: 4px 0;
  }
}


.footer-contact a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #38bdf8;
}

