/* ──────────────────────────────────────────────────────────────────────────
   Withfund — Custom CSS
   Stack: Bootstrap 5 + custom crowdfunding-style design
────────────────────────────────────────────────────────────────────────── */

/* ── Fonts & Base ─────────────────────────────────────────────────────── */
:root {
    --cp-bg: #0f172a;
    --cp-surface: #1e293b;
    --cp-surface2: #162032;
    --cp-border: #2d3f55;
    --cp-text: #e2e8f0;
    --cp-muted: #64748b;
    --cp-accent: #f59e0b;
    --cp-accent-glow: 0 0 20px rgba(245, 158, 11, .25);
    --cp-success: #22c55e;
    --cp-danger: #ef4444;
    --cp-info: #3b82f6;
    --cp-purple: #8b5cf6;
    --cp-radius: 14px;
    --cp-radius-sm: 8px;
    --cp-shadow: 0 4px 24px rgba(0, 0, 0, .35);
    --sidebar-w: 240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cp-bg);
    color: var(--cp-text);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #fff;
}

.text-muted {
    color: #94a3b8 !important;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.cp-navbar {
    background: rgba(15, 23, 42, .95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cp-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.cp-navbar .nav-link {
    color: var(--cp-text) !important;
    font-weight: 500;
    transition: color .2s;
}

.cp-navbar .nav-link:hover {
    color: var(--cp-accent) !important;
}

.avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--cp-accent);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
}

.cp-dropdown {
    background: var(--cp-surface) !important;
    border: 1px solid var(--cp-border) !important;
    border-radius: var(--cp-radius-sm) !important;
}

.cp-dropdown .dropdown-item {
    color: var(--cp-text) !important;
}

.cp-dropdown .dropdown-item:hover {
    background: var(--cp-surface2) !important;
}

/* ── Stat Cards ─────────────────────────────────────────────────────────── */
.stat-card {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cp-shadow);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--cp-radius) var(--cp-radius) 0 0;
}

.stat-card--green::before {
    background: var(--cp-success);
}

.stat-card--blue::before {
    background: var(--cp-info);
}

.stat-card--purple::before {
    background: var(--cp-purple);
}

.stat-card--orange::before {
    background: var(--cp-accent);
}

.stat-card--red::before {
    background: var(--cp-danger);
}

.stat-icon {
    font-size: 1.75rem;
    opacity: .5;
    margin-bottom: .5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .25rem;
}

.stat-label {
    color: var(--cp-muted);
    font-size: .85rem;
    font-weight: 500;
}

.stat-action {
    display: block;
    margin-top: .5rem;
    color: var(--cp-accent);
    font-size: .8rem;
    text-decoration: none;
    font-weight: 600;
}

.stat-action:hover {
    text-decoration: underline;
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.cp-card {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    overflow: hidden;
    box-shadow: var(--cp-shadow);
}

.cp-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--cp-border);
    background: var(--cp-surface2);
}

.cp-card-body {
    padding: 1.5rem;
}

/* ── Tables ─────────────────────────────────────────────────────────────── */
.cp-table {
    color: var(--cp-text);
}

.cp-table thead tr {
    background: var(--cp-surface2);
}

.cp-table thead th {
    color: var(--cp-muted);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--cp-border);
}

.cp-table tbody td {
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--cp-border);
    vertical-align: middle;
}

.cp-table tbody tr:last-child td {
    border-bottom: none;
}

.cp-table tbody tr:hover {
    background: rgba(255, 255, 255, .02);
}

/* ── Progress ───────────────────────────────────────────────────────────── */
.cp-progress {
    background: var(--cp-surface2);
    border-radius: 999px;
}

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-control,
.form-select,
.input-group-text {
    background: var(--cp-surface2) !important;
    border-color: var(--cp-border) !important;
    color: var(--cp-text) !important;
    border-radius: var(--cp-radius-sm) !important;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .2) !important;
    border-color: var(--cp-accent) !important;
}

.form-control::placeholder {
    color: var(--cp-muted) !important;
}

.form-label {
    color: var(--cp-text);
}

.form-text {
    color: var(--cp-muted);
}

/* ── Auth Pages ─────────────────────────────────────────────────────────── */
.cp-auth-wrap {
    min-height: calc(100vh - 66px);
    display: flex;
    align-items: center;
}

.cp-auth-card {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 2.5rem;
    box-shadow: var(--cp-shadow);
}

.brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cp-accent), #d97706);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #000;
    box-shadow: var(--cp-accent-glow);
}

/* ── Pay Page ───────────────────────────────────────────────────────────── */
.pay-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

.cp-pay-card {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 2.5rem;
    box-shadow: var(--cp-shadow);
}

.pay-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cp-border);
}

.pay-breakdown {
    background: var(--cp-surface2);
    border-radius: var(--cp-radius-sm);
    padding: 0 1.25rem;
}

.pay-breakdown .text-muted {
    color: #fff !important;
}

.pay-breakdown .border-bottom {
    border-color: var(--cp-border) !important;
}

.pay-btn {
    border-radius: var(--cp-radius-sm) !important;
    font-size: 1.1rem;
}

.pay-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.pay-icon--success {
    background: rgba(34, 197, 94, .15);
    color: var(--cp-success);
}

.pay-icon--error {
    background: rgba(239, 68, 68, .15);
    color: var(--cp-danger);
}

/* ── Campaign Progress ───────────────────────────────────────────────────── */
.cp-calculator {
    background: var(--cp-surface2);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    padding: 1.25rem;
}

.calc-box {
    background: var(--cp-surface);
    border-radius: var(--cp-radius-sm);
    padding: .875rem .5rem;
    border: 1px solid var(--cp-border);
}

.calc-box--highlight {
    border-color: var(--cp-accent);
    box-shadow: var(--cp-accent-glow);
}

.calc-label {
    font-size: .75rem;
    color: var(--cp-muted);
    margin-bottom: .25rem;
}

.calc-value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ── Admin Sidebar ──────────────────────────────────────────────────────── */
.admin-body {
    overflow-x: hidden;
}

#adminWrapper {
    min-height: 100vh;
}

.admin-sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--cp-surface2);
    border-right: 1px solid var(--cp-border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 1.5rem 1.25rem .75rem;
}

.sidebar-divider {
    border-color: var(--cp-border);
    margin: 0 1rem;
}

.sidebar-link {
    color: var(--cp-muted) !important;
    border-radius: var(--cp-radius-sm) !important;
    padding: .65rem 1rem !important;
    font-weight: 500;
    transition: color .2s, background .2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(245, 158, 11, .1) !important;
    color: var(--cp-accent) !important;
}

.sidebar-footer {
    border-top: 1px solid var(--cp-border);
    padding-top: 1rem;
}

.sidebar-heading {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1.25rem;
    padding-bottom: .5rem;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--cp-muted);
    opacity: 0.8;
}

.admin-content {
    background: var(--cp-bg);
    overflow-x: hidden;
    transition: margin-left .3s ease-in-out;
}

/* ── Sidebar Toggle State ── */
.admin-sidebar.sidebar-collapsed {
    margin-left: calc(-1 * var(--sidebar-w));
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        left: 0;
        z-index: 1050;
        margin-left: calc(-1 * var(--sidebar-w));
        transition: margin-left .3s ease-in-out;
    }

    .admin-sidebar.sidebar-collapsed {
        margin-left: 0;
    }
}

.admin-topbar {
    background: var(--cp-surface);
    border-bottom: 1px solid var(--cp-border);
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-main {
    min-height: calc(100vh - 56px);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.cp-footer {
    border-top: 1px solid var(--cp-border);
    background: var(--cp-surface);
}

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge {
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .03em;
}

/* ── Alerts ─────────────────────────────────────────────────────────────── */
.alert {
    border-radius: var(--cp-radius-sm) !important;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(34, 197, 94, .1);
    border-color: rgba(34, 197, 94, .3);
    color: #4ade80;
}

.alert-danger {
    background: rgba(239, 68, 68, .1);
    border-color: rgba(239, 68, 68, .3);
    color: #f87171;
}

.alert-warning {
    background: rgba(245, 158, 11, .1);
    border-color: rgba(245, 158, 11, .3);
    color: #fbbf24;
}

.alert-info {
    background: rgba(59, 130, 246, .1);
    border-color: rgba(59, 130, 246, .3);
    color: #60a5fa;
}

/* ── Pagination ─────────────────────────────────────────────────────────── */
.page-link {
    background: var(--cp-surface2) !important;
    border-color: var(--cp-border) !important;
    color: var(--cp-text) !important;
}

.page-item.active .page-link {
    background: var(--cp-accent) !important;
    border-color: var(--cp-accent) !important;
    color: #000 !important;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-warning {
    color: #000 !important;
    font-weight: 600;
}

.btn-outline-warning {
    border-color: var(--cp-accent) !important;
    color: var(--cp-accent) !important;
}

.btn-outline-warning:hover {
    background: var(--cp-accent) !important;
    color: #000 !important;
}

.btn-outline-secondary {
    border-color: var(--cp-border) !important;
    color: var(--cp-muted) !important;
}

.btn-outline-secondary:hover {
    background: var(--cp-surface2) !important;
    color: var(--cp-text) !important;
}

/* ── Homepage Landing ────────────────────────────────────────────────────── */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 60% 50%, rgba(245, 158, 11, .08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, .08) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    background: rgba(245, 158, 11, .1);
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--cp-accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 40%, var(--cp-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 2rem;
    height: 100%;
    transition: transform .2s, border-color .2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--cp-accent);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--cp-radius-sm);
    background: rgba(245, 158, 11, .12);
    color: var(--cp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.animate-bounce {
    animation: bounce 1.5s ease-in-out 3;
}

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cp-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--cp-border);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cp-muted);
}

/* ── Redesigned Donation Page ───────────────────────────────────────────── */
.donate-page-wrapper {
    background: #0b0f1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;   /* footer stacks BELOW, not beside */
}

/* the container wrapping the card fills all remaining vertical space */
.donate-page-wrapper > div.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.live-campaign-card {
    background: #111827;
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 580px;
    width: 100%;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    background: #f59e0b;
    color: #000;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.campaign-cover-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.campaign-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.campaign-title-hero {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.campaign-desc-hero {
    color: #9ca3af;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.raised-amt {
    color: #f59e0b;
    font-weight: 800;
    font-size: 1.5rem;
}

.goal-amt {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.progress-custom {
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.progress-bar-custom {
    background: #f59e0b;
    height: 100%;
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.secondary-stats {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.divider-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.preset-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}

.amount-option {
    flex: 1 1 calc(25% - 12px);
    min-width: 90px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.amount-option:hover {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.amount-option.active {
    background: #f59e0b;
    color: #000;
    border-color: #f59e0b;
}

.custom-amt-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

.custom-amt-input:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

.donor-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.donor-input {
    flex: 1 1 200px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 0.875rem !important;
    border-radius: 12px !important;
}

.donate-btn-hero {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid #f59e0b;
    color: #f59e0b;
    padding: 1.25rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.35rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
}

.donate-btn-hero:hover {
    background: #f59e0b;
    color: #000;
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

/* ── Autocomplete / Bank Select ─────────────────────────────────────────── */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #6a7e7d; /* --cp-surface */
    border: 1px solid #48e20a; /* --cp-border-light */
    border-radius: 12px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    display: none;
    backdrop-filter: blur(10px);
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: rgba(245, 158, 11, 0.08); /* --cp-accent transparent */
    padding-left: 20px;
}

.autocomplete-item .bank-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.1rem;
}

.autocomplete-item .bank-name {
    font-weight: 600;
    color: #f8fafc;
    font-size: 0.95rem;
}

/* Custom Scrollbar for results */
.autocomplete-results::-webkit-scrollbar {
    width: 6px;
}
.autocomplete-results::-webkit-scrollbar-track {
    background: transparent;
}
.autocomplete-results::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

/* ── Premium Enhancements ───────────────────────────────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-glass-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass-hover:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(245, 158, 11, 0.4) !important;
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
}

.fw-black { font-weight: 900; }
.tracking-wider { letter-spacing: 0.1em; }
.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* ── Donate Page – Mobile Responsive ───────────────────────────────────── */
@media (max-width: 575.98px) {

    /* Card: full width, compact padding */
    .live-campaign-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        max-width: 100%;
        margin: 0;
    }

    /* Cover image wrapper */
    .campaign-cover-wrap {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    /* Title */
    .campaign-title-hero {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    /* Description */
    .campaign-desc-hero {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Raised / Goal row */
    .raised-amt   { font-size: 1.15rem; }
    .goal-amt     { font-size: 0.9rem; }
    .secondary-stats { font-size: 0.85rem; margin-bottom: 1.25rem; }

    /* Amount presets: 2 columns */
    .preset-grid  { gap: 8px; margin-bottom: 1rem; }
    .amount-option {
        flex: 1 1 calc(50% - 8px);
        min-width: unset;
        padding: 10px 6px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    /* Custom amount */
    .custom-amt-input {
        font-size: 1rem !important;
        padding: 0.7rem !important;
    }

    /* Donor fields: stacked */
    .donor-fields {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    .donor-input {
        flex: 1 1 100% !important;
        min-width: unset;
    }

    /* Donate button */
    .donate-btn-hero {
        font-size: 1.1rem;
        padding: 0.875rem;
        border-radius: 12px;
    }

    /* Live badge */
    .live-badge {
        margin-bottom: 1rem;
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    /* Share + social buttons */
    .share-social-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ── Tablet (576 – 767px) ───────────────────────────────────────────────── */
@media (min-width: 576px) and (max-width: 767.98px) {
    .live-campaign-card   { padding: 2rem 1.5rem; border-radius: 20px; }
    .campaign-cover-wrap  { aspect-ratio: 16 / 9; }
    .campaign-title-hero  { font-size: 1.75rem; }
    .amount-option        { flex: 1 1 calc(50% - 12px); min-width: unset; }
    .donor-fields         { flex-direction: column; }
    .donor-input {
    flex: 1 1 100% !important;
    min-width: unset;
}

/* ── Footer Social Links ───────────────────────────────────────────────── */
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cp-surface2);
    border: 1px solid var(--cp-border);
    color: var(--cp-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
}

.social-link:hover {
    color: var(--cp-accent);
    border-color: var(--cp-accent);
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--cp-accent-glow);
}
}