/* Certification Form Styles */
.certification-form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certification-form-section header {
  text-align: center;
  margin-bottom: 2rem;
}

.certification-form-section h2 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.certification-form-section p {
  color: #666;
  font-size: 1rem;
}

.certification-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.form-group input:invalid {
  border-color: #dc3545;
}

.form-actions {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.btn-primary {
  background-color: #007cba;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #005a87;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.download-icon {
  font-size: 1.2rem;
}

/* Results and Error Messages */
.certification-results,
.certification-error {
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.certification-results {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.certification-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.result-content,
.error-content {
  text-align: center;
}

.result-content h3,
.error-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.result-content p,
.error-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Loading state */
.btn-loading {
  display: none;
}

.btn:disabled .btn-text {
  display: none;
}

.btn:disabled .btn-loading {
  display: inline;
}

/* Responsive design */
@media (max-width: 768px) {
  .certification-form-section {
    padding: 1rem;
    margin: 1rem;
  }

  .certification-form-section h2 {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    padding: 1rem;
  }
}
