body {
  background: #e9fbe7;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Disable scroll by default */
}

.otp-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(76, 175, 80, 0.10);
  padding: 36px 20px 22px 20px;
  max-width: 370px;     /* <- GIẢM max-width, đẹp trên PC */
  width: 100%;
  border: 2px solid #8fd182;
  margin: 20px;
  text-align: center;
}

h1 {
  color: #43a047;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 7px;
}

.subtext, .info-note {
  color: #3c763d;
  font-size: 16px;
  margin-bottom: 5px;
  text-align: center;
  font-weight: 500;
}

.info-note {
  margin-bottom: 15px;
  font-size: 14px;
  color: #388e3c;
}

.info-box {
  background: #f5fbe6;
  border: 1.5px dashed #aee571;
  border-radius: 11px;
  padding: 14px 10px;
  margin-bottom: 18px;
  text-align: left;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 8px 0;
  font-size: 16px;
}

.info-label {
  font-weight: 600;
  color: #388e3c;
  width: 42%;
  text-align: left;
}

.info-value {
  width: 56%;
  text-align: right;
  font-size: 16px;
  font-weight: 500;
  color: #357a38;
  word-break: break-word;
}

#otp {
  color: #c62828 !important;
  font-weight: 600;
  font-size: 16px;
}

.info-row:last-child .info-label {
  color: #2e7d32;
}
.info-row:last-child .info-value {
  color: #388e3c;
  font-weight: bold;
  font-size: 17px;
}

#otp:empty,
.info-row .info-value[data-otp="no"] {
  color: #c62828 !important;
  font-weight: 700;
}

.copy-btn {
  background: #2196f3;
  color: #fff;
  border: none;
  outline: none;
  padding: 13px 0;
  width: 100%;
  margin-top: 8px;
  font-size: 17px;
  border-radius: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px rgba(140, 195, 74, 0.11);
  display: inline-block;
}
.copy-btn:hover {
  background: #1976d2;
}

.copy-btn.copied {
  animation: bounce 0.35s;
}

@keyframes bounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.09); }
  100% { transform: scale(1); }
}

.last-checked {
  margin-top: 18px;
  font-size: 13px;
  color: #9a9a9a;
  text-align: center;
}

@media (max-width: 500px) {
  .otp-card {
    max-width: 98vw;
    padding: 12px 2vw 12px 2vw;
  }
  .info-box {
    padding: 7px 1vw;
  }
  .copy-btn {
    font-size: 16px;
    padding: 11px 0;
    width: 100%;
    margin-top: 7px;
    display: block;
  }
}
