* {
  font-family: "Poppins", sans-serif;
}

body {
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  /* min-height: 100vh; */
  /* padding: 20px 0; */
}

.verification-container {
  max-width: 900px;
 
  margin: 0 auto;
}

.verification-card {
  background: white;
  /* border-radius: 10px; */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 30px;
  margin-top: 30px;
}

.card-header-custom {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.card-header-custom h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-header-custom p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.search-section {
  padding: 40px 30px;
  background: #f8f9fa;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box input {
  width: 100%;
  padding: 15px 60px 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 10px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.search-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.certificate-details {
  padding: 40px 30px;
}

.status-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.status-active {
  background: #d4edda;
  color: #155724;
}

.status-expired {
  background: #f8d7da;
  color: #721c24;
}

.status-revoked {
  background: #fff3cd;
  color: #856404;
}

.detail-row {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: #666;
  min-width: 180px;
}

.detail-value {
  color: #333;
  flex: 1;
}

.qr-section {
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  margin-top: 30px;
}

.qr-section img {
  max-width: 200px;
  border: 5px solid white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.error-message {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-custom {
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-secondary-custom {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary-custom:hover {
  background: #667eea;
  color: white;
}

.verified-stamp {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.verified-stamp img {
  width: 150px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .card-header-custom h1 {
    font-size: 1.8rem;
  }

  .detail-row {
    flex-direction: column;
  }

  .detail-label {
    margin-bottom: 5px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-custom {
    width: 100%;
    text-align: center;
  }
}

.info-box {
  background: #e7f3ff;
  border-left: 4px solid #2196f3;
  padding: 15px 20px;
  border-radius: 5px;
  margin: 20px 0;
  min-height: 0 !important;
}

.info-box i {
  color: #2196f3;
  margin-right: 10px;
}
