/* Shared application card footer layout (home swipers + /donate) */

.app-card-footer--split {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 16px;
}

.app-card-footer--split .card-footer-donors {
  color: #393939;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  font-family: Outfit, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

.app-card-footer--split .card-footer-donors span {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 14px;
}

.app-card-footer--split .card-footer-donors span img {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  align-self: flex-end;
}

.app-card-footer--split .card-footer-donors span:nth-child(2) {
  color: red;
}

.app-card-footer--split .progress {
  width: 100%;
  height: 4px !important;
  margin: 0 !important;
}

.app-card-footer--split .progress-bar {
  height: 4px !important;
}

.app-card-footer--split .card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.app-card-footer--split .card-footer-actions__fund {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.app-card-footer--split .app-funded-amount {
  font-family: Outfit, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #282728;
}

.app-card-footer--split .app-funded-goal {
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #393939;
}

.app-card-footer--split .card-footer-actions__donate {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.app-card-footer--split .with-cash-btn select.dropdown-toggle {
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  padding-left: 10px;
  padding-right: 19px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 10px 6px;
  box-shadow: var(--seedout-btn-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.app-card-footer--split .with-cash-btn select.dropdown-toggle:hover {
  background-color: #f7f8fa;
  border-color: #368420;
  color: #000;
  box-shadow: var(--seedout-btn-shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.14));
}

.app-card-footer--split .with-cash-btn select.dropdown-toggle:focus {
  background-color: #fff;
  border-color: #368420;
  color: #000;
  outline: none;
  box-shadow:
    var(--seedout-btn-shadow, 0 2px 8px rgba(0, 0, 0, 0.1)),
    0 0 0 2px rgba(54, 132, 32, 0.2);
}

.make-a-difference-swiper .swiper-slide,
.Entrepreneur-swiper .swiper-slide,
.Student-swiper .swiper-slide,
.favorate-app-swiper .swiper-slide {
  height: auto;
}

/* Application card donate amount — themed dropdown (matches pre-assessment) */
.app-card-footer--split .with-cash-btn {
  align-items: stretch;
  overflow: visible;
}

.app-card-footer--split .card-footer-actions__donate,
.app-card-footer--split .card-footer-actions {
  overflow: visible;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card {
  --pa-green: #368420;
  --pa-green-soft: rgba(54, 132, 32, 0.1);
  --pa-radius: 12px;
  position: relative;
  flex: 0 0 auto;
  min-width: 92px;
  max-width: 118px;
  z-index: 2;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown {
  position: relative;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__trigger {
  height: 38px;
  min-height: 38px;
  padding: 0 4px 0 10px;
  border-radius: 25px 0 0 25px;
  border: 1px solid rgba(57, 57, 57, 0.3);
  border-right: none;
  background: #fff;
  box-shadow: var(--seedout-btn-shadow, 0 2px 8px rgba(0, 0, 0, 0.1));
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__trigger:hover,
.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown.is-open .pa-dropdown__trigger {
  border-color: #368420;
  background: #f7f8fa;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__icon {
  display: none;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__value {
  font-size: 14px;
  line-height: 1.2;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__chevron {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__panel {
  top: auto;
  bottom: calc(100% + 6px);
  left: 0;
  right: auto;
  min-width: 148px;
  z-index: 400;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__list {
  max-height: 220px;
}

.app-card-footer--split .with-cash-btn .so-select-wrap--app-card .pa-dropdown__option {
  padding: 0.55rem 0.75rem;
  font-size: 14px;
}

.app-card-footer--split .with-cash-btn select.app-donate-select.dropdown-toggle,
.app-card-footer--split .with-cash-btn select.app-donate-select {
  display: none !important;
}
