/* YAA.hu arculat v2 – logó kék #1c7191, szöveg #2b2b2b, Inter betűtípus (OFL, helyben tárolva) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --yaa-primary: #1c7191; --yaa-primary-dark: #165b75; --yaa-primary-soft: #e8f3f7; --yaa-primary-tint: #f2f8fa;
  --yaa-ink: #2b2b2b; --yaa-muted: #6b7280; --yaa-bg: #f3f5f7; --yaa-border: #e4e8ec; --yaa-card: #fff;
  --yaa-radius: .8rem; --yaa-radius-sm: .55rem;
  --yaa-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --yaa-shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .14);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: #2b2b2b; --bs-emphasis-color: #2b2b2b; --bs-secondary-color: #6b7280;
  --bs-border-radius: .55rem; --bs-border-radius-lg: .8rem; --bs-border-color: #e4e8ec;
  --bs-primary: #1c7191; --bs-primary-rgb: 28, 113, 145;
}
body { font-family: var(--bs-body-font-family); background: var(--yaa-bg); color: var(--yaa-ink); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--yaa-ink); letter-spacing: -.02em; }
.text-muted { color: var(--yaa-muted) !important; }
::selection { background: rgba(28, 113, 145, .18); }

/* Gombok */
.btn { border-radius: var(--yaa-radius-sm); font-weight: 550; padding-inline: .95rem; transition: background-color .15s, box-shadow .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding-inline: .7rem; border-radius: .45rem; }
.btn-primary { box-shadow: 0 1px 2px rgba(28, 113, 145, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-light { --bs-btn-bg: #f1f4f6; --bs-btn-border-color: #f1f4f6; --bs-btn-hover-bg: #e6eaee; --bs-btn-hover-border-color: #e6eaee; }
.btn-outline-secondary { --bs-btn-color: #4b5563; --bs-btn-border-color: #d5dbe1; --bs-btn-hover-bg: #f3f5f7; --bs-btn-hover-color: #2b2b2b; --bs-btn-hover-border-color: #c7cfd6; --bs-btn-active-bg: #e9edf1; --bs-btn-active-color: #2b2b2b; }
.btn-yaani { background: linear-gradient(135deg, #1c7191 0%, #2a9cc4 100%); box-shadow: 0 4px 14px -4px rgba(28, 113, 145, .55); }

/* Űrlapok */
.form-control, .form-select { border-color: #d9dfe5; border-radius: var(--yaa-radius-sm); }
.form-control::placeholder { color: #9ca3af; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #1c7191; box-shadow: 0 0 0 .22rem rgba(28, 113, 145, .15); }
.form-label { font-weight: 550; color: #374151; font-size: .9rem; }
.input-group-text { background: #f6f8fa; border-color: #d9dfe5; }

/* Kártyák, táblák */
.card, .stat-card { border: 1px solid var(--yaa-border); border-radius: var(--yaa-radius); box-shadow: var(--yaa-shadow); }
.card-header { background: transparent; border-bottom: 1px solid var(--yaa-border); padding: .85rem 1.1rem; font-weight: 650; }
.card-header:first-child { border-radius: var(--yaa-radius) var(--yaa-radius) 0 0; }
.card-footer { background: #fafbfc; border-top: 1px solid var(--yaa-border); }
.table { --bs-table-hover-bg: var(--yaa-primary-tint); }
.table > thead th { background: #f8fafb; color: #6b7280; font-size: .72rem; letter-spacing: .06em; border-bottom-color: var(--yaa-border); }
.table > :not(caption) > * > * { border-bottom-color: #eef1f4; }
.stat-card { padding: 1.1rem 1.2rem; transition: box-shadow .2s, transform .2s; }
a .stat-card:hover, .stat-card.clickable:hover { box-shadow: var(--yaa-shadow-lg); transform: translateY(-1px); }
.stat-label { font-weight: 550; color: var(--yaa-muted); }
.stat-label i { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .55rem; background: var(--yaa-primary-soft); color: var(--yaa-primary); margin-right: .45rem; font-size: 1rem; }
.stat-value { font-weight: 750; letter-spacing: -.03em; }
.badge { font-weight: 600; letter-spacing: .01em; border-radius: .4rem; }
.alert { border-radius: var(--yaa-radius); border-width: 1px; }
.alert-info { --bs-alert-bg: #eaf5f9; --bs-alert-border-color: #cde6ef; --bs-alert-color: #134e64; }
.nav-pills .nav-link { border-radius: .5rem; color: #4b5563; font-weight: 550; }
.nav-pills .nav-link.active { background: var(--yaa-primary); }
.nav-tabs .nav-link.active { color: var(--yaa-primary); font-weight: 600; }
.progress { background: #edf1f4; border-radius: 99px; }
.progress-bar { background: var(--yaa-primary); border-radius: 99px; }
.modal-content { border: 0; border-radius: 1rem; box-shadow: 0 24px 60px -12px rgba(16, 24, 40, .3); }
.dropdown-menu { border-color: var(--yaa-border); border-radius: .7rem; box-shadow: var(--yaa-shadow-lg); padding: .35rem; }
.dropdown-item { border-radius: .45rem; padding: .45rem .7rem; }

/* Keret: oldalsáv, felső sáv */
.sidebar-inner { background: #fff; border-right: 1px solid var(--yaa-border); padding: 1.1rem .8rem; }
.sidebar .nav-link { color: #374151; font-weight: 500; border-radius: .55rem; padding: .5rem .75rem; transition: background-color .12s, color .12s; }
.sidebar .nav-link i { color: #8a94a0; }
.sidebar .nav-link:hover { background: #f3f5f7; color: var(--yaa-ink); }
.sidebar .nav-link.active { background: var(--yaa-primary-soft); color: var(--yaa-primary-dark); position: relative; }
.sidebar .nav-link.active::before { content: ""; position: absolute; left: -.8rem; top: .45rem; bottom: .45rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--yaa-primary); }
.nav-section { color: #9aa3ad; font-weight: 600; font-size: .68rem; letter-spacing: .09em; }
.topbar { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--yaa-border); min-height: 58px; }
.page-head h1 { font-weight: 750; letter-spacing: -.03em; font-size: 1.65rem; }
.content { max-width: 1480px; width: 100%; }

/* Belépés */
.auth-wrap { background: radial-gradient(1200px 600px at 10% -10%, #dcedf3 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #e2eef3 0%, transparent 55%), var(--yaa-bg); }
.auth-card { border-radius: 1rem; box-shadow: var(--yaa-shadow-lg); border: 1px solid var(--yaa-border); padding: 1.75rem; max-width: 400px; }
.auth-alert { max-width: 400px; }
.auth-title { font-weight: 700; letter-spacing: -.03em; font-size: 1.7rem; }

/* Gyorskereső (Ctrl+K) */
.qs-trigger { display: flex; align-items: center; gap: .5rem; min-width: 260px; padding: .4rem .75rem; border: 1px solid var(--yaa-border); border-radius: .6rem; background: #f6f8fa; color: #6b7280; font-size: .9rem; }
.qs-trigger:hover { border-color: #cfd6dd; background: #fff; }
.qs-trigger kbd { margin-left: auto; background: #fff; color: #6b7280; border: 1px solid #dfe4e9; box-shadow: none; font-size: .7rem; padding: .1rem .35rem; }
.qs-modal .modal-dialog { max-width: 620px; margin-top: 10vh; }
.qs-input { border: 0; border-bottom: 1px solid var(--yaa-border); border-radius: 1rem 1rem 0 0; padding: 1.1rem 1.25rem 1.1rem 3rem; font-size: 1.05rem; box-shadow: none !important; }
.qs-wrap { position: relative; }
.qs-wrap > .bi-search { position: absolute; left: 1.2rem; top: 1.15rem; font-size: 1.1rem; color: #9aa3ad; }
.qs-results { max-height: 55vh; overflow: auto; padding: .4rem; }
.qs-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #9aa3ad; font-weight: 600; padding: .6rem .8rem .25rem; }
.qs-item { display: flex; align-items: center; gap: .75rem; padding: .55rem .8rem; border-radius: .6rem; color: var(--yaa-ink); text-decoration: none; }
.qs-item i { color: var(--yaa-primary); font-size: 1.1rem; }
.qs-item small { color: var(--yaa-muted); }
.qs-item.active, .qs-item:hover { background: var(--yaa-primary-soft); color: var(--yaa-ink); }
.qs-empty { padding: 1.5rem; text-align: center; color: var(--yaa-muted); }
.qs-foot { border-top: 1px solid var(--yaa-border); padding: .5rem 1rem; font-size: .75rem; color: #9aa3ad; display: flex; gap: 1rem; }

/* Bemutató túra */
.tour-pop { position: fixed; z-index: 2000; max-width: 340px; background: #fff; border-radius: .9rem; box-shadow: 0 20px 50px -10px rgba(16, 24, 40, .35); padding: 1rem 1.1rem; border: 1px solid var(--yaa-border); }
.tour-pop h6 { font-weight: 700; margin-bottom: .3rem; }
.tour-pop p { font-size: .9rem; color: #4b5563; margin-bottom: .75rem; }
.tour-pop .tour-step { font-size: .75rem; color: #9aa3ad; }
.tour-hl { position: relative; z-index: 1999; box-shadow: 0 0 0 4px rgba(28, 113, 145, .35), 0 0 0 9999px rgba(15, 23, 32, .45) !important; border-radius: .6rem; }
.tour-welcome-ic { width: 64px; height: 64px; border-radius: 1rem; display: grid; place-items: center; margin: 0 auto .75rem; background: linear-gradient(135deg, #1c7191, #2a9cc4); color: #fff; font-size: 1.8rem; box-shadow: 0 10px 24px -8px rgba(28, 113, 145, .6); }
.qs-input:focus { border-bottom-color: var(--yaa-border); }
.stat-label { display: flex; align-items: center; gap: .5rem; line-height: 1.25; }
.stat-label i { margin-right: 0; flex-shrink: 0; }
@media (max-width: 575.98px) { .stat-value { font-size: 1.45rem; } .stat-card { padding: .9rem; } .page-head h1 { font-size: 1.4rem; } }
