body {
  background: #f5f7fa;
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
}

.center-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.09);
  max-width: 400px;
  margin: 60px auto 0 auto;
  padding: 36px 32px 28px 32px;
  text-align: center;
  position: relative;
}

.gh-logo {
  width: 180px;
  margin-bottom: 16px;
}

.main-title {
  font-size: 1.55rem;
  margin: 0 0 8px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1rem;
  color: #4d4d4d;
  margin-bottom: 16px;
}

#verifyForm {
  margin-bottom: 8px;
}

#certNumber {
  width: 100%;
  padding: 13px 10px;
  border: 1.5px solid #d3e0dc;
  border-radius: 7px;
  font-size: 1.08rem;
  margin-bottom: 17px;
  outline: none;
  transition: border 0.2s;
  background: #f6f7fb;
}
#certNumber:focus {
  border-color: #40916c;
}

#searchBtn {
  width: 100%;
  padding: 12px 0;
  background: #52b788;        /* Always proper green */
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s;
}
#searchBtn:hover,
#searchBtn:active {
  background: #52b788;        /* Keep the same proper green */
}

/* Loader Styles */
.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #40916c;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Result styles */
.result {
  margin-top: 22px;
}

.cert-success {
  border: 2px dashed #38b000;
  border-radius: 8px;
  padding: 22px 10px 12px 10px;
  background: #e9fbe8;
  color: #111;
  margin-bottom: 12px;
}
.cert-success h2 {
  color: #38b000;
  font-size: 1.18rem;
  margin-bottom: 15px;
  letter-spacing: 0.7px;
}
.cert-success .details {
  text-align: left;
  margin: 0 auto 8px auto;
  max-width: 330px;
}
.cert-success .details b {
  font-weight: 700;
}
.cert-success .conf-note {
  border-top: 1.2px dashed #38b000;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.99rem;
  color: #333;
}
.cert-success .conf-note strong {
  color: #197278;
}

.cert-error {
  border: 2px dashed #e63946;
  border-radius: 8px;
  padding: 20px 10px 12px 10px;
  background: #fff0f3;
  color: #b10024;
  margin-bottom: 12px;
}
.cert-error h2 {
  color: #e63946;
  font-size: 1.18rem;
  margin-bottom: 10px;
  letter-spacing: 0.7px;
}
