/* =========================================================
   GetFund Public Styles
   ========================================================= */
:root {
    --gf-green: #2e7d32;
    --gf-green-dark: #1b5e20;
    --gf-green-light: #43a047;
    --gf-white: #ffffff;
    --gf-bg: #f5f7f5;
    --gf-border: #dde5dd;
    --gf-text: #1a1a1a;
    --gf-text-muted: #555;
    --gf-input-bg: #fafafa;
    --gf-radius: 10px;
    --gf-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.gf-wrap {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: var(--gf-text);
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

/* ── Layout ── */
.gf-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* ── LEFT ── */
.gf-left {
    flex: 1;
    min-width: 0;
}

/* Video thumbnail */
.gf-video-thumb {
    border-radius: var(--gf-radius);
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
    position: relative;
    min-height: 200px;
}
.gf-video-overlay {
    background: linear-gradient(135deg, #1b1b1b 0%, #2d4a2d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    min-height: 200px;
}
.gf-play-btn {
    width: 60px;
    height: 60px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform .2s;
}
.gf-video-thumb:hover .gf-play-btn { transform: scale(1.1); }
.gf-watch-label { color: #ccc; font-size: 12px; }
.gf-donation-tag { background: #ff9800; color: #fff; padding: 2px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; }

/* Hadith box */
.gf-hadith-box {
    background: #f0f4f0;
    border: 1px solid #c8dcc8;
    border-left: 4px solid var(--gf-green);
    border-radius: var(--gf-radius);
    padding: 18px 20px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #1a3a1a;
}

/* Description */
.gf-description {
    color: var(--gf-text-muted);
    line-height: 1.7;
    font-size: 13.5px;
    margin-bottom: 20px;
}

/* Sector box */
.gf-sector-box {
    background: var(--gf-white);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    padding: 18px 20px;
}
.gf-sector-box h4 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gf-text);
}
.gf-sector-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13.5px;
    color: var(--gf-text-muted);
}
.gf-sector-icon {
    width: 20px;
    height: 20px;
    background: var(--gf-green);
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── RIGHT FORM ── */
.gf-right {
    width: 380px;
    flex-shrink: 0;
}

.gf-form-card {
    background: var(--gf-white);
    border: 1px solid var(--gf-border);
    border-radius: var(--gf-radius);
    box-shadow: var(--gf-shadow);
    overflow: hidden;
}

.gf-form-header {
    background: var(--gf-green);
    color: var(--gf-white);
    padding: 18px 22px;
}
.gf-form-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Preset amounts */
.gf-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 16px 22px 0;
}
.gf-preset-btn {
    padding: 9px 0;
    border: 1px solid var(--gf-border);
    background: var(--gf-white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--gf-text-muted);
    transition: all .2s;
    text-align: center;
}
.gf-preset-btn.active,
.gf-preset-btn:hover {
    background: var(--gf-green);
    border-color: var(--gf-green);
    color: var(--gf-white);
}
.gf-preset-any {
    font-size: 12px;
    font-style: italic;
}

/* Fields */
.gf-field {
    padding: 10px 22px 0;
}
.gf-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gf-text);
    margin-bottom: 5px;
}
.gf-required { color: #e53935; }

.gf-amount-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.gf-currency-sym {
    position: absolute;
    left: 12px;
    font-weight: 700;
    color: var(--gf-text-muted);
    pointer-events: none;
}
.gf-amount-wrap .gf-input {
    padding-left: 28px;
}

.gf-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--gf-border);
    border-radius: 6px;
    font-size: 13px;
    background: var(--gf-input-bg);
    color: var(--gf-text);
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
}
.gf-input:focus { border-color: var(--gf-green); }
.gf-input::placeholder { color: #aaa; }

/* PayPal button container */
#gf-paypal-btn-wrap {
    padding: 14px 22px;
}

/* Next step button */
.gf-next-btn {
    display: block;
    width: calc(100% - 44px);
    margin: 14px 22px 20px;
    padding: 13px;
    background: var(--gf-green);
    color: var(--gf-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
    letter-spacing: .3px;
}
.gf-next-btn:hover { background: var(--gf-green-dark); }
.gf-next-btn:active { transform: scale(.98); }

/* Messages */
.gf-message {
    margin: 0 22px 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
}
.gf-message.gf-error   { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }
.gf-message.gf-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.gf-message.gf-info    { background: #e3f2fd; color: #0d47a1; border: 1px solid #90caf9; }

/* Thank you overlay */
.gf-thank-you {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    border-radius: var(--gf-radius);
    animation: gfFadeIn .4s ease;
}
@keyframes gfFadeIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

.gf-thank-inner {
    text-align: center;
    padding: 40px 30px;
}
.gf-thank-icon {
    width: 72px;
    height: 72px;
    background: var(--gf-green);
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: gfPop .5s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes gfPop { from { transform: scale(0); } to { transform: scale(1); } }

.gf-thank-inner h2 {
    margin: 0 0 10px;
    font-size: 26px;
    color: var(--gf-green-dark);
}
.gf-thank-inner p {
    color: var(--gf-text-muted);
    font-size: 15px;
    margin: 0 0 24px;
}
.gf-another-btn {
    padding: 12px 28px;
    background: var(--gf-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.gf-another-btn:hover { background: var(--gf-green-dark); }

/* Loading state */
.gf-loading {
    opacity: .6;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .gf-layout {
        flex-direction: column;
    }
    .gf-right {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .gf-presets {
        grid-template-columns: repeat(2, 1fr);
    }
}
