/* RealFree UI (redesign 9/2026) — sdílené komponenty: vlastní dropdown, karty, tlačítka, pilulky */
select.rf-native { display: none !important; }
.rf-dd { position: relative; }
.rf-dd-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 10px 14px; font-size: 15px; color: #0f172a; background: #fff; text-align: left; cursor: pointer; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.rf-dd-btn:hover { border-color: #cbd5e1; }
.rf-dd-btn:disabled { opacity: .6; cursor: not-allowed; }
.rf-dd-btn .rf-dd-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-dd-btn .rf-dd-val.ph { color: #64748b; }
.rf-dd-btn .rf-dd-chev { color: #0f766e; font-size: 11px; transition: transform .15s; flex-shrink: 0; }
.rf-dd.open .rf-dd-btn { border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.rf-dd.open .rf-dd-chev { transform: rotate(180deg); }
.rf-dd-menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .14); padding: 6px; max-height: 290px; overflow-y: auto; display: none; min-width: 190px; }
.rf-dd.up .rf-dd-menu { top: auto; bottom: calc(100% + 6px); }
.rf-dd.open .rf-dd-menu { display: block; }
.rf-dd-item { padding: 9px 12px; border-radius: 9px; font-size: 14px; color: #0f172a; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rf-dd-item:hover { background: #f0fdfa; color: #0f766e; }
.rf-dd-item.sel { background: #e6f7f4; color: #0f766e; font-weight: 600; }
.rf-dd-item.sel::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; }
.rf-dd-item.dis { color: #94a3b8; cursor: not-allowed; }

/* Karty a sekce ve stylu HP */
.rf-card { background: #fff; border: 1px solid #e8edf3; border-radius: 18px; box-shadow: 0 4px 18px rgba(15, 23, 42, .05); }
.rf-card-hover { transition: transform .18s ease, box-shadow .18s ease; }
.rf-card-hover:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 23, 42, .10); }
.rf-h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 800; color: #0f172a; letter-spacing: -.01em; }
@media (min-width: 640px) { .rf-h2 { font-size: 1.75rem; } }
.rf-link { color: #0f766e; font-weight: 600; font-size: .9rem; }
.rf-link:hover { text-decoration: underline; }
.rf-btn { background: #0f766e; color: #fff; font-weight: 700; border-radius: 12px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; transition: background .15s, box-shadow .15s; }
.rf-btn:hover { background: #0d9488; box-shadow: 0 8px 20px rgba(15, 118, 110, .3); color: #fff; }
.rf-btn-light { background: #e6f7f4; color: #0f766e; }
.rf-btn-light:hover { background: #ccfbf1; color: #0f766e; box-shadow: none; }
.rf-pill { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #475569; background: #eef2f6; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; }
.rf-pill.active, .rf-pill:hover { background: #0f766e; color: #fff; }
.rf-input { width: 100%; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 10px 14px; font-size: 15px; color: #0f172a; background: #fff; outline: none; }
.rf-input:focus { border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.hp-highlight, .rf-highlight { border: 2px solid #f59e0b; box-shadow: 0 6px 22px rgba(245, 158, 11, .25); }
.rf-input.pl-10 { padding-left: 2.5rem !important; }
.rf-input.pl-12 { padding-left: 3rem !important; }

/* ===================== PAGE KIT (statické stránky, auth, dashboard) — 9/2026 ===================== */
.rf-wrap { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .rf-wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .rf-wrap { padding-left: 2rem; padding-right: 2rem; } }
.rf-wrap-md { max-width: 64rem; }
.rf-wrap-sm { max-width: 48rem; }
.rf-sec { padding: 2.5rem 0; }
@media (min-width: 768px) { .rf-sec { padding: 3.5rem 0; } }
.rf-sec-tight { padding: 1.5rem 0; }
.rf-page { background: #fff; }
.rf-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #0f766e; }
.rf-h2 { margin: 0; }
.rf-h3 { font-size: 1.1rem; font-weight: 800; color: #0f172a; line-height: 1.3; }
.rf-lead { font-size: 1.05rem; color: #475569; line-height: 1.6; }
.rf-muted { color: #64748b; }
.rf-sec-head { margin-bottom: 1.5rem; }
.rf-sec-head.center { text-align: center; }
.rf-sec-head.center .rf-lead { max-width: 640px; margin: .5rem auto 0; }
.rf-sec-head .rf-h2 + .rf-lead { margin-top: .5rem; }
.rf-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .rf-grid-2, .rf-grid-3, .rf-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rf-grid > * { min-width: 0; }
.rf-split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .rf-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Feature / krok karty — jako HP „Proč RealFree" a „Jak to funguje" */
.rf-feature { padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; height: 100%; }
.rf-feature > i, .rf-ic-big { width: 56px; height: 56px; flex-shrink: 0; color: #0f766e; display: inline-flex; align-items: center; justify-content: center; font-size: 40px; line-height: 1; }
.rf-feature .rf-t, .rf-t { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin-bottom: .35rem; line-height: 1.25; }
.rf-feature p { font-size: .9rem; color: #475569; line-height: 1.6; }
.rf-step { padding: 1.5rem 1.5rem 1.5rem 1.35rem; display: flex; align-items: flex-start; gap: 1rem; height: 100%; }
.rf-step-num { width: 30px; height: 30px; border-radius: 999px; background: #e6f7f4; color: #0f766e; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rf-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: .35rem; }
.rf-step-head .rf-t { margin: 0; }
.rf-step p { font-size: .9rem; color: #475569; line-height: 1.6; }
.rf-ic-soft { width: 44px; height: 44px; border-radius: 12px; background: #e6f7f4; color: #0f766e; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* Check list */
.rf-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.rf-check li { display: flex; gap: .65rem; align-items: flex-start; color: #334155; line-height: 1.5; }
.rf-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: #0f766e; background: #e6f7f4; width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* FAQ akordeon */
.rf-faq { display: flex; flex-direction: column; gap: .75rem; }
.rf-faq-item { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; box-shadow: 0 4px 18px rgba(15,23,42,.05); overflow: hidden; }
.rf-faq-q { width: 100%; text-align: left; padding: 1rem 1.25rem; font-weight: 700; color: #0f172a; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; background: none; border: 0; font-size: 1rem; }
.rf-faq-q i { color: #0f766e; font-size: 12px; transition: transform .2s; flex-shrink: 0; }
.rf-faq-item.open .rf-faq-q i { transform: rotate(180deg); }
.rf-faq-a { display: none; padding: 0 1.25rem 1.1rem; color: #475569; line-height: 1.65; font-size: .95rem; }
.rf-faq-item.open .rf-faq-a { display: block; }

/* CTA band (jako HP „Ušetřete") + tmavá varianta */
.rf-band { background: linear-gradient(135deg, #e6f7f4 0%, #f2fbf9 60%, #ffffff 100%); border-radius: 24px; padding: 1.5rem; position: relative; overflow: hidden; }
@media (min-width: 640px) { .rf-band { padding: 2rem; } }
@media (min-width: 1024px) { .rf-band { padding: 2.75rem; } }
.rf-band-dark { background: #0f172a; color: #fff; }
.rf-band-dark .rf-h2, .rf-band-dark .rf-t { color: #fff; }
.rf-band-dark p { color: rgba(255,255,255,.8); }
.rf-band-photo { position: relative; overflow: hidden; border-radius: 24px; background: #0f172a; color: #fff; }
.rf-band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rf-band-photo > div { position: relative; z-index: 2; padding: 2rem 1.5rem; }
@media (min-width: 1024px) { .rf-band-photo > div { padding: 3rem; } }
.rf-band-photo .rf-h2 { color: #fff; }
.rf-band-photo p { color: rgba(255,255,255,.85); }
.rf-btn-amber { background: #f59e0b; color: #78350f; }
.rf-btn-amber:hover { background: #fbbf24; color: #78350f; box-shadow: 0 8px 20px rgba(245,158,11,.35); }
.rf-btn-white { background: #fff; color: #0f766e; }
.rf-btn-white:hover { background: #f0fdfa; color: #0f766e; box-shadow: none; }
.rf-btn-outline { background: transparent; color: #0f766e; border: 1.5px solid #0f766e; }
.rf-btn-outline:hover { background: #e6f7f4; color: #0f766e; box-shadow: none; }
.rf-btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.rf-btn-lg { padding: 14px 28px; font-size: 16px; }
.rf-btn-block { width: 100%; }
.rf-btn-danger { background: #fee2e2; color: #b91c1c; }
.rf-btn-danger:hover { background: #fecaca; color: #b91c1c; box-shadow: none; }
.rf-script { font-family: "Caveat", cursive; color: #0f766e; line-height: 1.1; }

/* Stat karty (jako HP hero boxíky) */
.rf-stat { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; box-shadow: 0 4px 18px rgba(15,23,42,.05); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.rf-stat i { width: 40px; height: 40px; border-radius: 12px; background: #e6f7f4; color: #0f766e; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.rf-stat b { display: block; font-size: 1.05rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.rf-stat span { font-size: 12px; color: #64748b; }

/* Formuláře */
.rf-label { display: block; font-size: 12px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.rf-field { margin-bottom: 1rem; }
.rf-field .rf-hint { font-size: 12px; color: #64748b; margin-top: 5px; }
textarea.rf-input { min-height: 120px; resize: vertical; }
.rf-input-ic { position: relative; }
.rf-input-ic > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 14px; pointer-events: none; }
.rf-input-ic .rf-input { padding-left: 2.6rem; }
.rf-check-row { display: flex; gap: .6rem; align-items: flex-start; font-size: 14px; color: #334155; }
.rf-check-row input { margin-top: 3px; accent-color: #0f766e; width: 16px; height: 16px; }
.rf-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 1rem; }
.rf-alert i { margin-top: 2px; }
.rf-alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.rf-alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.rf-alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.rf-alert-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* Auth stránky */
.rf-auth { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1fr; background: #fff; }
@media (min-width: 1024px) { .rf-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.rf-auth-form { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
@media (min-width: 640px) { .rf-auth-form { padding: 3rem 2rem; } }
.rf-auth-card { width: 100%; max-width: 440px; }
.rf-auth-title { font-size: 1.85rem; font-weight: 800; color: #0f172a; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .5rem; }
.rf-auth-sub { color: #64748b; font-size: .95rem; margin-bottom: 1.75rem; }
.rf-auth-side { display: none; position: relative; overflow: hidden; background: #e6f7f4; }
@media (min-width: 1024px) { .rf-auth-side { display: block; } }
.rf-auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rf-auth-side-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 35%, rgba(15,23,42,.75) 100%); }
.rf-auth-side-copy { position: absolute; left: 2.5rem; right: 2.5rem; bottom: 2.5rem; color: #fff; z-index: 2; }
.rf-auth-side-copy .rf-script { color: #fff; font-size: 2.1rem; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.rf-auth-side-copy p { color: rgba(255,255,255,.85); margin-top: .5rem; max-width: 380px; }
.rf-divider { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 12px; margin: 1.25rem 0; }
.rf-divider::before, .rf-divider::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }
.rf-social-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 11px 14px; font-weight: 600; color: #0f172a; background: #fff; font-size: 14px; }
.rf-social-btn:hover { background: #f8fafc; border-color: #cbd5e1; }

/* Prose (CMS stránky, texty) */
.rf-prose { color: #334155; line-height: 1.7; font-size: 1rem; }
.rf-prose h2 { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin: 2rem 0 .75rem; letter-spacing: -.01em; }
.rf-prose h3 { font-size: 1.15rem; font-weight: 800; color: #0f172a; margin: 1.5rem 0 .5rem; }
.rf-prose p { margin: 0 0 1rem; }
.rf-prose ul, .rf-prose ol { margin: 0 0 1rem 1.25rem; }
.rf-prose li { margin-bottom: .35rem; }
.rf-prose a { color: #0f766e; font-weight: 600; text-decoration: underline; }
.rf-prose strong { color: #0f172a; }
.rf-prose img { border-radius: 16px; margin: 1.5rem 0; }
.rf-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.rf-prose th, .rf-prose td { border-bottom: 1px solid #e8edf3; padding: .6rem .5rem; text-align: left; }
.rf-prose th { color: #0f172a; font-weight: 700; background: #f8fafc; }

/* Tabulky / seznamy v dashboardu */
.rf-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rf-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #64748b; padding: .75rem 1rem; border-bottom: 1px solid #e8edf3; font-weight: 700; }
.rf-table td { padding: .85rem 1rem; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
.rf-table tr:last-child td { border-bottom: 0; }
.rf-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef2f6; color: #475569; white-space: nowrap; }
.rf-badge-teal { background: #e6f7f4; color: #0f766e; }
.rf-badge-amber { background: #fef3c7; color: #92400e; }
.rf-badge-red { background: #fee2e2; color: #b91c1c; }
.rf-badge-blue { background: #dbeafe; color: #1e40af; }
.rf-badge-green { background: #dcfce7; color: #166534; }
.rf-badge-gray { background: #f1f5f9; color: #64748b; }

/* Náhrady Tailwind utilit, které v ořezaném site.min.css chybí */
.rf-mt-6 { margin-top: 1.5rem; } .rf-mt-8 { margin-top: 2rem; } .rf-mb-6 { margin-bottom: 1.5rem; } .rf-mb-8 { margin-bottom: 2rem; }
.rf-gap-3 { gap: .75rem; } .rf-gap-4 { gap: 1rem; } .rf-gap-6 { gap: 1.5rem; }
.rf-p-5 { padding: 1.25rem; } .rf-p-6 { padding: 1.5rem; } @media (min-width: 640px) { .rf-p-6 { padding: 1.75rem; } }
.rf-center { text-align: center; }
.rf-flex { display: flex; } .rf-items-center { align-items: center; } .rf-between { justify-content: space-between; } .rf-wrapf { flex-wrap: wrap; }
.rf-col { display: flex; flex-direction: column; }
@media (min-width: 640px) { .rf-sm-row { flex-direction: row; } }
.rf-lg-only { display: none; } @media (min-width: 1024px) { .rf-lg-only { display: block; } }
