/* --- Campaign Detail Page --- */
.campaign-detail {
  background: #f9fafb;
}

.campaign-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.campaign-hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
}
.campaign-hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}
.campaign-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.campaign-hero p {
  font-size: 1.2rem;
  color: #d1d5db;
}
.campaign-detail-body {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}


/* donation success css */
.donation-status {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    background-color: #f8fdf9;
    text-align: center;
}
.status-container {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 90%;
}
.icon-circle {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.icon-circle.success { color: #16a34a; }
.status-title { font-size: 2rem; font-weight: bold; margin-bottom: 0.5rem; }
.status-message { color: #555; margin-bottom: 1.5rem; font-size: 1.05rem; }
.status-actions a {
    margin: 0 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.btn-primary {
    background-color: #16a34a;
    color: white;
}
.btn-outline {
    border: 2px solid #16a34a;
    color: #16a34a;
}
.btn-outline:hover {
    background: #16a34a;
    color: white;
}


/* donation fail css */
.donation-status1 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    background-color: #fdf8f8;
    text-align: center;
}
.status-container1 {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 90%;
}
.icon-circle1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.icon-circle.failed1 { color: #dc2626; background-color: #dc2626; }
.status-title1 { font-size: 2rem; font-weight: bold; margin-bottom: 0.5rem; }
.status-message1 { color: #555; margin-bottom: 1.5rem; font-size: 1.05rem; }
.status-actions1 a {
    margin: 0 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.btn-primary1 {
    background-color: #dc2626;
    color: white;
}
.btn-outline1 {
    border: 2px solid #dc2626;
    color: #dc2626;
}
.btn-outline1:hover {
    background: #dc2626;
    color: white;
}

/* Zakat, Sadaqah, Tilth Payment Page */

/* Fix select dropdown double icon */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg fill='%23065746' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.94a.75.75 0 111.08 1.04l-4.24 4.5a.75.75 0 01-1.08 0l-4.24-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.zakat-page button {
    background: #047857;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
}
.zakat-page button:hover {
    background: #065f46;
}

select option {
    background: #16a34a;
}

.zakat-page {
    background: #f9fefb;
    padding: 4rem 1rem;
}
.zakat-page h2 {
    color: #047857;
}

.zakat-form{
    margin-top: 20px;
}

.zakat-page button {
    background: #047857;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
}
.zakat-page button:hover {
    background: #065f46;
}

/* ---------- Alert / Messages ---------- */
.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid #059669;
    margin-bottom: 1.5rem;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid #dc2626;
    margin-bottom: 1.5rem;
}

/* ---------- SVG Animations ---------- */
.icon-bounce {
    animation: bounce 1.5s infinite;
}

.icon-pulse {
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}


.donation-status.pending .icon-circle {
    background: #fef9c3;
    color: #d97706;
}

.donation-status.pending .status-title {
    color: #d97706;
}


