/* Course Certificate Generator Styles */

#ccg-certificate-manager {
  max-width: 100%;
}

.users_page_course-certificates .ccg-stat-number {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #106341 !important;
  margin-bottom: 8px !important;
  line-height: 1 !important;
}

.users_page_course-certificates .ccg-table-wrapper tr:last-child td {
  border-bottom: none !important;
  align-content: baseline !important;
}

#ccg-certificate-manager h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.4em;
}

#ccg-certificate-manager p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Przyciski */
.ccg-button {
  display: inline-block;
  padding: 12px 24px;
  margin-right: 10px;
  margin-bottom: 10px;
  background: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ccg-button:hover {
  background: #005a87;
  color: white;
  text-decoration: none;
}

.ccg-button-primary {
  background: #0073aa;
}

.ccg-button-primary:hover {
  background: #005a87;
}

.ccg-button-success {
  background: #28a745;
}

.ccg-button-success:hover {
  background: #218838;
}

/* Loading spinner */
#ccg-loading {
  text-align: center;
  padding: 20px;
}

.ccg-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0073aa;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Komunikaty */
.ccg-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  border-left: 4px solid #ddd;
}

.ccg-message.error {
  background: #ffeaea;
  border-left-color: #dc3232;
  color: #721c24;
}

.ccg-message.success {
  background: #eafaea;
  border-left-color: #46b450;
  color: #1f4f1f;
}

/* Istniejący certyfikat */
.ccg-existing-certificate {
  background: #e8f5e8;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #46b450;
  margin-bottom: 20px;
}

.ccg-existing-certificate p {
  margin-bottom: 10px;
  color: #1f4f1f;
}

/* Toast notifications */
.ccg-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  z-index: 9999;
  max-width: 400px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ccg-toast-success {
  background: #28a745;
}

.ccg-toast-error {
  background: #dc3545;
}

/* DODATKOWE STYLE DLA PASKA POSTĘPU */
.ccg-progress-completed {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 12px !important;
  background: linear-gradient(90deg, #f8fff9 0%, #e8f5e8 100%) !important;
  border-radius: 8px !important;
  border: 1px solid #106341 !important;
}

.ccg-progress-completed-icon {
  font-size: 20px !important;
}

.ccg-progress-completed-text {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #106341 !important;
}

.ccg-progress-info {
  display: flex !important;
  justify-content: center !important;
  margin-top: 8px !important;
}

.ccg-progress-info-text {
  font-size: 13px !important;
  color: #666 !important;
  font-style: italic !important;
}

/* STYLE DLA PRZYCISKÓW NAWIGACJI LEKCJI */
.ccg-lesson-nav-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 24px !important;
  background: #106341 !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.ccg-lesson-nav-button:hover {
  background: #0d5134 !important;
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(16, 99, 65, 0.3) !important;
}

.ccg-lesson-nav-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(16, 99, 65, 0.2) !important;
}

.ccg-lesson-nav-button.ccg-complete-course {
  background: linear-gradient(90deg, #106341 0%, #0d5134 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

.ccg-lesson-nav-button.ccg-complete-course::before {
  content: "🎓" !important;
  margin-right: 8px !important;
}

/* Responsywność */
@media (max-width: 768px) {
  #ccg-certificate-manager {
    padding: 15px;
    margin: 10px 0;
  }

  .ccg-button {
    display: block;
    text-align: center;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .ccg-toast {
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .ccg-progress-completed {
    flex-direction: column !important;
    text-align: center !important;
    gap: 4px !important;
  }

  .ccg-lesson-nav-button {
    width: 100% !important;
    justify-content: center !important;
  }

  .ccg-toast {
    left: 10px !important;
    right: 10px !important;
    max-width: none !important;
  }
}

/* Dodatkowe style dla panelu administracyjnego */
.ccg-admin-wrapper {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding: 32px 20px;
}

/* Specyficzne style dla WordPress admin */
.wp-admin .ccg-admin-wrapper {
  background-color: #f5f5f5;
  min-height: calc(100vh - 32px);
  padding: 32px 20px;
  margin-left: -20px;
  margin-right: -20px;
}

/* Dodatkowe style dla kontainera w WordPress admin */
.wp-admin .wrap .ccg-admin-wrapper {
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -10px;
}

/* WordPress admin mobile breakpoint */
@media (max-width: 782px) {
  .users_page_course-certificates .ccg-admin-wrapper {
    padding: 15px 10px !important;
  }
}

/* GŁÓWNE STYLE PANELU ADMINA - MAKSYMALNA SPECYFICZNOŚĆ */
.users_page_course-certificates .ccg-admin-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
}

.users_page_course-certificates .ccg-admin-title {
  font-size: 32px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 0 32px 0 !important;
  line-height: 1.2 !important;
  background: none !important;
  border: none !important;
}

/* STATYSTYKI */
.users_page_course-certificates .ccg-admin-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  margin-bottom: 48px !important;
}

.users_page_course-certificates .ccg-stat-box {
  background: white !important;
  padding: 32px 24px !important;
  border-radius: 16px !important;
  border: 1px solid #dcdcdc !important;
  text-align: center !important;
  box-shadow: none !important;
  transition: transform 0.2s ease !important;
}

.users_page_course_certificates .ccg-stat-label {
  color: #666 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* SEKCJE */
.users_page_course-certificates .ccg-admin-section {
  background: white !important;
  padding: 32px !important;
  border-radius: 16px !important;
  border: 1px solid #dcdcdc !important;
  margin-bottom: 32px !important;
  box-shadow: none !important;
}

.users_page_course-certificates .ccg-section-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.users_page_course_certificates .ccg-section-description {
  color: #666 !important;
  font-size: 16px !important;
  margin: 0 0 32px 0 !important;
  line-height: 1.5 !important;
}

/* FORMULARZE */
.users_page_course-certificates .ccg-form-label {
  display: block !important;
  color: #1a1a1a !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

.users_page_course-certificates .ccg-form-select {
  width: 100% !important;
  max-width: 400px !important;
  padding: 12px 16px !important;
  border: 2px solid #e5e5e5 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  background: white !important;
  color: #1a1a1a !important;
  height: auto !important;
  line-height: normal !important;
}

.users_page_course-certificates .ccg-form-select:focus {
  outline: none !important;
  border-color: #106341 !important;
  box-shadow: 0 0 0 3px rgba(16, 99, 65, 0.1) !important;
}

/* FORMULARZE - Dodatkowe style */
.users_page_course-certificates .ccg-form-group {
  margin-bottom: 24px !important;
  padding-bottom: 1rem !important;
}

/* PRZYCISKI */
.users_page_course-certificates .ccg-btn-primary {
  background: #106341 !important;
  color: white !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.users_page_course_certificates .ccg-btn-primary:hover {
  background: #0d5134 !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(16, 99, 65, 0.3) !important;
}

/* TABELA */
.users_page_course-certificates .ccg-table-wrapper {
  overflow-x: auto !important;
  background: white !important;
  border-radius: 8px !important;
  border: 1px solid #e5e5e5 !important;
}

.users_page_course-certificates .ccg-table-wrapper table {
  margin: 0 !important;
  border: none !important;
  background: white !important;
}

.users_page_course-certificates .ccg-table-wrapper th {
  background: #f8f9fa !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
  padding: 16px !important;
  border-bottom: 2px solid #e5e5e5 !important;
}

.users_page_course-certificates .ccg-table-wrapper td {
  padding: 16px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  vertical-align: middle !important;
}

/* STATUSY WTYCZKI */
.users_page_course-certificates .ccg-status-grid {
  display: grid !important;
  gap: 16px !important;
}

/* STATUSY WTYCZKI - PROSTSZY I DZIAŁAJĄCY KOD */
.users_page_course-certificates .ccg-status-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px !important;
  background: #f8f9fa !important;
  border-radius: 8px !important;
  border-left: 4px solid #e5e5e5 !important;
  margin-bottom: 16px !important;
}

/* Statusy bez prawej sekcji - wyrównaj do lewej */
.users_page_course-certificates
  .ccg-status-item:not(:has(.ccg-status-right-section)) {
  justify-content: flex-start !important;
}

/* Alternatywny selektor dla starsze przeglądarki */
.users_page_course-certificates .ccg-status-item:nth-child(2),
.users_page_course_certificates .ccg-status-item:nth-child(3) {
  justify-content: flex-start !important;
  gap: 1rem;
}

.users_page_course_certificates .ccg-status-item.status-success {
  border-left-color: #106341 !important;
  background: #f8fff9 !important;
}

.users_page_course_certificates .ccg-status-item.status-error {
  border-left-color: #dc3545 !important;
  background: #fff5f5 !important;
}

/* Lewa część - ikona i tekst */
.users_page_course-certificates .ccg-status-item .ccg-status-left-section {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* Prawa część - przycisk i tekst */
.users_page_course-certificates .ccg-status-item .ccg-status-right-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
}

.users_page_course_certificates .ccg-status-right-section .ccg-btn-primary {
  padding: 8px 16px !important;
  font-size: 14px !important;
}

.users_page_course_certificates .ccg-current-template {
  font-size: 14px !important;
  color: #5c5c5c !important;
  margin: 0 !important;
  text-align: right !important;
  line-height: 1.3 !important;
}

.users_page_course-certificates .ccg-status-item .ccg-status-content strong {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin-bottom: 4px !important;
  display: block !important;
}

.users_page_course_certificates .ccg-status-item .ccg-status-content p {
  font-size: 14px !important;
  color: #666 !important;
  margin: 0 !important;
}

/* Responsywność dla tabeli */
@media (max-width: 768px) {
  .ccg-table-wrapper {
    font-size: 14px;
  }

  .ccg-table-wrapper th,
  .ccg-table-wrapper td {
    padding: 12px 8px;
  }

  .users_page_course-certificates .ccg-status-item {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .users_page_course_certificates .ccg-status-item .ccg-status-right-section {
    align-items: center !important;
  }
}

/* RESPONSYWNOŚĆ - MAKSYMALNA SPECYFICZNOŚĆ */
@media (max-width: 768px) {
  .users_page_course-certificates .ccg-admin-wrapper {
    padding: 20px 10px !important;
  }

  .users_page_course-certificates .ccg-admin-stats {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
  }

  .users_page_course-certificates .ccg-stat-box {
    padding: 24px 16px !important;
  }

  .users_page_course_certificates .ccg-stat-number {
    font-size: 28px !important;
  }

  .users_page_course_certificates .ccg-admin-section {
    padding: 24px 16px !important;
  }

  .users_page_course_certificates .ccg-admin-title {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }

  .users_page_course_certificates .ccg-section-title {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .users_page_course_certificates .ccg-admin-title {
    font-size: 24px !important;
  }

  .users_page_course_certificates .ccg-stat-number {
    font-size: 24px !important;
  }

  .users_page_course_certificates .ccg-section-title {
    font-size: 18px !important;
  }

  .users_page_course_certificates .ccg-btn-primary {
    width: 100% !important;
    text-align: center !important;
  }
}

/* Nadpisanie kontenera WordPress admin tylko dla strony certyfikatów */
.users_page_course-certificates #wpbody-content {
  padding: 0 !important;
  background: #f5f5f5 !important;
}

.users_page_course-certificates .wrap {
  margin: 0;
  padding: 0;
}

.users_page_course_certificates .wrap h1 {
  display: none; /* Ukryj standardowy tytuł WordPress */
}

/* Specyficzne nadpisania dla WordPress admin background */
.users_page_course-certificates #wpcontent,
.users_page_course-certificates #wpbody {
  background: #f5f5f5 !important;
}

/* Główny kontener - KRYTYCZNE STYLE */
.users_page_course-certificates #wpbody-content .ccg-admin-wrapper {
  background-color: #f5f5f5 !important;
  padding: 32px 20px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Nadpisanie wszystkich potencjalnych konfliktów WordPress */
.users_page_course-certificates * {
  box-sizing: border-box !important;
}

.users_page_course_certificates .ccg-admin-container > * {
  width: 100% !important;
}

/* Wymuszona specyficzność dla kart statystyk */
.users_page_course-certificates #wpbody-content .ccg-admin-stats .ccg-stat-box {
  background: white !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  box-shadow: none !important;
}

/* Wymuszona specyficzność dla sekcji */
.users_page_course-certificates #wpbody-content .ccg-admin-section {
  background: white !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 16px !important;
  padding: 32px !important;
  margin-bottom: 32px !important;
  box-shadow: none !important;
}

/* Wymuszona specyficzność dla przycisków */
.users_page_course-certificates #wpbody-content .ccg-btn-primary {
  background: #106341 !important;
  color: white !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.users_page_course_certificates #wpbody-content .ccg-btn-primary:hover {
  background: #0d5134 !important;
  color: white !important;
}

/* Specjalne style dla przycisku i tekstu w sekcji statusu */
.users_page_course-certificates .ccg-status-right-section .ccg-btn-primary {
  padding: 8px 16px !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  margin: 0 !important;
  align-self: flex-end !important;
}

/* STYLOWANIE PRZYCISU POBIERANIA CERTYFIKATU W STYLU BRICKS */
.ccg-button.ccg-button-success {
  /* Reset starych stylów */
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;

  /* Nowe style w stylu Bricks */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;

  /* Kolory primary button */
  background: #106341 !important;
  color: white !important;
  border: 1px solid #106341 !important;
}

.ccg-button.ccg-button-success:hover {
  background: #0d5134 !important;
  border-color: #0d5134 !important;
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(16, 99, 65, 0.3) !important;
}

.ccg-button.ccg-button-success:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(16, 99, 65, 0.2) !important;
}

.ccg-button.ccg-button-success:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(16, 99, 65, 0.3) !important;
}

/* STYLOWANIE PASKA POSTĘPU LEKCJI */
.ccg-lesson-progress {
  margin: 20px 0 !important;
  padding: 20px !important;
  background: white !important;
  border-radius: 12px !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.ccg-progress-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
}

.ccg-progress-label {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

.ccg-progress-stats {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #666 !important;
}

.ccg-progress-bar {
  width: 100% !important;
  height: 8px !important;
  background-color: #f0f0f0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  position: relative !important;
}

.ccg-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #106341 0%, #0d5134 100%) !important;
  border-radius: 4px !important;
  transition: width 0.3s ease !important;
  position: relative !important;
}

.ccg-progress-fill::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  ) !important;
  animation: ccg-progress-shine 2s infinite !important;
}

@keyframes ccg-progress-shine {
  0% {
    transform: translateX(-100%) !important;
  }
  100% {
    transform: translateX(100%) !important;
  }
}

/* Responsywność dla paska postępu */
@media (max-width: 768px) {
  .ccg-lesson-progress {
    padding: 16px !important;
  }

  .ccg-progress-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .ccg-progress-label {
    font-size: 15px !important;
  }

  .ccg-progress-stats {
    font-size: 13px !important;
  }
}

/* STYLOWANIE STATUSÓW CERTYFIKATÓW W TABELI ADMIN */
.users_page_course-certificates .ccg-table-wrapper .ccg-cert-status-missing {
  color: #dc3545 !important;
  font-size: 12px !important;
  font-style: italic !important;
  font-weight: 500 !important;
}

.users_page_course-certificates .ccg-table-wrapper .ccg-cert-status-old {
  color: #666 !important;
  font-size: 12px !important;
  font-style: italic !important;
}

.users_page_course_certificates .ccg-table-wrapper .ccg-cert-status-available {
  color: #106341 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* Wyróżnienie najnowszych certyfikatów */
.users_page_course-certificates .ccg-table-wrapper tr.ccg-latest-cert {
  background-color: #f8fff9 !important;
}

/* PRZYCISK CZYSZCZENIA CERTYFIKATÓW */
.users_page_course-certificates .ccg-cleanup-btn {
  background: #dc3545 !important;
  color: white !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.users_page_course-certificates .ccg-cleanup-btn:hover {
  background: #c82333 !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3) !important;
}

/* NAGŁÓWEK SEKCJI Z PRZYCISKIEM */
.users_page_course-certificates .ccg-section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 24px !important;
  gap: 20px !important;
}

.users_page_course-certificates .ccg-section-header-left h2 {
  margin: 0 !important;
}

.users_page_course_certificates .ccg-section-header-left p {
  color: #666 !important;
  font-size: 14px !important;
  margin: 4px 0 0 0 !important;
  line-height: 1.4 !important;
}

/* Responsywność dla nagłówka sekcji */
@media (max-width: 768px) {
  .users_page_course-certificates .ccg-section-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .users_page_course-certificates .ccg-cleanup-btn {
    width: 100% !important;
    text-align: center !important;
    justify-self: stretch !important;
  }
}

/* Dodatkowe style dla poprawionego panelu administracyjnego */
.ccg-cert-status-available {
  color: #2271b1;
  font-weight: 600;
}

.ccg-cert-status-missing {
  color: #d63638;
  font-weight: 600;
}

.ccg-cert-status-old {
  color: #787c82;
  font-weight: 500;
}

.button.button-link-delete {
  text-decoration: none;
  border: none;
  background: none;
  box-shadow: none;
  padding: 2px 4px;
  margin: 0;
  height: auto;
  line-height: normal;
}

.button.button-link-delete:hover {
  background: #f0f0f0;
  border-radius: 3px;
}

.users_page_course-certificates .wp-list-table td {
  vertical-align: top !important;
  padding: 12px 8px !important;
}

.users_page_course-certificates .wp-list-table .ccg-latest-cert {
  background-color: #e8f5e8 !important;
}

.users_page_course-certificates .wp-list-table .ccg-latest-cert:hover {
  background-color: #d1f0d1 !important;
}

/* Poprawki dla responsywności tabeli */
@media screen and (max-width: 782px) {
  .users_page_course-certificates .wp-list-table th,
  .users_page_course-certificates .wp-list-table td {
    padding: 8px 4px;
    font-size: 12px;
  }

  .users_page_course-certificates .ccg-btn-primary {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .button.button-link-delete {
    font-size: 11px;
  }
}
