/*
 * 10Captcha ONLY — public/assets/css/tenants/10captcha/custom.css
 * Loaded when tenant.slug === 10captcha (site-template / auth-classic).
 */

body {
  color: #000;
}

.border-dashed {
  border: 2px dashed #28a745 !important;
}

/***************************** Profile nav pills *****************************/
.nav-pills .nav-link {
  color: #28a745;
}
.nav-pills .nav-link:hover {
  color: #1e7e34;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #28a745 !important;
  color: #fff !important;
}
/***************************** Profile nav pills *****************************/

/***************************** Pagination (green) *****************************/
.page-item.active .page-link,
.pagination .page-item.active .page-link,
.dataTables_wrapper .page-item.active .page-link {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.page-link,
.pagination .page-link,
.dataTables_wrapper .page-link {
  color: #28a745;
}
.page-link:hover,
.pagination .page-link:hover,
.dataTables_wrapper .page-link:hover {
  color: #1e7e34;
  background-color: #e9f7ef;
  border-color: #c3e6cb;
}
.page-link:focus,
.pagination .page-link:focus,
.dataTables_wrapper .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  color: #1e7e34;
}
.page-item.disabled .page-link,
.dataTables_wrapper .page-item.disabled .page-link {
  color: #6c757d;
}

/* CMS portal pagination (Reports / Payments) */
.cms-theme-scope .cms-pagination a:hover {
  border-color: #28a745 !important;
  color: #28a745 !important;
}
.cms-theme-scope .cms-pagination .is-active,
.cms-theme-scope .cms-pagination span.is-active,
.cms-theme-scope .cms-pagination a.is-active,
.cms-theme-scope .cms-pagination [aria-current="page"],
.cms-theme-scope .cms-pagination [aria-current="page"] > span {
  background: #28a745 !important;
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}
/***************************** Pagination (green) *****************************/

/***************************** FAQ *****************************/
.faq .card-header {
  background: none;
  border: none;
  position: relative;
  padding: 0;
}
.faq .card {
  border: none;
  border-radius: .25rem;
  margin-bottom: 20px;
  overflow: inherit;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
}
.faq .card-header a {
  padding: 20px 30px 20px 20px;
  border-radius: 7px;
  background: #ffffff;
  font-weight: 600;
  font-size: 15px;
  color: #1c1d3e;
  text-transform: capitalize;
  display: inline-block;
  width: 100%;
}
/* Must beat .cms-custom-html-island a green link color when open/hover. */
.faq .card.active .card-header a,
.faq .card .card-header a:hover,
.faq .card .card-header a[aria-expanded="true"] {
  background: #28a745;
  color: #ffffff !important;
}
.faq .card-header a i {
  color: inherit;
}
/***************************** FAQ *****************************/

/***************************** Custom HTML links / buttons *****************************/
/* Green text links — do not override Bootstrap buttons or dropdown items. */
.cms-custom-html-island a:not(.dropdown-item):not(.btn) {
  color: #28a745;
}
.cms-custom-html-island a:not(.dropdown-item):not(.btn):hover {
  color: #1e7e34;
}
/* FAQ accordion headers keep their own open/hover colors (see FAQ block above). */
.cms-custom-html-island .faq .card-header a {
  color: #1c1d3e;
}
.cms-custom-html-island .faq .card.active .card-header a,
.cms-custom-html-island .faq .card .card-header a:hover,
.cms-custom-html-island .faq .card .card-header a[aria-expanded="true"] {
  color: #ffffff !important;
}
a.btn-success,
a.btn-success:hover,
a.btn-success:focus,
.btn.btn-success,
.btn.btn-success:hover,
.btn.btn-success:focus {
  color: #fff !important;
}
.dropdown-menu .dropdown-item,
.dropdown-menu a.dropdown-item {
  color: #000 !important;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  color: #000 !important;
  background-color: #f8f9fa;
}
/***************************** Custom HTML links / buttons *****************************/

/***************************** Custom image test *****************************/
.custom-image-test-tabs {
  border-bottom: 1px solid #dee2e6;
}
.custom-image-test-tabs .nav-link {
  color: #28a745;
  border: 1px solid transparent;
  border-radius: 0.25rem 0.25rem 0 0;
  padding: 0.4rem 0.9rem;
}
.custom-image-test-tabs .nav-link.active {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #dee2e6 #dee2e6 #fff;
  font-weight: 600;
}
.custom-image-test-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  color: #1e7e34;
}
.text-info-custom {
  color: #17a2b8 !important;
}
.custom-image-test-submit,
.btn.btn-success.custom-image-test-submit {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}
.custom-image-test-submit:hover,
.btn.btn-success.custom-image-test-submit:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
  color: #fff !important;
}
#captcha-filename {
  cursor: pointer;
  background: #fff;
}
.text-red {
  color: #dc3545;
}
.b-6 {
  font-weight: 600;
}
/***************************** Custom image test *****************************/
