/*
#fb6f92
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

button:focus,
input:focus,
a:focus {
  outline: none;
}

.all {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.left {
  width: 50%;
  height: 100vh;
  background-color: #fb6f92;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  position: relative;
}

.back-link {
  position: absolute;
  top: 30px;
  left: 60px;
  color: #fadde1;
  text-decoration: none;
  z-index: 10;
  cursor: pointer;
  font-size: 12px;
}

.back-link i {
  padding-right: 5px;
}

.left .quote i {
  background-color: #fadde1;
  border-radius: 50%;
  font-size: 25px;
  color: #fb6f92;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left .content h1 {
  padding: 30px 0 5px;
  font-size: 50px;
  color: #fadde1;
}

.left .content p {
  font-size: 17px;
  color: #ffc2d1;
}

.right {
  width: 50%;
  height: 100vh;
  background-color: #f3f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
}

#donorEmail {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 1rem;
  margin-bottom: 8px;
}

#donorEmail:focus {
  border-color: #fb6f92;
  box-shadow: 0 0 4px 1px #fb6f9244;
}

.donation-card {
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  height: 65%;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  scale: 1.1;
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(60, 60, 90, 0.15), 0 1.5px 4px 0 rgba(251, 111, 146, 0.08);
}

.donation-type-toggle {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.toggle-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-btn.active,
.toggle-btn:focus {
  background: #fb6f92;
  color: #fff;
}

.toggle-btn .fa-check {
  display: none;
}

.toggle-btn.active .fa-check {
  display: inline-block;
}

.donation-amount-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}

.donation-amount-label {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.amount-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.amount-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 12px;
  padding: 0.6rem 1.1rem;
  font-size: 1rem;
  color: #334155;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.amount-btn.selected,
.amount-btn:focus {
  background: #fb6f92;
  color: #fff;
}

.custom-amount-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.currency-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.custom-amount-input {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
}

.naira-sign {
  color: #64748b;
  font-size: 1.1rem;
  margin-right: 0.2rem;
}

#customAmountInput {
  border: none;
  background: transparent;
  width: 70px;
  font-size: 1rem;
  color: #334155;
  outline: none;
}

.continue-btn {
  margin-top: 1rem;
  background: #fb6f92;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.continue-btn:hover,
.continue-btn:focus {
  background: #e85c81;
}

@media (max-width: 700px) {
  .donation-card {
    padding: 1.2rem 0.7rem 1.5rem 0.7rem;
    width: 100%;
  }
}



/*** Responsiveness ***/

/* 1. Phones (portrait) — small mobile devices */
@media (max-width: 575.98px) {
  .all {
    flex-direction: column;
    display: block;
  }

  .back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 10px;
  }

  .left {
    width: 100%;
    height: auto;
    padding: 20px 7.5% 50px;
    text-align: center;
  }

  .left .content h1 {
    font-size: 30px;
    padding: 20px 0 13px;
  }

  .left .content p {
    font-size: 14px;
  }

  .left .quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0 0;
  }

  .left .quote i {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .right {
    width: 100%;
    height: auto;
    padding: 30px 20px;
  }

  .donation-card {
    width: 100%;
    padding: 1.5rem;
    scale: 1;
    height: 70vh;
  }
}


/* 2. Tablets (portrait and small landscape tablets) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .all {
    flex-direction: column;
    display: block;
  }

  .back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 10px;
  }

  .left {
    width: 100%;
    height: auto;
    padding: 20px 7.5% 50px;
    text-align: center;
  }

  .left .content h1 {
    font-size: 30px;
    padding: 20px 0 13px;
  }

  .left .content p {
    font-size: 14px;
  }

  .left .quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0 0;
  }

  .left .quote i {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .right {
    width: 100%;
    height: auto;
    padding: 30px 20px;
  }

  .donation-card {
    width: 100%;
    padding: 1.5rem;
    scale: 1;
    height: 70vh;
  }
}


/* 3. Tablets & Small Laptops */
@media (min-width: 768px) and (max-width: 991.98px) {
  .all {
    flex-direction: column;
    display: block;
  }

  .back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 15px;
  }

  .left {
    width: 100%;
    height: 50vh;
    padding: 20px 7.5% 50px;
    text-align: center;
  }

  .left .content p {
    font-size: 17px;
  }

  .left .quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0 0;
  }

  .right {
    width: 100%;
    height: 50vh;
    padding: 30px 20px;
  }

  .donation-card {
    width: 100%;
    padding: 1.5rem;
    scale: 1.25;
    height: 70vh;
  }

  #donorEmail {
    width: 50%;
    padding: 12px 16px;
    font-size: 16px;
    margin-top: 1rem;
    margin-bottom: 8px;
  }
}


/* 4. Desktops & Laptops */
@media (min-width: 992px) {
  /* This can be your base/default styles */
}
