/**
 * Referral Guide Styles
 */

.referral-guide-main {
    background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.referral-guide-hero {
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 55%, var(--cc-berry) 100%);
    color: #fff;
    border-radius: 28px;
    padding: 2.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 78, 37, 0.25);
}

.referral-guide-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
}

.referral-guide-hero::after {
    content: '';
    position: absolute;
    bottom: -90px;
    left: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 206, 91, 0.16) 0%, transparent 70%);
}

.referral-guide-hero h1 {
    font-weight: 800;
}

.referral-guide-hero p {
    opacity: 0.92;
}

.referral-guide-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    font-weight: 600;
}

.referral-guide-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    color: #1f2937;
}

.referral-guide-card p {
    color: #566174;
}

.referral-guide-card .stat {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cc-forest);
}

.referral-guide-tabs {
    margin-top: 2.5rem;
}

.referral-guide-tabs .nav {
    gap: 0.75rem;
}

.referral-guide-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid #d7dde6;
    background: #f3f6fb;
    color: #2f2f2f;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.referral-guide-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 100%);
    color: #fff;
    border-color: transparent;
}

.referral-guide-panel {
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.08);
    color: #1f2937;
}

.referral-guide-panel p {
    color: #566174;
}

.referral-guide-panel strong {
    color: #1f2937;
}

.referral-guide-steps {
    display: grid;
    gap: 1rem;
}

.referral-guide-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.referral-guide-step-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(0, 153, 0, 0.12);
    color: var(--cc-forest);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.referral-guide-highlight {
    border-left: 4px solid var(--cc-forest);
    padding-left: 1rem;
    color: #445066;
}

.referral-guide-timeline {
    display: grid;
    gap: 1rem;
}

.referral-guide-timeline-item {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem 1.25rem;
}

.referral-guide-faq-item {
    border-bottom: 1px solid #e6eaf1;
    padding: 1rem 0;
}

.referral-guide-faq-item:last-child {
    border-bottom: 0;
}

.referral-guide-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.referral-guide-cta .btn {
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .referral-guide-hero {
        padding: 2rem;
    }

    .referral-guide-panel {
        padding: 1.5rem;
    }
}
