body {
  background-color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  border: 2px solid #8bc34a;
}

h1 {
  color: #388e3c;
  font-size: 24px;
  margin-bottom: 10px;
}

.subtext {
  color: #4caf50;
  font-size: 16px;
  margin-bottom: 12px;
}

.otp-hint-inline {
  background-color: #fffde7;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #5d4037;
  margin: 10px 0;
  text-align: left;
  line-height: 1.6;
}

.step-label {
  font-weight: 700;
}

.otp-action-generate {
  font-weight: 700;
  color: #ff1744;
}

.otp-action-copy {
  font-weight: 700;
  color: #ff9800;
}

.info-note {
  font-size: 14px;
  color: #666;
  margin: 8px 0 14px 0;
  text-align: left;
}

.info-note.small {
  text-align: center;
}

.info-note .highlight-warning {
  color: #d93025;
  font-weight: 600;
  background-color: #fff3cd;
  padding: 2px 6px;
  border-radius: 6px;
}

.info-box {
  background-color: #f1f8e9;
  border: 1.5px dashed #81c784;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0;
  text-align: left;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 6px 0;
}

.info-label {
  font-weight: bold;
  width: 40%;
  text-align: left;
  font-size: 16px;
}

.info-value {
  width: 58%;
  text-align: right;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-row .info-label {
  white-space: nowrap;
}

.password-row .info-value {
  color: #1b5e20;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  text-align: right;
  display: block;
  word-break: break-word;
  line-height: 1.4;
  font-size: 14px;
}

#password,
#otp,
#email,
#time {
  font-weight: bold;
}

.email-row .info-value {
  color: #1565c0;
}

.time-row .info-value {
  color: #ef6c00;
}

.otp-row .info-value {
  color: #c62828;
}

.copy-section {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.copy-btn {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.otp-btn {
  background-color: #ff1744;
  color: white;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(255, 23, 68, 0.25);
}

.otp-btn:hover {
  background-color: #f0143a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 23, 68, 0.4);
}

.copy-otp-btn {
  background-color: #ff9800;
  color: white;
  font-weight: 600;
}

.copy-otp-btn:hover {
  background-color: #f57c00;
}

.password-btn {
  background-color: #43a047;
  color: white;
}

.password-btn:hover {
  background-color: #2e7d32;
}

.copy-btn.copied {
  animation: bounce 0.4s;
  opacity: 0.8;
}

.last-checked {
  margin-top: 12px;
  font-size: 12px;
  color: #444;
}

#error-note {
  margin-top: 6px;
  color: #d32f2f;
  font-weight: bold;
  font-size: 14px;
  display: none;
}

/* PC: thụt vào cho 4 dòng hướng dẫn/Authenticator để bớt sát trái */
@media (min-width: 768px) {
  .otp-hint-inline,
  .info-note:not(.small) {
    margin-left: 8px;
  }
}

@media (max-width: 480px) {
  .password-row .info-value {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    line-height: 1.4;
    text-align: right;
  }
}

@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
