.donasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.donasi-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.donasi-card:hover {
    transform: translateY(-4px);
}

.donasi-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.donasi-content {
    padding: 16px;
}

.donasi-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
}

.donasi-org {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.donasi-verified {
    color: #1da1f2;
    font-weight: bold;
}

.donasi-amount {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 6px;
}

.terkumpul {
    font-weight: normal;
    color: #555;
    margin-left: 4px;
}

.donasi-progress {
    background: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.donasi-progress-bar {
    height: 100%;
    background: #28a745;
    transition: width 0.4s ease;
}

.donatur-icons {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}
.donatur-icons span {
    background: #d1e7dd;
    color: #0f5132;
    font-size: 12px;
    padding: 6px 9px;
    border-radius: 50%;
    font-weight: bold;
}

.donasi-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #28a745;
    color: white;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.donasi-btn:hover {
    background: #218838;
}


.detail-kampanye {
    max-width: 700px;
    margin: 30px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 20px;
}
.detail-thumb {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.detail-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.detail-content {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}


.donasiaja-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}

.donasiaja-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card-header img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #222;
}

.card-org {
    font-size: 14px;
    color: #555;
}

.card-verified {
    color: #1da1f2;
    font-weight: bold;
}

.card-amount {
    color: #28a745;
    font-weight: bold;
}

.terkumpul {
    font-weight: normal;
    color: #555;
}

.card-progress {
    background: #e0e0e0;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
}
.card-progress-bar {
    height: 100%;
    background: #28a745;
    transition: width 0.4s ease;
}

.card-avatars {
    display: flex;
    gap: 6px;
}
.card-avatars span {
    background: #d1e7dd;
    color: #0f5132;
    font-size: 11px;
    padding: 6px 7px;
    border-radius: 50%;
    font-weight: bold;
}

.card-footer {
    margin-top: 10px;
}
.donasi-btn {
    display: block;
    width: 100%;
    background: #28a745;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.donasi-btn:hover {
    background: #218838;
}


.kampanye-detail-page {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    font-family: sans-serif;
}
.kampanye-banner {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}
.kampanye-main-box {
    padding: 20px;
}
.kampanye-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.kampanye-total {
    font-size: 18px;
    color: #28a745;
}
.kampanye-progress {
    background: #e0e0e0;
    height: 8px;
    border-radius: 8px;
    margin: 10px 0;
}
.kampanye-progress-bar {
    background: #28a745;
    height: 100%;
    width: 0;
}
.kampanye-stats {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
}
.donasi-btn-main.btn-full {
  display: block;
  width: 100%;
  background: #28a745;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 18px 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(28,194,134,0.08);
  transition: background 0.3s, box-shadow 0.3s;
  margin: 24px 0 10px 0;
  letter-spacing: .5px;
}
.donasi-btn-main.btn-full:hover {
  background: #28a745
  box-shadow: 0 8px 32px rgba(28,194,134,0.18);
  color: #fff;
  text-decoration: none;
}
.kampanye-creator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.creator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
}
.verified-org {
    font-size: 12px;
    color: #1da1f2;
}
.kampanye-tabs ul {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.kampanye-tabs ul li {
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    color: #444;
}
.kampanye-tabs ul li.active {
    color: #28a745;
}
.kampanye-fundraiser, .kampanye-doa {
    margin-top: 30px;
}
.fundraiser-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}
.load-more {
    margin: 10px 0;
    background: #f1f1f1;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}
.btn-secondary {
    display: inline-block;
    background: white;
    border: 2px solid #28a745;
    color: #28a745;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
}
.doa-item {
    background: #f9f9ff;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}
.doa-item p {
    margin: 5px 0;
}
.aamiin {
    color: #e83e8c;
    font-size: 13px;
}


.donasi-detail-full {
    max-width: 800px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
    color: #333;
}
.donasi-banner {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.donasi-title {
    font-size: 24px;
    font-weight: bold;
}
.donasi-total {
    font-size: 20px;
    color: #28a745;
}
.donasi-target {
    font-weight: normal;
    color: #555;
}
.donasi-progress-bar {
    height: 8px;
    background: #eee;
    border-radius: 10px;
    margin: 10px 0 5px;
    overflow: hidden;
}
.donasi-progress-bar > div {
    height: 100%;
    background: #28a745;
}
.donasi-info {
    font-size: 14px;
    color: #666;
}
.donasi-btn-main.btn-full {
  display: block;
  width: 100%;
  background: #28a745;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 18px 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(28,194,134,0.08);
  transition: background 0.3s, box-shadow 0.3s;
  margin: 24px 0 10px 0;
  letter-spacing: .5px;
}
.donasi-btn-main.btn-full:hover {
  background:#28a745
  box-shadow: 0 8px 32px rgba(28,194,134,0.18);
  color: #fff;
  text-decoration: none;
}

.donasi-author {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 20px 0;
}
.author-avatar {
    width: 50px;
    border-radius: 50%;
}
.author-name {
    font-weight: bold;
}
.verified {
    color: #1da1f2;
}

.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
    margin: 20px 0 10px;
    border-bottom: 1px solid #ddd;
}
.tabs-nav li {
    padding: 10px;
    cursor: pointer;
}
.tabs-nav li.active {
    font-weight: bold;
    border-bottom: 2px solid #28a745;
}

.donasi-section {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
}
.fundraiser-box, .doa-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
}
.aamin {
    display: inline-block;
    margin-top: 5px;
    color: #e0245e;
}
.donasi-load {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
.btn-join {
    margin-top: 10px;
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
}


/* Update tombol donasi agar mirip demo Donasiaja */
.donasi-btn {
    display: block;
    width: 100%;
    background: #28a745;
    color: white;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: background 0.3s ease;
}
.donasi-btn:hover {
    background: #218838;
}


.donate-now-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}
.campaign-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.campaign-header img {
    width: 140px;
    height: auto;
    border-radius: 8px;
}
.kampanye-progress {
    background: #e0e0e0;
    height: 6px;
    border-radius: 10px;
    margin-top: 6px;
}
.kampanye-progress-bar {
    background: #28a745;
    height: 100%;
}

.donasi-form-wrapper .paket-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f8f8;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.paket-item img {
    width: 60px;
    border-radius: 6px;
}
.add-btn {
    margin-left: auto;
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.form-section {
    margin-top: 20px;
}
.form-section input, .form-section textarea, .form-section select {
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.sapaan {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.btn-pilih {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    border-radius: 6px;
    cursor: pointer;
}
.btn-pilih.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.donate-now-sticky {
    position: sticky;
    bottom: 20px;
    background: white;
    padding-top: 20px;
}


/* Form Donasi Modern */
.modern-donation-form {
  font-family: 'Segoe UI', sans-serif;
  padding: 1rem;
  max-width: 600px;
  margin: auto;
  background: #fff;
}

.campaign-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.campaign-banner {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.nominal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.nominal-btn {
  padding: 0.75rem;
  background: #f3f3f3;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}
.nominal-btn.active {
  background: #e6f4ea;
  border-color: #2e7d32;
  color: #2e7d32;
}
.payment-method {
  margin-top: 1.5rem;
}
.payment-select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.sapaan-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.sapaan {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 6px;
  cursor: pointer;
}
.sapaan.active {
  background: #2e7d32;
  color: white;
}

.donor-form input,
.donor-form textarea {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.switch-container {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 22px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #2e7d32;
}
input:checked + .slider:before {
  transform: translateX(18px);
}
.switch-label {
  margin-left: 0.75rem;
}

.floating-donate {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: #2e7d32;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  margin-top: 2rem;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 480px) {
  .nominal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DonasiAja Slider Styles */
.donasiaja-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}
.donasiaja-slider .slide {
    display: inline-block;
    width: 260px;
    vertical-align: top;
    margin-right: 15px;
    scroll-snap-align: start;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-sizing: border-box;
}
.donasiaja-slider img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* DonasiAja Scrollable Slider with Arrows */
.donasiaja-slider-wrapper {
    position: relative;
}
.donasiaja-slider {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.donasiaja-slider .slide {
    display: inline-block;
    width: 260px;
    vertical-align: top;
    margin-right: 15px;
    scroll-snap-align: start;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-sizing: border-box;
}
.donasiaja-slider img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.slider-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #0070f3;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-nav.left {
    left: -15px;
}
.slider-nav.right {
    right: -15px;
}

.menu-donasi-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
  padding: 0 10px;
}

.menu-donasi-item {
  flex: 0 0 calc(25% - 10px);
  max-width: calc(25% - 10px);
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.menu-donasi-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.menu-donasi-item div {
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 768px) {
  .menu-donasi-item {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

@media (max-width: 480px) {
  .menu-donasi-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


.donasiaja-slider-wrapper {
  position: relative;
  padding: 0 5px;
}
.donasiaja-slider {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
}
.slide.card-style {
  display: inline-block;
  width: 270px;
  background: #fff;
  border-radius: 12px;
  margin-right: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  scroll-snap-align: start;
}
.slide.card-style img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.card-body {
  padding: 10px 12px;
}
.card-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 5px 0 4px;
}
.card-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.card-amount {
  font-size: 14px;
  font-weight: bold;
  color: #00985B;
  margin-bottom: 8px;
}
.card-progress {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.card-bar {
  height: 100%;
  background: #28a745;
}
.slider-nav.left {
  position: absolute;
  top: 40%;
  left: -5px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: #fff;
  color: #28a745;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Fix ukuran judul agar tidak terlalu besar dan tidak melewati card lain */
.card-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 5px 0 4px;
  line-height: 1.3;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.slider-nav.right {
  position: absolute;
  top: 40%;
  right: -5px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: #fff;
  color: #28a745;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .donasiaja-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .donasiaja-slider::-webkit-scrollbar {
    display: none;
  }
}

.donasiaja-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}
.list-card img {
  width: 130px;
  height: auto;
  object-fit: cover;
}
.list-content {
  flex: 1;
  padding: 12px;
}
.list-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 5px;
}
.list-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
.list-progress {
  height: 6px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-bar {
  height: 100%;
  background: #28a745;
}
.list-info {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-info strong {
  font-size: 14px;
  color: #00985B;
}
.list-days {
  font-size: 12px;
  text-align: right;
}


.donasiaja-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.list-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid #eee;
}
.list-card img {
  width: 130px;
  height: 100%;
  object-fit: cover;
}
.list-content {
  flex: 1;
  padding: 12px;
}
.list-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
.list-progress {
  height: 8px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-bar {
  height: 100%;
  background: #029805;
}
.list-info {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-info strong {
  font-size: 14px;
  color: #00985B;
}
.list-days {
  font-size: 12px;
  text-align: right;
}



.list-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid #eee;
  height: 140px;
}

.list-card img {
  width: 140px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}



.list-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid #eee;
  flex-direction: row;
}

.list-card img {
  width: 140px;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  flex-shrink: 0;
}



.donasi-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
}

.donasi-campaign-header {
  text-align: center;
  margin-bottom: 20px;
}

.campaign-banner {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.campaign-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.donasi-nominal-wrapper label,
.donasi-metode label,
.donasi-sapaan label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.donasi-nominal-buttons,
.sapaan-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.nominal-button,
.sapaan-button {
  padding: 10px 18px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nominal-button.active,
.sapaan-button.active {
  border-color: #029805;
  background: #029805;
  color: #fff;
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.input-prefix {
  background: #eee;
  padding: 10px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  font-weight: bold;
}

.input-group input {
  border: 1px solid #ccc;
  padding: 10px;
  flex: 1;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.form-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.btn-donasi {
  width: 100%;
  background: #029805;
  color: white;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.btn-donasi:hover {
  background: #027b04;
}

.sembunyikan-nama {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
}


/* Perbaikan posisi Rp dan input nominal */
#nominal-lainnya-input .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

#nominal-lainnya-input .input-prefix {
  background: #f3f3f3;
  padding: 12px 14px;
  font-weight: bold;
  border: 1px solid #000;
  border-right: none;
  border-radius: 6px 0 0 6px;
}

#nominal-lainnya-input input {
  border: 1px solid #000;
  border-left: none;
  border-radius: 0 6px 6px 0;
}

/* Ganti warna border merah ke hitam */
.nominal-button,
.sapaan-button,
.form-input,
select {
  border-color: #000 !important;
}

/* Button Donasi Sekarang full dan hijau */
.btn-donasi {
  width: 100%;
  background-color: #029805;
  border-radius: 8px;
  font-size: 16px;
  padding: 16px;
}

.btn-donasi:hover {
  background-color: #027b04;
}


/* Sejajarkan kolom Rp dan input nominal */
#nominal-lainnya-input .input-group {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 12px;
}

#nominal-lainnya-input .input-prefix {
  background: #eee;
  padding: 10px 14px;
  font-weight: bold;
  border: 1px solid #000;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 15px;
}

#nominal-lainnya-input input {
  border: 1px solid #000;
  border-left: none;
  padding: 12px;
  border-radius: 0 6px 6px 0;
  flex: 1;
}

/* Warna hijau aktif untuk semua tombol nominal */
.nominal-button.active {
  background: #029805 !important;
  color: white !important;
  border-color: #029805 !important;
}

/* Full width tombol donasi sekarang */
.btn-donasi {
  width: 100% !important;
  display: block;
  background-color: #029805;
  color: white;
  padding: 16px;
  font-size: 17px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  text-align: center;
  margin-top: 16px;
}

.btn-donasi:hover {
  background-color: #027b04;
}


/* Input nominal lainnya sejajar sempurna */
#nominal-lainnya-input .input-group {
  display: flex;
  width: 100%;
  margin-top: 12px;
}

#nominal-lainnya-input .input-prefix {
  background: #f2f2f2;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid #000;
  border-right: none;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#nominal-lainnya-input input {
  flex: 1;
  border: 1px solid #000;
  border-left: none;
  border-radius: 0 6px 6px 0;
  padding: 12px 14px;
  font-size: 16px;
}

/* Tombol Donasi Sekarang warna hijau full */
.btn-donasi {
  width: 100% !important;
  display: block;
  background-color: #029805 !important;
  color: #fff !important;
  padding: 16px;
  font-size: 17px;
  font-weight: bold;
  border-radius: 8px;
  border: none !important;
  text-align: center;
  margin-top: 18px;
}

.btn-donasi:hover {
  background-color: #027b04 !important;
}


/* Perbaikan tinggi sejajar untuk Rp dan input nominal */
#nominal-lainnya-input .input-prefix {
  background: #f2f2f2;
  padding: 14px 18px;
  font-weight: bold;
  font-size: 16px;
  height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-right: none;
  border-radius: 6px 0 0 6px;
}

#nominal-lainnya-input input {
  height: 52px;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #000;
  border-left: none;
  border-radius: 0 6px 6px 0;
}

/* Perbesar tombol donasi */
.btn-donasi {
  padding: 20px !important;
  font-size: 18px !important;
}


.nominal-prefix {
  padding-left: 48px;
  position: relative;
  background: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  height: 52px;
  font-size: 16px;
}

.nominal-prefix::placeholder {
  color: #aaa;
}

.nominal-prefix-wrapper {
  position: relative;
}

.nominal-prefix-wrapper::before {
  content: 'Rp';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #555;
  font-size: 16px;
}


.nominal-prefix-wrapper {
  position: relative;
  width: 100%;
  margin-top: 12px;
}
.nominal-prefix-wrapper::before {
  content: 'Rp';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #555;
  font-size: 16px;
}
.nominal-prefix {
  padding-left: 48px;
  height: 52px;
  font-size: 16px;
  border: 1px solid #000;
  border-radius: 6px;
  width: 100%;
}


/* Perbaiki warna tombol nominal dan sapaan */
.nominal-button,
.sapaan-button {
  color: #333 !important;
  border: 1px solid #000 !important;
}

/* Rp prefix wrapper untuk input nominal */
.nominal-prefix-wrapper {
  position: relative;
  width: 100%;
  margin-top: 12px;
}
.nominal-prefix-wrapper::before {
  content: 'Rp';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #555;
  font-size: 16px;
}
.nominal-prefix {
  padding-left: 60px;  /* Tambahan padding biar tulisan tidak tumpang Rp */
  height: 52px;
  font-size: 16px;
  border: 1px solid #000;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}



/* Premium UI untuk nominal lainnya */
.custom-nominal-wrapper {
  display: flex;
  align-items: center;
  background: #f0faff;
  border: 1px solid #c0e6ff;
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 10px;
}

.custom-nominal-wrapper .prefix {
  font-weight: bold;
  color: #029805;
  margin-right: 6px;
  font-size: 16px;
  flex-shrink: 0;
}

.custom-nominal-wrapper .custom-input {
  border: none;
  outline: none;
  font-size: 16px;
  flex: 1;
  background: transparent;
  color: #333;
}

.custom-nominal-wrapper .custom-input::placeholder {
  color: #aaa;
}



/* Metode Pembayaran */
.donasi-metode-pembayaran {
  margin-top: 20px;
}

.metode-pembayaran-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.metode-pembayaran-item {
  display: flex;
  align-items: center;
  border: 1px solid #cce5ff;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: #f0f8ff;
  cursor: pointer;
  gap: 8px;
}

.metode-pembayaran-item input[type="radio"] {
  margin-right: 6px;
}

.metode-pembayaran-item img.bank-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}



.metode-pembayaran-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.metode-pembayaran-logo-item {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 12px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 130px;
  position: relative;
}

.metode-pembayaran-logo-item:hover {
  border-color: #029805;
}

.metode-pembayaran-logo-item input[type="radio"]:checked + img,
.metode-pembayaran-logo-item input[type="radio"]:checked {
  border-color: #029805;
}

.metode-pembayaran-logo-item .bank-logo-only {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* Full image in cards: remove cropping */
.card-style img,
.templates-list .card-style img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.card-style,
.card-style .card-image-wrapper {
  overflow: visible !important;
  height: auto !important;
}

/* Full card images: remove cropping */
.card-style .card-image-wrapper,
.card-style .card-image-wrapper img {
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  object-fit: contain !important;
}
.card-style img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Override to show full images in campaign cards */
.card-style .card-image-wrapper,
.card-style img,
.shortcode-campaigns .card-image-wrapper,
.shortcode-campaigns img,
.shortcode-list .card-image-wrapper,
.shortcode-list img,
.slick-slide img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}
.card-style .card-image-wrapper,
.shortcode-campaigns .card-image-wrapper,
.shortcode-list .card-image-wrapper {
    height: auto !important;
    overflow: visible !important;
}
