/* ============================================================
   COMPANY PAGE – UNIFIED CSS
   Sloučení: menumain.css + newcss.css + inline <style>
   ============================================================ */

/* ── NAVBAR (menumain.css) ── */
:root {
    --nav-bg: #1a2035;
    --nav-text: rgba(255, 255, 255, 0.92);
    --nav-hover: rgba(32, 107, 196, 0.15);
    --nav-active: rgba(32, 107, 196, 0.25);
    --nav-border: rgba(255, 255, 255, 0.08);
}
.navbar { background: var(--nav-bg) !important; padding: .35rem 0; box-shadow: 0 2px 12px rgba(0,0,0,.08); font-family: 'Segoe UI', system-ui, sans-serif; z-index: 1030; }
.nav-link { color: var(--nav-text) !important; padding: .6rem 1rem !important; margin: 0 .15rem; border-radius: 5px; transition: background-color .22s ease-out, transform .18s; }
.nav-link:focus-visible, .nav-link:hover { background: var(--nav-hover); transform: translateY(-1px); }
.nav-link.active { background: var(--nav-active); position: relative; font-weight: 500; }
.dropdown-menu { background: var(--nav-bg); border: 1px solid var(--nav-border); box-shadow: 0 6px 18px rgba(0,0,0,.12); margin-top: .35rem; padding: .5rem 0; border-radius: 6px; }
.dropdown-item { color: var(--nav-text); padding: .65rem 1.5rem; transition: background-color .18s; font-size: .95em; white-space: nowrap; }
.dropdown-item:focus, .dropdown-item:hover { background: var(--nav-hover); color: #fff !important; }
.dropdown-divider { border-top: 1px solid var(--nav-border); margin: .5rem 0; }
.dropdown-header { color: rgba(255,255,255,.7); font-weight: 600; padding: .5rem 1.5rem; font-size: .85em; text-transform: uppercase; letter-spacing: .5px; }
.navbar-toggler { border: 1px solid rgba(255,255,255,.15); padding: .45rem .65rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.1); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.flag { width: 22px; height: 14px; border-radius: 2px; vertical-align: -2px; margin-right: .4rem; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.brand-separator { margin: 0 10px; align-self: stretch; position: relative; height: 40px; width: 4px; transform: rotate(15deg); }
.brand-separator::before { content: ""; position: absolute; width: 100%; border-radius: 2px; left: 0; transform-origin: bottom center; background: linear-gradient(to bottom, #12b571, #0e9d60); height: 40%; top: 10%; box-shadow: 0 2px 4px rgba(18,181,113,.4), inset 0 1px 2px rgba(255,255,255,.2); z-index: 2; }
.brand-separator::after { content: ""; position: absolute; width: 100%; border-radius: 2px; left: 0; transform-origin: bottom center; background: linear-gradient(to top, #ff4757, #ff6b81); height: 40%; top: 50%; box-shadow: 0 -2px 4px rgba(255,71,87,.3), inset 0 -1px 2px rgba(0,0,0,.1); z-index: 1; }
.navbar-brand { display: inline-flex; align-items: center; position: relative; font-weight: 600; letter-spacing: -.5px; color: var(--nav-text) !important; font-size: 1.15rem; padding: .25rem 0; }

@media (min-width: 992px) {
    .dropdown-item:not(.dropdown-toggle)::after, .dropdown-menu { display: none; }
    .dropdown:hover > .dropdown-menu, .dropend:hover > .dropdown-submenu { display: block; }
    .dropdown > .nav-link { margin-bottom: 0; }
    .dropdown > .dropdown-menu { margin-top: 0; }
    .dropdown::after { content: ""; position: absolute; bottom: -10px; left: 0; width: 100%; height: 10px; }
    .dropend { position: relative; }
    .dropend .dropdown-toggle::after { float: right; margin-top: 8px; margin-right: -12px; border-top: .3em solid transparent; border-right: 0; border-bottom: .3em solid transparent; border-left: .3em solid; }
    .dropdown-submenu { display: none; position: absolute; left: 100%; top: 0; margin-top: -6px; }
    .dropend::after { content: ""; position: absolute; top: 0; right: -10px; width: 10px; height: 100%; }
}
@media (max-width: 991.98px) {
    .navbar-collapse { background: var(--nav-bg); padding: .5rem; margin-top: .5rem; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.15); max-height: calc(100vh - 70px); overflow-y: auto; }
    .nav-link { margin: .3rem 0; padding: .75rem !important; }
    .dropdown-menu { position: static !important; width: 100%; float: none; margin: .25rem 0 !important; box-shadow: none; border: none; background-color: rgba(0,0,0,.15); }
    .dropend .dropdown-menu { margin-left: 1rem !important; width: calc(100% - 1rem); border-left: 2px solid var(--nav-border); padding-left: .5rem; }
    .dropdown-toggle::after { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
    .dropdown-item.dropdown-toggle { padding-right: 2.5rem; position: relative; }
    .dropdown-item { white-space: normal; }
}
.dropdown-item:focus-visible, .nav-link:focus-visible { outline: rgba(72,140,255,.8) solid 2px; outline-offset: 2px; }
.dropdown-menu-end { right: 0; left: auto; }


/* ── GLOBAL / NEWCSS (newcss.css) ── */
h1, h2 { font-weight: 600; color: #0f2862; }
body { font-family: 'Open Sans', sans-serif; background-color: #f7f8fc; overflow-x: hidden; }
.smw-root > .smw-chart-widget-container > .smw-chart { height: 550px !important; }
.container-fluid { max-width: 1700px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }
.custom-table-container, stock-market-widget { margin: 1.75rem 0; box-shadow: 0 3px 10px rgba(0,0,0,.05); overflow: hidden; }
main { padding-top: 75px; padding-bottom: 2rem; }
h1 { margin-top: 15px; margin-bottom: 1.5rem; font-size: 2rem; padding-top: 10px; border-bottom: 1px solid #eaeaea; padding-bottom: 10px; letter-spacing: -.02em; }
.col-md-3 .card, h2 { margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-top: 1.5rem; padding-top: .5rem; padding-bottom: .5rem; padding-left: 10px; }
.card { border: none; box-shadow: 0 3px 10px rgba(0,0,0,.05); transition: .3s; border-radius: 10px; }
.custom-table a, .footer-menu-link { text-decoration: none; font-weight: 500; transition: color .2s; }
.card:hover { box-shadow: 0 6px 15px rgba(0,0,0,.08); }
.card-body { padding: 1.75rem; }
.custom-table-container { border-radius: 10px; }
.market-cap-usd { font-weight: bold; font-size: 1.1em; color: #000; display: block; border-bottom: 1px dotted #ddd; padding-bottom: 3px; margin-bottom: 3px; }
.market-cap-czk { font-size: 0.8em; color: #888; display: block; font-style: italic; }
.custom-table, .table-responsive { margin-bottom: 0; }
.custom-table thead th { background-color: #0a58ca; color: #fff; padding: .85rem 1rem; font-weight: 500; border: none; position: sticky; top: 0; z-index: 1; }
.custom-table tbody tr { transition: background-color .2s; }
.custom-table tbody tr:hover { background-color: rgba(10,88,202,.04); }
.custom-table tbody td { padding: .85rem 1rem; vertical-align: middle; border-bottom: 1px solid #e9ecef; }
.custom-table tr:last-child td { border-bottom: none; }
.custom-table a { color: #0a58ca; }
.custom-table a:hover { text-decoration: underline; color: #0d6efd; }
.custom-table img { border-radius: 4px; object-fit: contain; }
stock-market-widget { display: block; border-radius: 10px; }
/* ── FOOTER ── */
.footer { background-color: #1a1d23; color: rgba(255,255,255,.7); padding: 0; margin-top: 2rem; }
.footer .container { max-width: 1300px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.ft-brand { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.ft-brand-hl { color: rgba(255,255,255,.7); }
.ft-text { color: rgba(255,255,255,.7); line-height: 1.7; }
.ft-social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); text-decoration: none; transition: background .2s, color .2s; }
.ft-social:hover { background: rgba(255,255,255,.15); color: #fff; }
.ft-heading { color: #fff; font-size: .8rem; letter-spacing: .08em; }
.ft-link { color: rgba(255,255,255,.65); text-decoration: none; }
.ft-link:hover { color: #fff; }
.ft-hr { border-color: rgba(255,255,255,.1); margin: 2rem 0; }
.ft-muted { color: rgba(255,255,255,.5); }
.ft-muted-link { color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 3px; }
.ft-muted-link:hover { color: #fff; }
.ft-icon-ssl { vertical-align: -1px; margin-right: 4px; }
.ft-icon-info { vertical-align: -2px; margin-right: 6px; }
.ft-details { color: rgba(255,255,255,.5); }
.ft-details summary { cursor: pointer; color: rgba(255,255,255,.6); padding: 8px 0; user-select: none; }
.ft-details-body { padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.06); margin-top: .5rem; }
.ft-details-body p { color: rgba(255,255,255,.5); margin-bottom: .75rem; }
.ft-bottom { color: rgba(255,255,255,.45); }
.ft-bottom-link { color: rgba(255,255,255,.55); text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom-link:hover { color: #fff; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.font-weight-bold { font-weight: 700 !important; }

.stock-chart-container { box-shadow: 0 2px 10px rgba(0,0,0,.1); background-color: #f9f9f9; width: 100%; position: relative; z-index: 1; box-sizing: border-box; margin: 0; padding: 0; min-height: 550px; min-width: 100%; border-bottom: 1px solid #13c636; border-radius: 4px; }
.row { display: flex; flex-wrap: wrap; width: 100%; margin-right: 0; margin-left: 0; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.mt-6 { margin-top: 1.75rem !important; }
.pt-5 { padding-top: 1.5rem !important; }
.card-body { line-height: 1.65; color: #333; }
small { font-size: .85rem; line-height: 1.6; display: block; color: rgba(255,255,255,.6); }

/* Popup / CTA */
.popup { display: flex; position: fixed; bottom: 5px; left: 10px; right: 10px; min-width: 256px; max-width: 555px; margin: auto; flex-flow: row; background-color: #fafafa; padding: 5px 8px; z-index: 999; box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12); border-top: 2px solid #13c636; border-radius: 8px; }
.close, .popup-small { bottom: 0; right: 0; cursor: pointer; }
.custom-btn, .custom-btn:hover { background-color: #218838; text-decoration: none; }
.logo { margin: 15px 20px 10px 25px; display: inline-flex; }
.logo-img { display: block; width: 100%; max-width: 176px; height: auto; object-fit: contain; margin-right: auto; }
.risk-wa { display: block; font-size: 12px; color: #333; font-weight: 300; line-height: 1.2; }
#brokerCards .alert strong, .custom-btn { font-weight: 600; }
.box { display: flex; width: 100%; margin: 8px; align-items: center; margin-right: calc(48px + 16px); }
.close, .close svg { width: 28px; height: 28px; }
.box-button { text-align: center; margin-left: auto; white-space: nowrap; }
.custom-btn { color: #fff; padding: 8px 16px; text-align: center; display: inline-block; font-size: 16px; border-radius: 8px; border: none; cursor: pointer; transition: background-color .3s, transform .1s; box-shadow: 0 4px 6px rgba(0,0,0,.1); margin: 5px; }
.custom-btn:hover { color: #fff; }
.custom-btn:active { background-color: #0f9f2d; transform: translateY(2px); box-shadow: 0 2px 4px rgba(0,0,0,.1); color: #fff; }
.custom-btn:focus { outline: 0; }
.close { position: absolute; top: 0; display: flex; margin: auto 20px; }
.popup-small { display: flex; position: fixed; background-color: #fafafa; padding: 4px; z-index: 999; box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12); border-top-left-radius: 24px; }
.popup-small .logo-img { display: flex; height: auto; width: 96px; max-height: 48px; }
a:focus, button:focus { outline: #0d6efd solid 2px; outline-offset: 2px; }

/* Broker cards */
#brokerCards { margin: 2.5rem 0; }
#brokerCards .card { transition: transform .25s, box-shadow .25s; box-shadow: 0 4px 12px rgba(0,0,0,.07) !important; border-radius: 12px !important; overflow: hidden; }
#brokerCards .card:hover { box-shadow: 0 8px 18px rgba(0,0,0,.12) !important; }
#brokerCards .card-header { background: #fff !important; border: none; border-top: 3px solid #0d6efd; padding: 1.25rem 1rem; display: flex; align-items: center; justify-content: center; }
#brokerCards .card-header img { height: 38px; max-width: 150px; object-fit: contain; filter: none; transition: transform .2s; }
#brokerCards .card-header img:hover { transform: scale(1.05); }
#brokerCards .card-body { padding: 1.5rem !important; background-color: #fff; }
#brokerCards .row .col-6 { margin-bottom: .5rem; }
#brokerCards .text-muted { color: #6c757d !important; font-size: .87rem; font-weight: 500 !important; }
#brokerCards .fw-bold { font-weight: 600 !important; color: #333; }
#brokerCards .text-primary { color: #0d6efd !important; }
#brokerCards .bi { font-size: 1.1rem; }
#brokerCards .btn-primary { background: linear-gradient(135deg, #0a58ca, #0d6efd); border: none; padding: .75rem 1.5rem; font-weight: 500; transition: .2s; border-radius: 6px; margin-top: .5rem; }
#brokerCards .btn-primary:hover { background: linear-gradient(135deg, #094cb3, #0b5ed7); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(13,110,253,.25) !important; }
#brokerCards .btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 4px rgba(13,110,253,.25) !important; }
#brokerCards .btn-primary .bi { margin-right: 6px; }
#brokerCards .alert { background-color: #fff3cd; border-color: #ffecb5; color: #664d03; font-size: .8rem !important; padding: .5rem .75rem !important; margin-top: 1rem !important; border-radius: 6px; }
#brokerCards .alert .bi { color: #997404; margin-right: .25rem; }

@media print {
    .ads, .footer, .popup, .popup-small, nav { display: none !important; }
    .custom-table { box-shadow: none; }
    .custom-table th { background-color: #fff !important; color: #000 !important; }
}


/* ── COMPANY PAGE INLINE STYLES ── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f0f2f5; }
.mono { font-family: 'JetBrains Mono', monospace; }

main.fx-main { padding-top: 56px; margin-top: 0; }
.stock-chart-container { z-index: 1 !important; position: relative; }
.fx-hero, .fx-body { position: relative; z-index: 0; }
.fx-hero h1, .fx-hero .fx-pairname { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; border-bottom: none !important; color: #fff !important; letter-spacing: inherit !important; }

/* HERO */
.fx-hero { background: #080f1e; padding: 32px 0 0; }
.fx-bc { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 20px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.fx-bc a { color: rgba(255,255,255,.6); text-decoration: none; }
.fx-bc a:hover { color: #fff; text-decoration: underline; }
.fx-bc-sep { color: rgba(255,255,255,.35); }

/* Pair row */
.fx-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.fx-left { display: flex; align-items: flex-start; }
.fx-pair-info { display: flex; flex-direction: column; }
.fx-flags-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.fx-flag { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #2a3550; object-fit: cover; background: #1a2235; flex-shrink: 0; }
.fx-flag + .fx-flag { margin-left: -22px; }
.fx-exch { font-size: 12px; color: rgba(255,255,255,.45); font-weight: 500; letter-spacing: .03em; margin-left: 4px; }
.fx-top-right { display: flex; flex-direction: column; gap: 10px; }
.fx-h1 { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); margin: 0 0 4px; letter-spacing: .08em; text-transform: uppercase; }
.fx-pairname { font-size: 38px; font-weight: 700; color: #fff; line-height: 1; margin: 0 0 6px; }
.fx-h1-main { font-size: 52px !important; margin-bottom: 20px !important; font-weight: 700 !important; line-height: 1.1 !important; }
.fx-longname { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }
.fx-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-price { font-family: 'JetBrains Mono', monospace; font-size: 52px; font-weight: 500; color: #fff; letter-spacing: -2px; line-height: 1; }
.fx-price-loading { font-size: 32px; opacity: .3; letter-spacing: 0; animation: fx-pulse 1s ease-in-out infinite; }
@keyframes fx-pulse { 0%,100% { opacity: .2; } 50% { opacity: .5; } }
.fx-cur { font-size: 15px; color: rgba(255,255,255,.55); margin-bottom: 6px; font-weight: 500; }
.fx-badges { display: flex; gap: 6px; flex-direction: column; justify-content: flex-end; padding-bottom: 6px; }
.fx-badge { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; padding: 3px 11px; border-radius: 5px; white-space: nowrap; }
.pos { background: rgba(34,197,94,.13); color: #4ade80; border: 1px solid rgba(34,197,94,.18); }
.neg { background: rgba(239,68,68,.13); color: #f87171; border: 1px solid rgba(239,68,68,.18); }

/* Stat bar */
.fx-stats { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 8px; background: rgba(0,0,0,.25); }
.fx-st { flex: 1 1 90px; padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.08); }
.fx-st:last-child { border-right: none; }
.fx-st-l { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 5px; font-weight: 600; }
.fx-st-v { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: #fff; font-weight: 500; }

/* BODY */
.fx-body { padding: 20px 0 40px; }
.fx-card { background: #fff; border-radius: 12px; padding: 18px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.fx-card-t { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 14px; }

/* Range */
.rng-bar { position: relative; height: 5px; background: #e2e8f0; border-radius: 3px; margin: 6px 0 5px; }
.rng-fill { position: absolute; inset: 0; background: linear-gradient(90deg, #ef4444, #f97316 50%, #22c55e); border-radius: 3px; }
.rng-dot { position: absolute; top: -6px; width: 17px; height: 17px; background: #080f1e; border: 2px solid #fff; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 1px 5px rgba(0,0,0,.3); left: 50%; transition: left .5s; }
.rng-ends { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #64748b; }
.rng-deltas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.rng-d { background: #f8fafc; border-radius: 8px; padding: 8px; text-align: center; }
.rng-dl { font-size: 10px; text-transform: uppercase; color: #94a3b8; margin-bottom: 3px; }
.rng-dv { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; }
.rng-dpct { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; opacity: .8; margin-top: 2px; }

/* Info table */
.info-tbl { width: 100%; border-collapse: collapse; }
.info-tbl tr { border-bottom: 1px solid #f1f5f9; }
.info-tbl tr:last-child { border-bottom: none; }
.info-tbl td { padding: 7px 0; font-size: 12.5px; vertical-align: middle; }
.info-tbl td:first-child { color: #94a3b8; }
.info-tbl td:last-child { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: #1e293b; }

/* CTA */
.fx-cta-main { display: block; background: #16a34a; color: #fff; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 10px; text-decoration: none; text-align: center; margin-bottom: 8px; }
.fx-cta-main:hover { background: #15803d; color: #fff; }
.fx-risk-box { background: #1e293b; border: 1px solid #334155; border-left: 3px solid #f59e0b; border-radius: 8px; padding: 10px 14px; font-size: 12px; color: #cbd5e1; line-height: 1.6; margin-top: 12px; }
.fx-risk-box strong { color: #fbbf24; }
.fx-risk-small { font-size: 11px; color: #94a3b8; text-align: center; margin: 4px 0 10px; }
.fx-cta-sec { display: block; background: #fff; color: #334155; font-weight: 600; font-size: 13px; padding: 11px; border-radius: 10px; text-decoration: none; text-align: center; border: 1px solid #e2e8f0; margin-bottom: 14px; }
.fx-cta-sec:hover { border-color: #3b82f6; color: #3b82f6; }

/* Broker */
.broker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.broker-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin-bottom: 0; transition: box-shadow .15s; display: flex; flex-direction: column; }
.broker-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.broker-hd { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.broker-n { width: 26px; height: 26px; background: #080f1e; color: #fff; border-radius: 7px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.broker-bd { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.broker-bd p { font-size: 13px; color: #64748b; margin-bottom: 10px; line-height: 1.6; }
.broker-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.btag { font-size: 11px; background: #fef9c3; color: #713f12; border: 1px solid #fde68a; border-radius: 20px; padding: 2px 9px; font-weight: 600; }
.broker-ft { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.broker-stars { color: #f59e0b; font-size: 14px; }
.broker-btn { background: #16a34a; color: #fff; font-weight: 600; font-size: 13px; padding: 9px 22px; border-radius: 8px; text-decoration: none; }
.broker-btn:hover { background: #15803d; color: #fff; }

.sec-hd { font-size: 17px; font-weight: 700; color: #0f172a; margin: 4px 0 14px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0; }


/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .container-fluid { max-width: 100%; }
    main { padding-top: 65px; }
    main.fx-main { padding-top: 52px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    main { padding-top: 55px; }
    main.fx-main { padding-top: 48px; }
    h1 { font-size: 1.6rem; margin-top: 15px; padding-bottom: 8px; }
    h2 { font-size: 1.4rem; margin-top: 1.25rem; }
    .footer .text-left, .footer .text-right { text-align: center !important; }
    .footer-menu-link { margin: .5rem; display: inline-block; }
    .custom-table td, .custom-table th { padding: .5rem .6rem; }
    .row { margin-left: -5px; margin-right: -5px; }
    .col-md-12 { padding-left: 5px; padding-right: 5px; }
    .card-body { padding: 1.25rem .75rem; }
    .stock-chart-container { width: 92%; margin: 0 auto; padding: 0; }
    #brokerCards .card-body { padding: 1.25rem !important; }
    #brokerCards .btn-primary { padding: .625rem 1.25rem; }
    #brokerCards .text-muted { font-size: .8rem; }
    #brokerCards .card-header img { height: 32px; }
}
@media (max-width: 767px) {
    .fx-top { flex-direction: column; gap: 16px; }
    .fx-right { align-items: flex-start; }
    .fx-price-row { justify-content: flex-start; }
    .fx-badges { justify-content: flex-start; }
    .fx-price { font-size: 36px; }
    .fx-pairname { font-size: 28px; }
    .fx-h1-main { font-size: 38px !important; }
    .fx-st { flex: 1 1 70px; padding: 11px 12px; }
    .fx-st-v { font-size: 13px; }
    .broker-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .custom-btn { width: 100%; font-size: 18px; padding: 18px; }
}
@media (max-width: 576px) {
    .container-fluid { padding-left: 6px; padding-right: 6px; }
    .card-body { padding: 1.25rem .5rem; }
    .custom-table-container { margin: 1.25rem 0; }
    .footer-menu-link { margin: .4rem; font-size: .95rem; }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    #brokerCards .card-header { padding: 1rem .75rem; }
    #brokerCards .card-body { padding: 1rem !important; }
    #brokerCards .row .col-6 { margin-bottom: .4rem; }
    #brokerCards .fw-bold, #brokerCards .text-muted { font-size: .75rem; }
    #brokerCards .btn-primary { font-size: .875rem; padding: .5rem 1rem; }
    #brokerCards .alert { font-size: .7rem !important; padding: .4rem .5rem !important; }
    .row { margin-left: -4px; margin-right: -4px; }
    .col-md-12 { padding-left: 4px; padding-right: 4px; }
    .custom-table td, .custom-table th { padding: .45rem .65rem; }
}
@media (max-width: 480px) {
    .container-fluid { padding-left: 3px; padding-right: 3px; }
    .row { margin-left: -2px; margin-right: -2px; }
    .col-md-12, .col-md-6 { padding-left: 2px; padding-right: 2px; }
    .card-body { padding: 1rem .35rem; }
    .custom-table td, .custom-table th { padding: .4rem .55rem; }
    .custom-table { font-size: .95rem; }
}
@media only screen and (max-width: 800px) {
    .popup { display: flex; left: 0; right: 0; bottom: 0; max-width: unset; border-radius: 0; }
}
@media only screen and (max-width: 650px) {
    .popup .logo { margin: 8px 16px 8px 8px; }
    .box { margin: 0; margin-right: calc(40px + 16px); }
    .custom-btn { padding: 8px 16px; font-size: 12px; }
    .logo-img { max-width: 96px; height: 32px; }
    .close { margin: 16px; }
}
@media only screen and (max-width: 450px) {
    .popup .logo { margin: 8px; }
    .box { margin-right: 8px; }
    .logo-img, .popup-small .logo-img { max-width: 80px; }
    .close { margin: 0; top: -14px; left: 2px; background-color: #fff; border-radius: 50%; }
}