/* Full page wrapper */
.bright-cert-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background-color: #f0f2f5;
  padding: 40px 20px;
  box-sizing: border-box;
  flex-direction: column;
}

/* Main inner layout (logo + content) */
.bright-cert-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafc;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  gap: 40px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

/* Logo container */
.bright-cert-logo {
  flex: 0 0 auto;
}

.bright-cert-logo img {
  max-width: 200px;
  height: auto;
  display: block;
}

/* Form/content container */
.bright-cert-container {
  flex: 1;
}

.bright-cert-content h2,
.bright-cert-content h3 {
  margin: 0 0 10px;
  font-weight: 600;
  text-align: left;
}

.bright-cert-content h2 {
  font-size: 24px;
}

.bright-cert-content h3 {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
}

/* Form styling */
.bright-cert-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bright-cert-lookup-form label {
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.bright-cert-lookup-form input[type="text"],
.bright-cert-lookup-form input[type="submit"] {
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.bright-cert-lookup-form input[type="submit"] {
  background-color: #7ac143;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.bright-cert-lookup-form input[type="submit"]:hover {
  background-color: #68a637;
}

/* Error message */
.bright-cert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
}

/* Certificate result */
.bright-cert-result {
  border: 1px solid #ddd;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.bright-cert-result h4 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.bright-cert-result p,
.bright-cert-result ul li {
  font-size: 14px;
  margin: 6px 0;
}

.bright-cert-result ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

/* Button actions */
.bright-cert-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.bright-cert-actions button,
.bright-cert-actions .button {
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  background-color: #0073aa;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.bright-cert-actions button:hover,
.bright-cert-actions .button:hover {
  background-color: #005a87;
}

/* Footer note */
.bright-cert-footer-notice {
  margin-top: 30px;
  font-size: 13px;
  color: #555;
  text-align: center;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bright-cert-outer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bright-cert-content h2,
  .bright-cert-content h3 {
    text-align: center;
  }

  .bright-cert-actions {
    justify-content: center;
  }
}

