/* =========================================
   FINISH SCREEN — Final donation appeal
   ========================================= */

.cohbg-finish {
  margin-top: 24px;
  padding: 0;
  background-image: var(--finish-bg-image);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.cohbg-finish::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.cohbg-finish__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 56px;
}

.cohbg-finish__content {
  max-width: 600px;
  width: 100%;
  color: #ffffff;
}

.cohbg-finish__text {
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.cohbg-finish__text:last-of-type {
  margin-bottom: 32px;
}

.cohbg-finish__cta {
  font-size: 18px;
  font-weight: 700;
  color: #fbbf24;
  margin: 0 0 32px 0;
  line-height: 1.4;
}

.cohbg-finish__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cohbg-finish__btn {
  min-height: 48px;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.cohbg-finish__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cohbg-finish__btn:active {
  transform: translateY(0);
}

.cohbg-btn--donate {
  background: #fbbf24;
  color: #1f2937;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.55);
  flex: 1;
  min-width: 200px;
}

.cohbg-btn--restart {
  background: #6b7280;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
  padding: 20px 30px !important;
}

.cohbg-finish__btn .cohbg-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cohbg-finish__btn .cohbg-btn-icon--heart {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.cohbg-finish__btn .cohbg-btn-icon--heart::before {
  content: '♥';
  color: inherit;
}

.cohbg-finish__btn .cohbg-btn-label {
  white-space: nowrap;
  color: black;
  font-size: 18px;
}

/* ---------- responsive ---------- */

@media (min-width: 768px) and (max-width: 1024px) {
  .cohbg-finish {
    background-position: center center;
    background-size: cover;
  }

  .cohbg-finish__inner {
    padding: 40px 32px;
    min-height: auto;
    align-items: center;
  }

  .cohbg-finish__content {
    max-width: 530px;
    text-align: center;
  }

  .cohbg-finish__text {
    font-size: 15px;
    margin-bottom: 18px;
    text-align: left;
  }

  .cohbg-finish__cta {
    font-size: 17px;
    margin-bottom: 28px;
    text-align: center;
  }

  .cohbg-finish__actions {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .cohbg-finish__btn {
    min-height: 46px;
    padding: 11px 22px;
    font-size: 14px;
  }

  .cohbg-btn--donate {
    min-width: 180px;
  }

  .cohbg-btn--restart {
    min-width: auto;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  .cohbg-finish {
    border-radius: 24px;
    background-position: center center;
    background-size: cover;
  }

  .cohbg-finish__inner {
    padding: 32px 24px;
    justify-content: center;
    align-items: center;
  }

  .cohbg-finish__content {
    max-width: 100%;
    text-align: center;
  }

  .cohbg-finish__text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
  }

  .cohbg-finish__cta {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .cohbg-finish__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .cohbg-finish__btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
  }

  .cohbg-btn--donate {
    min-width: 100%;
  }

  .cohbg-btn--restart {
    min-width: 100%;
  }
}

@media (max-width: 374px) {
  .cohbg-finish {
    border-radius: 20px;
    background-position: center center;
    background-size: cover;
  }

  .cohbg-finish__inner {
    padding: 20px 16px;
    justify-content: center;
    align-items: center;
  }

  .cohbg-finish__content {
    max-width: 100%;
    text-align: center;
  }

  .cohbg-finish__text {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: left;
  }

  .cohbg-finish__cta {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .cohbg-finish__actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: center;
  }

  .cohbg-finish__btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 12px;
    width: 100%;
    max-width: 260px;
  }

  .cohbg-btn--donate {
    min-width: 100%;
  }

  .cohbg-btn--restart {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .cohbg-finish {
    border-radius: 20px;
    background-position: center center;
    background-size: cover;
  }

  .cohbg-finish__inner {
    padding: 24px 20px;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
  }

  .cohbg-finish__content {
    max-width: 100%;
    text-align: center;
  }

  .cohbg-finish__text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    text-align: left;
    padding-bottom: 0px;
  }

  .cohbg-finish__cta {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .cohbg-finish__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .cohbg-finish__btn {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
    width: 70%;
    max-width: 280px;
  }

  .cohbg-btn--donate {
    min-width: 100%;
  }

  .cohbg-btn--restart {
    min-width: 70%;
  }
}

@media(min-width: 375px) and (max-width: 390px) {
	    .cohbg-finish__btn {
			width: 80%;
	}
}

