* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  height: 100vh;
  background-color: Canvas;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#dob-container {
  display: flex;
  width: 1200px;
  min-width: 760px;
  max-width: 95%;
  height: calc(100vh - 80px);
  margin: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.left-panel,
.right-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left-panel {
  width: 560px;
  height: 100%;
}

.left-panel img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  content: url("../images/banner.png");
}

.right-panel {
  width: 100%;
  padding: 20px;
}

.scanner {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.scanner img {
  height: 32px;
  margin-right: 10px;
}

.qr-box {
  width: 250px;
  height: 250px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  padding: 10px;
}

.dob-qr {
  width: 220px;
  height: 220px;
}

.instruction {
  font-size: 14px;
  width: 80%;
  text-align: center;
}

#footer {
  display: block;
  font-size: 12px;
  color: gray;
  margin-bottom: 10px;
  text-align: center;
}

/* ✅ Responsive adjustments */
@media (max-width: 760px) {
  html,
  body {
    height: auto;
    overflow-x: hidden;
  }

  #dob-container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
    min-width: unset;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    height: auto;
  }

  .left-panel img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    content: url("../images/banner-horizontal.jpeg");
  }

  .right-panel {
    padding: 20px 10px;
  }

  .qr-box {
    width: 250px;
    height: 250px;
  }

  .instruction {
    width: 90%;
    font-size: 13px;
  }
}

/* ✅ Responsive adjustments */
/* @media (max-width: 760px) {
    #dob-container {
        flex-direction: column;
        height: auto;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        height: auto;
    }

    .left-panel img {
        height: auto;
        width: 100%;
    }

    .right-panel {
        padding: 20px 10px;
    }

    .qr-box {
        width: 200px;
        height: 200px;
    }

    .instruction {
        width: 90%;
        font-size: 13px;
    }
} */
