/*--------------------------------------------------------------
# Main Styles
--------------------------------------------------------------*/
body {
    overflow-x: hidden !important;
}

.single-defro-cars button {
    border-radius: 3px !important;
}

.single-defro-cars .rounded,
.single-defro-cars .badge {
    border-radius: 3px !important;
}

#filtering-by .accordion-button::after {
    width: 0;
    height: 0;
}

.text-small {
    font-size: 0.84em; /* 0.875em */
}

ul.li-mb-0 li {
    margin-bottom: 0;
}


/* Inventory list & grid — truncate long spec strings to a single line
   with ellipsis so cards stay uniform in height. Applies to all
   spec list items rendered inside cars-list rows (Engine, Drivetrain,
   Fuel Econ, Doors, Bodystyle, Interior, Exterior). */
.row.cars-list ul.list-unstyled li {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 20px;
  margin: 0px 0;
}

.sold-badge {
    top: 55px;
    right: -33px;
    background-color: red;
    padding: 5px 40px;
    transform: rotate(45deg);
    transform-origin: right top;
    z-index: 10;
}

.border-radius-3px {
    border-radius: 3px !important;
}

.border-radius-top-3px {
    border-radius: 3px 3px 0 0 !important;
}

.border-radius-left-3px {
    border-radius: 3px 0 0 3px !important;
}

.bg-gray {
    background-color: #ddd !important;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.toggle_filter {
    display: none;
}

.accordion-button {
    color: var(--bs-accordion-active-color) !important;
    background-color: var(--bs-accordion-active-bg) !important;
}

.accordion-button::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: 1rem !important;
    transform: rotate(0deg) !important;
    width: 1rem !important;
    height: 1rem !important;
    float: right;
    margin-top: 3px;
    transition: transform 0.2s ease-in-out !important;
    opacity: 1 !important;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}

@media (max-width: 767px) {
    #filter {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 80%;
        padding-right: 0;
        padding-left: 0;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        background-color: white;
    }

    .admin-bar #filter {
        top: 46px;
    }

    #filter.show {
        left: 0;
    }

    .toggle_filter {
        display: inline-block;
    }

    .toggle_desktop_filter {
        display: none;
    }

    #filter_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        transition: 0.3s ease-in-out;
    }
}

/*--------------------------------------------------------------
# Slick Carousel
--------------------------------------------------------------*/
#related_vehicles {
    overflow: hidden;
}

.slick-track {
    display: flex !important;
}

/* Hide previous and next buttons */
.slick-prev,
.slick-next {
    display: none !important;
}

/* Ensure dots are horizontal */
.slick-dots {
    display: flex !important; /* Use flexbox for horizontal alignment */
    justify-content: center; /* Center-align the dots */
    padding: 0;
    margin: 10px 0;
    list-style: none; /* Remove default list styling */
}

/* Style each dot container */
.slick-dots li {
    margin: 0 5px; /* Space between dots */
    display: inline-block;
}

/* Style the dots */
.slick-dots li button {
    font-size: 0;
    padding: 0; /* Remove button padding */
    border: none; /* Remove default border */
    background: none; /* Remove background */
    cursor: pointer; /* Change cursor to pointer */
}

.slick-dots li button:before {
    content: ' '; /* Remove the default circle */
    width: 30px; /* Width of the rectangle */
    height: 3px; /* Height of the rectangle */
    background-color: #ccc; /* Default dot color */
    display: block;
    border-radius: 0; /* Make it rectangular */
    transition: background-color 0.3s ease; /* Smooth color change */
}

/* Change the color of the active dot */
.slick-dots li.slick-active button:before {
    background-color: #fd390e; /* Active dot color */
}

#related_vehicles .slick-dots {
    position: relative !important;
}

#related_vehicles .slick-dots li button:hover,
#related_vehicles .slick-dots li button:focus {
    background-color: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
#slide-show .carousel-control-prev,
#slide-show .carousel-control-next,
#slide-show .carousel-control-prev:hover,
#slide-show .carousel-control-next:hover,
.carousel .carousel-control-prev,
.carousel .carousel-control-next,
.carousel .carousel-control-prev:hover,
.carousel .carousel-control-prev:focus,
.carousel .carousel-control-next:hover,
.carousel .carousel-control-next:focus {
    border-radius: 0 !important;
    border: none;
    background: transparent;
}

.img-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.carousel .carousel-control-prev {
    padding-left: 8%;
}

.carousel .carousel-control-next {
    padding-right: 8%;
}

/* ============================================================
   PROMOTIONAL PRICING — defro-promo-badge
   ============================================================ */

.defro-promo-badge {
  display: inline-block;
  width: 100%;
}

/* "Promotional Price" label strip */
.defro-promo-label {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px 3px 0 0;
  margin-bottom: 3px;
}

/* Price row */
.defro-promo-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.1;
}

/* The promo (sale) price */
.defro-promo-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #c0392b;
}

/* The original price — crossed out, muted */
.defro-promo-original {
  font-size: 1rem;
  font-weight: 500;
  color: #888;
  text-decoration: line-through;
}

/* "Save $X" pill */
.defro-promo-savings {
  display: inline-block;
  margin-top: 4px;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Optional description text */
.defro-promo-desc {
  font-size: 0.8rem;
  color: #555;
  margin-top: 3px;
  font-style: italic;
}

/* "Ends on …" line */
.defro-promo-end {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

/* ── Price-box (single car page) sizing ── */
.price_box .defro-promo-price {
  font-size: 2rem;
}

/* ── Grid card compact sizing ── */
.defro-car-grid .defro-promo-price {
  font-size: 1.2rem;
}

.defro-car-grid .defro-promo-original {
  font-size: 0.85rem;
}

/* Was / Now labels */
.defro-promo-was {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.defro-promo-was-label,
.defro-promo-now-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  min-width: 32px;
}

.defro-promo-now-label {
  color: #c0392b;
}

/* Was price — muted and struck through */
.defro-promo-was .defro-promo-original {
  font-size: 0.95rem;
  color: #999;
  text-decoration: line-through;
}

/* Now price row */
.defro-promo-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* Factory Options (single car page) */
.defro-factory-options {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
}

.defro-factory-options > h3 {
  color: #1f2937;
  border-bottom: 2px solid #1f2937;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.defro-factory-options > h3 .fa-cog {
  margin-right: 6px;
  color: #6b7280;
}

.defro-factory-category h4 {
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: #6b7280 !important;
}

.defro-factory-item {
  font-size: 0.95rem;
}

.defro-factory-item:last-child {
  border-bottom: none !important;
}

.defro-factory-item strong {
  color: #1f2937;
  font-size: 0.95rem;
}

.defro-factory-item small {
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 2px;
}

/* CarGurus tab button — strip button defaults so badge sits clean */
.nav-link#car-gurus-tab {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
}
.nav-link#car-gurus-tab:hover,
.nav-link#car-gurus-tab.active {
  opacity: 0.85;
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
  border-radius: 4px;
}
.cargurus-badge-tab img {
  display: block;
}

/* CarGurus tab panel */
.cargurus-deal-panel {
  border: 1px solid #dee2e6;
}

/* Prevent CarGurus badge SDK's auto-injected link from hijacking clicks
   when it's inside our tab button. The button parent receives the click instead. */
.cargurus-badge-tab {
  pointer-events: none;
}
.cargurus-badge-tab a,
.cargurus-badge-tab img {
  pointer-events: none !important;
}

/* Force light theme on the CarGurus deal panel — override any dark theme inheritance */
#car-gurus.tab-pane .cargurus-deal-panel {
  background: #f8f9fa !important;
  color: #212529 !important;
}
#car-gurus.tab-pane .cargurus-deal-panel * {
  color: inherit;
}
#car-gurus.tab-pane .cargurus-deal-panel .text-muted,
#car-gurus.tab-pane .cargurus-deal-panel small {
  color: #6c757d !important;
}
#car-gurus.tab-pane .cargurus-deal-panel hr {
  border-color: #dee2e6 !important;
  opacity: 1;
}
#car-gurus.tab-pane .cargurus-deal-panel h5 {
  color: #212529 !important;
}
#car-gurus.tab-pane .cargurus-deal-panel .fw-bold {
  color: #212529 !important;
}
#car-gurus.tab-pane .cargurus-deal-panel .btn-primary {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
}

/* The large badge inside the deal panel — make it display-only.
   The "View full details on CarGurus" button below provides the real link. */
.cargurus-badge-large {
  pointer-events: none;
}
.cargurus-badge-large a,
.cargurus-badge-large img {
  pointer-events: none !important;
}

/* ============================================
 * Loading overlay — site-logo loader for AJAX
 * pagination, filtering, search, sort, and link
 * navigation to inventory pages.
 * ============================================ */
.defro-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.defro-loading-overlay.active {
  display: flex;
}

.defro-loading-overlay img {
  max-width: 180px;
  max-height: 120px;
  height: auto;
  width: auto;
  animation: defroPulse 1.2s ease-in-out infinite;
}

.defro-loading-overlay .defro-loading-bar {
  width: 160px;
  height: 3px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.defro-loading-overlay .defro-loading-bar::after {
  content: '';
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: #0d6efd;
  animation: defroSlide 1.2s ease-in-out infinite;
}

@keyframes defroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.96); }
}

@keyframes defroSlide {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ============================================
 * CarGurus iframe fallback panel — when CarGurus
 * blocks iframing (which they do with X-Frame-Options
 * and DataDome bot protection — they return 403),
 * the fallback panel is shown instead. Force light
 * theme so it's readable regardless of parent theme.
 * ============================================ */
.cargurus-iframe-fallback {
  background: #f8f9fa !important;
  color: #212529 !important;
  border: 1px solid #dee2e6 !important;
}
.cargurus-iframe-fallback,
.cargurus-iframe-fallback * {
  color: #212529 !important;
}
.cargurus-iframe-fallback .text-muted,
.cargurus-iframe-fallback small,
.cargurus-iframe-fallback .small {
  color: #6c757d !important;
}
.cargurus-iframe-fallback hr {
  border-color: #dee2e6 !important;
  border-top: 1px solid #dee2e6 !important;
  opacity: 1 !important;
  background: transparent !important;
}
.cargurus-iframe-fallback h5,
.cargurus-iframe-fallback .fw-bold,
.cargurus-iframe-fallback .fs-5 {
  color: #212529 !important;
}
.cargurus-iframe-fallback p {
  color: #495057 !important;
}
.cargurus-iframe-fallback .btn-primary,
.cargurus-iframe-fallback a.btn-primary {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
}
.cargurus-iframe-fallback .btn-primary:hover,
.cargurus-iframe-fallback a.btn-primary:hover {
  background-color: #0b5ed7 !important;
  border-color: #0a58ca !important;
  color: #fff !important;
}

/* ============================================
 * Dealer Fees table (VDP)
 * Renders client.dealer-fees from the API
 * ============================================ */
.defro-dealer-fees .defro-dealer-fees-table {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  overflow: hidden;
}
.defro-dealer-fees .defro-dealer-fees-table td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
  border-color: #e9ecef;
}
.defro-dealer-fees .defro-dealer-fees-table td.fee-name {
  color: #495057;
}
.defro-dealer-fees .defro-dealer-fees-table td.fee-amount {
  color: #212529;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  width: 30%;
}
.defro-dealer-fees .defro-dealer-fees-table tr.fee-total td {
  border-top: 2px solid #dee2e6;
  background: #f8f9fa;
  color: #212529;
}

/* ============================================
 * Price-box breakdown table (dealer fees inside price box)
 * Renders Internet Price -> each dealer fee (+$XX) -> Sale Price total.
 * Auto-hides for sold cars, promo pricing, hidden prices, and dealers
 * with no fees configured.
 * ============================================ */
.defro-price-breakdown {
  border-top: 1px solid #dee2e6;
  padding-top: 0.5rem;
}
.defro-price-breakdown-table {
  margin-bottom: 0;
  background: transparent;
}
.defro-price-breakdown-table th,
.defro-price-breakdown-table td {
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: #212529;
  font-variant-numeric: tabular-nums;
}
.defro-price-breakdown-table .breakdown-fee th,
.defro-price-breakdown-table .breakdown-fee td {
  color: #495057;
}
.defro-price-breakdown-table .breakdown-sale th,
.defro-price-breakdown-table .breakdown-sale td {
  border-top: 1px solid #dee2e6;
  padding-top: 0.5rem;
  font-size: 1.05rem;
  color: #212529;
}

/* ============================================
 * Vehicle Disclaimers (financing + warranty from DF API)
 * ============================================ */
.defro-disclaimers .defro-disclaimer {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #6c757d;
}
.defro-disclaimers .defro-disclaimer p {
  margin-bottom: 0.75rem;
}
.defro-disclaimers .defro-disclaimer ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding-left: 0.5rem;
}
.defro-disclaimers .defro-disclaimer li {
  margin-bottom: 0.25rem;
}
.defro-disclaimers .defro-disclaimer-financing,
.defro-disclaimers .defro-disclaimer-warranty {
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-left: 3px solid #dee2e6;
  border-radius: 0.25rem;
}

/* Force white text on price-box breakdown rows and the smog exemption note.
   Used when the parent price-box has a dark/red background where default
   dark text would be unreadable. */
.defro-price-breakdown-table th.fw-bold,
.defro-price-breakdown-table td.text-end,
.defro-price-breakdown-table th.fw-normal,
.defro-price-breakdown p.small.text-muted.mb-0.mt-2 {
  color: #fff !important;
}


.defro-price-includes-fees:hover,
.defro-price-includes-fees:focus {
  background: #d4edda;
  border-color: #b7dfbe;
  color: #14532d !important;
  text-decoration: underline;
}
.defro-price-includes-fees .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #2e7d32;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}

/* ============================================
 * "Price includes fees" — white underlined text button, no background,
 * no border. Sits below the main price and opens the pricing details
 * bottom-sheet modal on click.
 * ============================================ */
.defro-price-includes-fees {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 0;
}
.defro-price-includes-fees:hover,
.defro-price-includes-fees:focus,
.defro-price-includes-fees:active {
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline;
  opacity: 0.9;
}
.defro-price-includes-fees .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
}

/* ============================================
 * Pricing details modal — bottom sheet
 * Slides up from the bottom, takes ~half the viewport, with a dark
 * translucent overlay behind (backdrop). Matches the CarGurus mobile
 * pricing-details pattern.
 * ============================================ */
.defro-fees-modal {
  padding: 0 !important;
}
.defro-fees-modal .modal-dialog {
  margin: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 100%;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}
.defro-fees-modal.show .modal-dialog {
  transform: translateY(0);
}
.defro-fees-modal .modal-content {
  border: 0;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  background: #fff;
  max-height: 65vh;
  overflow-y: auto;
}
.defro-fees-modal .modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.defro-fees-modal .modal-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #212529 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.defro-fees-modal .modal-body {
  padding: 1.25rem;
}

/* Dark translucent backdrop overlay */
.modal-backdrop.show {
  opacity: 0.6;
  background: #000;
}

/* Inside the modal, force readable dark colors on the breakdown table */
.defro-fees-modal .defro-price-breakdown-table {
  margin: 0;
}
.defro-fees-modal .defro-price-breakdown-table th,
.defro-fees-modal .defro-price-breakdown-table td {
  padding: 0.85rem 0 !important;
  color: #212529 !important;
  font-size: 1rem;
  border-bottom: 1px solid #e9ecef;
}
.defro-fees-modal .defro-price-breakdown-table tr:last-child th,
.defro-fees-modal .defro-price-breakdown-table tr:last-child td {
  border-bottom: 0;
}
.defro-fees-modal .defro-price-breakdown-table .breakdown-fee th,
.defro-fees-modal .defro-price-breakdown-table .breakdown-fee td {
  color: #495057 !important;
  font-weight: 400;
}
.defro-fees-modal .defro-price-breakdown-table .breakdown-sale th,
.defro-fees-modal .defro-price-breakdown-table .breakdown-sale td {
  color: #212529 !important;
  font-size: 1.05rem;
  font-weight: 700;
}
.defro-fees-modal .defro-price-breakdown p.small.text-muted {
  color: #6c757d !important;
  margin-top: 1rem !important;
  line-height: 1.5;
}
/* On desktop, still show as bottom sheet but constrain width and center it */
@media (min-width: 576px) {
  .defro-fees-modal .modal-dialog {
    max-width: 500px;
    left: 50%;
    right: auto;
    transform: translate(-50%, 100%);
  }
  .defro-fees-modal.show .modal-dialog {
    transform: translate(-50%, 0);
  }
}

/* ============================================
 * Fees modal — bottom sheet + close button fixes
 * Scoped tightly to .defro-fees-modal to avoid clashing with other
 * modals on the site, and using stronger specificity + inline SVG
 * with size to prevent theme overrides.
 * ============================================ */

/* Bottom-align the fees modal only (do NOT affect other modals) */
.defro-fees-modal .modal-dialog-centered {
  align-items: end !important;
}

/* Close button — solid black circle with a clear white X.
   Using a large explicit size and background properties with !important
   so aggressive theme CSS can't hide the icon (K1 Motors was overriding
   the background-image and leaving the button as a blank black square). */
.defro-fees-modal .modal-header .btn-close,
.defro-fees-modal button.btn-close {
  position: relative;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #000 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 0 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Draw the X ourselves with two rotated pseudo-elements — this can't be
   hidden by theme rules stripping background-image */
.defro-fees-modal .modal-header .btn-close::before,
.defro-fees-modal button.btn-close::before,
.defro-fees-modal .modal-header .btn-close::after,
.defro-fees-modal button.btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transform-origin: center;
}
.defro-fees-modal .modal-header .btn-close::before,
.defro-fees-modal button.btn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.defro-fees-modal .modal-header .btn-close::after,
.defro-fees-modal button.btn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.defro-fees-modal .modal-header .btn-close:hover,
.defro-fees-modal button.btn-close:hover {
  background-color: #333 !important;
  opacity: 1 !important;
}

/* Pricing details modal title icon — black */
.defro-fees-modal .modal-title i,
.defro-fees-modal .modal-title .fa-tag {
  color: #000 !important;
}

/* Modal footer with a big visible Close button — fallback in case the
   small X in the header is hidden by aggressive theme CSS. */
.defro-fees-modal .modal-footer.defro-fees-modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 1rem 1.25rem;
  display: block;
}
.defro-fees-modal .modal-footer.defro-fees-modal-footer .btn-dark {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  padding: 0.65rem 1rem;
  font-weight: 500;
}
.defro-fees-modal .modal-footer.defro-fees-modal-footer .btn-dark:hover {
  background-color: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}
