/*
 * =====================================================================
 *  REFERAL — SAYT CSS (bütün siniflər "lfm-rf-" ilə başlayır)
 *  Yer: /modules/referral/assets/referral.css  (yalnız /referral səhifəsində)
 * =====================================================================
 */
.lfm-rf-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 28px 22px; border-radius: 28px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, #22c55e 0%, #16a34a 38%, #14532d 100%); box-shadow: 0 24px 50px -28px rgba(22, 101, 52, .9); }
@media (min-width: 768px) { .lfm-rf-hero { padding: 40px 44px; } }
.lfm-rf-hero::before { content: ''; position: absolute; inset: auto -60px -120px auto; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.lfm-rf-hero-in { position: relative; z-index: 1; flex: 1; min-width: 0; }
.lfm-rf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.lfm-rf-hero h1 { margin: 14px 0 8px; font-size: clamp(24px, 4vw, 36px); line-height: 1.12; font-weight: 900; letter-spacing: -.02em; }
.lfm-rf-hero p { max-width: 560px; color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.55; }
.lfm-rf-art { position: relative; z-index: 1; flex: none; width: 150px; height: 150px; border-radius: 50%; display: none; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .08); }
.lfm-rf-art span { font-size: 46px; font-weight: 900; letter-spacing: -.03em; }
@media (min-width: 900px) { .lfm-rf-art { display: flex; } }

.lfm-rf-linkbox { margin-top: 22px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); max-width: 620px; }
.lfm-rf-linkbox label { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .8); margin-bottom: 8px; }
.lfm-rf-linkrow { display: flex; gap: 8px; }
.lfm-rf-linkrow input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; border: 0; background: #fff; color: #111827; font-size: 14px; font-weight: 600; outline: none; }
.lfm-rf-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 18px; border-radius: 14px; background: #111827; color: #fff; font-weight: 800; font-size: 14px; transition: background .15s, transform .1s; }
.lfm-rf-copy:hover { background: #000; }
.lfm-rf-copy:active { transform: scale(.96); }
.lfm-rf-copy.is-done { background: #fff; color: #15803d; }
.lfm-rf-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.lfm-rf-share a, .lfm-rf-share button { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, .16); transition: background .15s, transform .15s; }
.lfm-rf-share a:hover, .lfm-rf-share button:hover { background: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.lfm-rf-share .is-wa { background: #25d366; }
.lfm-rf-share .is-tg { background: #229ed9; }
.lfm-rf-share .is-fb { background: #1877f2; }
.lfm-rf-share [hidden] { display: none; }
.lfm-rf-code { margin-right: auto; font-size: 13px; color: rgba(255, 255, 255, .85); }
.lfm-rf-code b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: #fff; background: rgba(0, 0, 0, .18); padding: 3px 8px; border-radius: 8px; margin-left: 4px; }
@media (max-width: 479px) { .lfm-rf-copy span { display: none; } .lfm-rf-copy { padding: 0 14px; } .lfm-rf-code { width: 100%; } }
.lfm-rf-cta { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 16px; background: #fff; color: #15803d; font-weight: 900; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.lfm-rf-cta.is-ghost { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }

.lfm-rf-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .lfm-rf-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lfm-rf-kpi { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #eef0f3; border-radius: 20px; }
.lfm-rf-kpi > span { grid-row: span 2; width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.lfm-rf-kpi small { font-size: 12px; color: #6b7280; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lfm-rf-kpi b { font-size: 19px; font-weight: 900; color: #111827; white-space: nowrap; }
.lfm-rf-kpi.is-blue > span { background: #eff6ff; color: #2563eb; }
.lfm-rf-kpi.is-green > span { background: #f0fdf4; color: #16a34a; }
.lfm-rf-kpi.is-amber > span { background: #fffbeb; color: #d97706; }
.lfm-rf-kpi.is-violet > span { background: #f5f3ff; color: #7c3aed; }

.lfm-rf-steps { display: grid; gap: 10px; counter-reset: s; }
@media (min-width: 768px) { .lfm-rf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lfm-rf-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: #f8faf9; border: 1px solid #eef2ef; }
.lfm-rf-num { position: absolute; top: 14px; right: 16px; font-size: 32px; font-weight: 900; color: #dcfce7; line-height: 1; }
.lfm-rf-sic { width: 44px; height: 44px; border-radius: 14px; background: #16a34a; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.lfm-rf-steps b { font-size: 15px; font-weight: 900; color: #111827; }
.lfm-rf-steps small { font-size: 13px; color: #4b5563; line-height: 1.5; }
.lfm-rf-facts { display: grid; gap: 6px; margin-top: 16px; font-size: 13px; color: #374151; }
@media (min-width: 768px) { .lfm-rf-facts { grid-template-columns: 1fr 1fr; } }
.lfm-rf-facts li { display: flex; align-items: center; gap: 8px; }
.lfm-rf-facts svg { flex: none; color: #16a34a; }

.lfm-rf-count { font-style: normal; font-size: 12px; font-weight: 800; color: #6b7280; background: #f3f4f6; padding: 2px 8px; border-radius: 999px; }
.lfm-rf-list { display: grid; gap: 2px; max-height: 460px; overflow-y: auto; }
.lfm-rf-list li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #f3f4f6; }
.lfm-rf-list li:last-child { border-bottom: 0; }
.lfm-rf-list b { font-size: 14px; font-weight: 800; color: #111827; }
.lfm-rf-list small { font-size: 12px; color: #9ca3af; }
.lfm-rf-list em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #9ca3af; }
.lfm-rf-list em.is-green { font-size: 14px; font-weight: 900; color: #15803d; }
.lfm-rf-av { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #eff6ff; color: #2563eb; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.lfm-rf-av.is-money { background: #f0fdf4; color: #16a34a; }
.lfm-rf-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 12px; text-align: center; font-size: 13.5px; color: #9ca3af; }
.lfm-rf-terms summary::-webkit-details-marker { display: none; }
