body {
  font-family: "Poppins", sans-serif;
}

#ccv-request-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#ccv-request-form label {
  display: block;
  margin: 10px 0 5px;
  text-align: right;
}

#ccv-request-form input[type="text"],
#ccv-request-form input[type="email"],
#ccv-request-form textarea,
#ccv-request-form select {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#ccv-request-form input[type="submit"] {
  background-color: #0073aa;
  color: #fff;
  border: none;
  margin-top: 20px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  text-align: center;
}

#ccv-request-form input[type="submit"]:hover {
  background-color: #005177;
}

.success-message,
.error-message {
  display: none;
  margin-top: 10px;
}

/* Add styling for the My Certifications tab */
.wc-my-certifications-list {
  list-style-type: none;
  padding: 0;
}

.wc-my-certifications-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.wc-my-certifications-list li:last-child {
  border-bottom: none;
}

.download-btn {
  display: inline-block;
  margin-left: 10px;
  padding: 5px 10px;
  color: #fff;
  background-color: #0073aa;
  text-decoration: none;
  border-radius: 3px;
}

.download-btn:hover {
  background-color: #005177;
}

/* Add styling for the My Certifications tab */
.wc-my-certifications-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.wc-my-certifications-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #ddd; /* Light border */
  border-radius: 5px; /* Rounded corners */
  margin-bottom: 10px; /* Space between items */
  background-color: #f9f9f9; /* Light background color */
}

.wc-my-certifications-list li:last-child {
  margin-bottom: 0; /* Remove bottom margin for the last item */
}

.wc-my-certifications-list .course-name {
  font-weight: bold;
}

.wc-my-certifications-list .download-btn {
  display: inline-block;
  padding: 8px 15px;
  color: #fff;
  background-color: #0073aa;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.wc-my-certifications-list .download-btn:hover {
  background-color: #005177;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
  .wc-my-certifications-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .wc-my-certifications-list .download-btn {
    margin-top: 10px;
  }
}

/* Search Form Styling */
#ccv-search-form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between elements */
  padding: 20px;
  border: 1px solid #ddd; /* Light border */
  border-radius: 8px; /* Rounded corners */
  max-width: 400px; /* Max width */
  margin: 0 auto; /* Centering */
  background-color: #f9f9f9; /* Light background */
}

#ccv-search-form label {
  font-weight: bold;
  margin-bottom: 5px; /* Space between label and input */
  text-align: right;
}

#ccv-search-form input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc; /* Light border */
  border-radius: 4px; /* Rounded corners */
  width: 100%; /* Full width */
}

#ccv-search-form input[type="submit"] {
  background-color: #007cba; /* Blue background */
  color: #fff; /* White text */
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer; /* Pointer cursor */
  font-size: 16px;
  transition: background-color 0.3s ease; /* Smooth transition */
  text-align: center;
}

#ccv-search-form input[type="submit"]:hover {
  background-color: #005a87; /* Darker blue on hover */
}

/* Search Results Styling */
#ccv-search-results {
  margin-top: 20px; /* Space above the results */
  text-align: center; /* Centered text */
}

#ccv-search-results img {
  max-width: 100%; /* Responsive image */
  height: auto;
  border: 1px solid #ddd; /* Light border */
  border-radius: 8px; /* Rounded corners */
  padding: 10px; /* Padding inside the border */
  background-color: #fff; /* White background */
}


#wp-submit {
    padding: 5px 20px 5px 20px;
    background-color: #f9b531;
    font-weight: 600;
    border-radius: 5px;
}