body{
    background: #F2F0FF;
}


.verify-form {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.verify-form .container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  width: 100%;
  max-width: 420px;
}

.verify-form .container h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #333;
}

.verify-form .container input {
  display: block;
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.3s ease;
}

.verify-form .container input:focus {
  border-color: #2575fc;
  box-shadow: 0 0 5px rgba(37, 117, 252, 0.3);
}

.verify-form .container button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #7665FF;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.verify-form .container button:hover {
  background: #5f49ff;
}

.verify-form .container #result {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  min-height: 20px;
}


/* Result box (common) */
.verify-form .container .result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  animation: fadeIn 0.3s ease-in-out;
}

/* Success style */
.verify-form .container .result.valid {
  background: #e6f9ec;
  border: 1px solid #27ae60;
  color: #2e7d32;
}

/* Error style */
.verify-form .container .result.invalid {
  background: #fdecea;
  border: 1px solid #e74c3c;
  color: #c0392b;
}

/* Certificate details box */
.verify-form .container .result .details {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #eee;
}

.verify-form .container .result .details p {
  margin: 6px 0;
  font-size: 14px;
  color: #333;
}

/* Bold text inside details */
.verify-form .container .result .details b {
  color: #000;
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
