body { background: #f6f7f9; }
.card { border-color: #e4e7ec; }
.card-header { background: #fff; font-weight: 600; }
.stat .value { font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .label { color: var(--bs-secondary-color); font-size: .85rem; }
.num, td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table > :not(caption) > * > * { padding: .45rem .6rem; }
.table-hover tbody tr[data-href] { cursor: pointer; }
.lines-table input, .lines-table select { font-size: .9rem; }
.lines-table td { vertical-align: top; }
.lines-table select.form-select { padding-left: .5rem; padding-right: 1.5rem; background-position: right .35rem center; min-width: 5.2rem; }
.lines-table .col-name { min-width: 16rem; }
.lines-table .col-qty { width: 6.5rem; }
.lines-table .col-unit { width: 6.5rem; }
.lines-table .col-price { width: 8rem; }
.lines-table .col-cat { width: 6rem; }
.lines-table .col-rate { width: 6.5rem; }
.lines-table .col-total { width: 8rem; }
.issues li { margin-bottom: .2rem; }
.xml-preview { max-height: 30rem; overflow: auto; font-size: .78rem; background: #0f172a; color: #e2e8f0; border-radius: .4rem; padding: 1rem; }
.timeline { list-style: none; padding-left: 0; font-size: .88rem; }
.timeline li { border-left: 2px solid #dee2e6; padding: 0 0 .6rem .8rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #0d6efd; }
.auth-card { max-width: 440px; margin: 6vh auto; }
.auth-card input[type=password] { display: block; width: 100%; padding: .375rem .75rem; border: 1px solid #dee2e6; border-radius: .375rem; }
.form-label { font-size: .88rem; margin-bottom: .2rem; color: #444; }
.helptext, .form-text { font-size: .78rem; }

/* Značka Tangreto – prihlásenie a klientsky portál */
.brand-tagline { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: #1f4e6b; margin-top: .25rem; }
.btn-brand { background: #1f4e6b; border-color: #1f4e6b; color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: #173c52; border-color: #173c52; color: #fff; }
.brand-bg { background: linear-gradient(180deg, #eef4f8 0%, #f8f9fa 60%); min-height: 100vh; }
.lang-switch { display: inline-flex; gap: .3rem; align-items: center; font-size: .8rem; }
.lang-switch .btn { font-size: .8rem; text-decoration: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Môj Tangreto */
.portal-card { transition: box-shadow .15s, transform .15s; }
.portal-card:hover { box-shadow: 0 .5rem 1rem rgba(31, 78, 107, .15) !important; transform: translateY(-1px); }
.portal-date { width: 3.6rem; padding: .35rem 0; border-radius: .5rem; background: #eef4f8; color: #1f4e6b; }
.min-w-0 { min-width: 0; }
/* jemný footer */
.site-footer { text-align: center; font-size: .75rem; color: #8a96a3; padding: 1.5rem 1rem 2rem; }
.site-footer a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.site-footer a:hover { color: #1f4e6b; }
.legal h2 { font-size: 1rem; margin-top: 1.6rem; color: #15324d; }
.legal li { margin-bottom: .35rem; }
.forecast p { margin-bottom: .9rem; }
.preview-bar { background: #ffe066; color: #3d3100; padding: .45rem 0; font-size: .85rem; position: sticky; top: 0; z-index: 1050; }
[data-bs-target='#crew-body'] .crew-chevron { transition: transform .2s; }
[data-bs-target='#crew-body']:not(.collapsed) .crew-chevron { transform: rotate(180deg); }
.legend-plan, .legend-track { display: inline-block; width: 22px; height: 0; vertical-align: middle; border-top: 3px dashed #0f3b57; }
.legend-track { border-top-style: solid; }
.plan-today { background: #f3f8fb; }
.join-benefits { background: #eef4f8; }
.sailor-card { background: linear-gradient(135deg, #15324d 0%, #1f4e6b 60%, #2b6a8c 100%); color: #fff; box-shadow: 0 .5rem 1.25rem rgba(21, 50, 77, .25); }
.plan-stops li.locked { background: #eef4f8; border-radius: .25rem; }
@media print {
  body.print-resume > *:not(main), body.print-resume main > *:not(.profile-wrap),
  body.print-resume .profile-wrap > *:not(#resume) { display: none !important; }
  body.print-resume { background: #fff !important; }
  body.print-resume #resume { margin-top: 0 !important; }
}
.guide-list label { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; border-bottom: 1px solid var(--bs-border-color-translucent); cursor: pointer; }
.guide-list input { margin-top: .3rem; flex: none; }
.guide-list input:checked + * , .guide-list label:has(input:checked) { color: var(--bs-secondary-color); text-decoration: line-through; }
@media print { .guide .accordion-collapse { display: block !important; } }
.ready-dot { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: .1rem; }
.ready-ok { background: var(--bs-success-bg-subtle); color: var(--bs-success-text-emphasis); }
.ready-warn { background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis); }
.ready-info { background: var(--bs-secondary-bg); color: var(--bs-secondary-color); }
.readiness a:hover .fw-semibold { text-decoration: underline; }
.day-photo { position: relative; width: 84px; height: 84px; border-radius: .5rem; overflow: hidden; flex: none; }
.day-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.day-photo-del { position: absolute; top: 2px; right: 2px; padding: 0 .3rem; line-height: 1.2; opacity: .85; }
.day-photo-new { border: 2px dashed var(--bs-border-color); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--bs-secondary-color); cursor: pointer; margin: 0; }
.day-photo-new:hover { border-color: var(--bs-primary); color: var(--bs-primary); }
.crew-role { font-size: .8rem; min-height: 0; }
.article-body { font-size: 1.05rem; line-height: 1.65; }
.article-body h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.article-body h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.article-body table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--bs-border-color); padding: .4rem .6rem; vertical-align: top; }
.article-body th { background: var(--bs-tertiary-bg); }
.article-body blockquote { border-left: 4px solid var(--bs-primary); padding: .4rem 1rem; background: var(--bs-tertiary-bg); border-radius: .25rem; }
.article-body img { max-width: 100%; border-radius: .5rem; }
.learn-card { transition: transform .1s; } .learn-card:hover { transform: translateY(-2px); }
@media print { .navbar, .site-footer, .alert { display: none !important; } .article-body { font-size: 11pt; } }
.pdf-pages { display: flex; flex-direction: column; gap: .75rem; }
.pdf-page { width: 100%; background: #fff; border: 1px solid var(--bs-border-color); border-radius: .25rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
@media print {
  body.print-pdf * { visibility: hidden; }
  body.print-pdf .pdf-pages, body.print-pdf .pdf-pages * { visibility: visible; }
  body.print-pdf .pdf-pages { position: absolute; left: 0; top: 0; width: 100%; gap: 0; }
  body.print-pdf .pdf-page { border: 0; box-shadow: none; border-radius: 0; break-after: page; page-break-after: always; }
}
.note-initials { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--bs-primary-bg-subtle); color: var(--bs-primary-text-emphasis); font-size: .7rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; cursor: default; }
.gallery-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x proximity; }
.gallery-thumb { flex: none; width: 96px; height: 96px; padding: 0; border: 0; border-radius: .5rem; overflow: hidden; scroll-snap-align: start; background: var(--bs-secondary-bg); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-full { max-width: 100%; max-height: 80vh; object-fit: contain; }
.day-video-ig { --bs-aspect-ratio: 125%; max-width: 360px !important; }

/* nič nesmie rozšíriť stránku do strany (mobil) */
html, body { overflow-x: clip; }

/* Bootstrap Icons nemá kotvu – .bi-anchor sa kreslí maskou (rovnaká veľkosť a farba ako ostatné ikony) */
.bi-anchor::before {
  content: ""; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V21M8 11h8M4.5 14a7.5 7.5 0 0 0 15 0'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V21M8 11h8M4.5 14a7.5 7.5 0 0 0 15 0'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---- Klientsky portál: výraznejší dizajn (inšpirácia Vento Barcolana) ---- */
.portal-ui { --tg-navy: #0b2e4a; --tg-navy-2: #14466b; --tg-sea: #1f8ad1; --tg-sun: #ffc93c; --tg-red: #e5383b;
  --tg-green: #12a36a; --tg-bg: #eef2f7; --tg-text: #16202b; --tg-label: #5c6675;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--tg-text);
  background: radial-gradient(1100px 520px at 88% -8%, rgba(31, 138, 209, .16), transparent 62%),
              radial-gradient(900px 420px at -8% -4%, rgba(255, 201, 60, .14), transparent 58%),
              linear-gradient(180deg, #f3f9fe 0%, #ffffff 520px) no-repeat, #ffffff; }
.portal-ui h1, .portal-ui .h1, .portal-ui h2, .portal-ui .h4, .portal-ui .h5 { font-weight: 700; color: var(--tg-navy); letter-spacing: -.01em; }
.portal-ui .navbar { border-bottom: 0 !important; box-shadow: 0 3px 0 var(--tg-red), 0 6px 18px rgba(11, 46, 74, .08); }
.portal-ui .navbar .nav-link { white-space: nowrap; font-weight: 500; color: var(--tg-navy); border-radius: 999px; padding: .35rem .8rem !important; }
.portal-ui .navbar .nav-link:hover { background: #e7eef6; }
.portal-ui .navbar .nav-link.active { background: var(--tg-navy); color: #fff !important; }
.portal-ui a:not(.btn):not(.card):not(.nav-link):not(.navbar-brand):not(.dropdown-item) { color: var(--tg-sea); font-weight: 600; text-decoration: none; }
.portal-ui a:not(.btn):not(.card):not(.nav-link):not(.navbar-brand):not(.dropdown-item):hover { color: var(--tg-navy-2); text-decoration: underline; text-underline-offset: 3px; }
.portal-ui .btn { border-radius: 999px; font-weight: 600; padding-left: 1rem; padding-right: 1rem; }
.portal-ui .btn-sm { padding-left: .8rem; padding-right: .8rem; }
.portal-ui .btn-brand { background: var(--tg-navy); border-color: var(--tg-navy); }
.portal-ui .btn-brand:hover { background: var(--tg-navy-2); border-color: var(--tg-navy-2); }
.portal-ui .btn-sun { background: var(--tg-sun); border-color: var(--tg-sun); color: var(--tg-navy); }
.portal-ui .btn-sun:hover { background: #ffb800; color: var(--tg-navy); }
.portal-ui .btn-ghost { background: #fff; border: 1.5px solid #d3dce6; color: var(--tg-navy); }
.portal-ui .btn-ghost:hover { border-color: var(--tg-navy); color: var(--tg-navy); text-decoration: none; }
.portal-ui .card { border-radius: 16px; border: 0; box-shadow: 0 1px 2px rgba(11, 46, 74, .06), 0 6px 20px rgba(11, 46, 74, .07) !important; }
.portal-ui .badge { border-radius: 999px; font-weight: 600; padding: .4em .8em; }
.portal-ui .alert { border-radius: 14px; border: 0; }
/* nadpis sekcie s farebnou čiarkou */
.portal-ui .sec-title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-navy);
  margin: 2rem 0 .75rem; }
.portal-ui .sec-title::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--tg-red); margin-bottom: .45rem; }
/* karta plavby */
.portal-ui .portal-card { border-left: 6px solid #c9d6e3 !important; }
.portal-ui .portal-card.is-soon { border-left-color: var(--tg-sea) !important; }
.portal-ui .portal-card.is-now { border-left-color: var(--tg-green) !important; }
.portal-ui .portal-card h2 { color: var(--tg-navy); font-weight: 700; font-size: 1.05rem; }
.portal-ui .portal-date { width: 4rem; background: var(--tg-navy); color: #fff; border-radius: 12px; padding: .45rem 0; }
.portal-ui .portal-date .fs-3 { font-weight: 700; }
.portal-ui .portal-date .small { opacity: .8; font-size: .72rem; letter-spacing: .06em; }
.portal-ui .trip-chip { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .2rem .7rem;
  font-size: .82rem; font-weight: 600; }
.portal-ui .trip-chip.now { background: #dcf5ea; color: #0b7a4f; }
.portal-ui .trip-chip.soon { background: #e2f0fb; color: #0f5f99; }
/* hero – najbližšia plavba */
.portal-ui .trip-hero { position: relative; overflow: hidden; border-radius: 20px; color: #fff; padding: 1.5rem 1.6rem;
  background: radial-gradient(circle at 85% 15%, rgba(255, 201, 60, .35), transparent 40%), linear-gradient(135deg, #0b2e4a 0%, #14466b 55%, #1f8ad1 100%);
  box-shadow: 0 10px 30px rgba(11, 46, 74, .25); margin-bottom: 1rem; }
.portal-ui .trip-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--tg-red), var(--tg-sun), var(--tg-sea), var(--tg-green)); }
.portal-ui .trip-hero .eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tg-sun); }
.portal-ui .trip-hero h2 { color: #fff; font-size: 1.7rem; font-weight: 700; margin: .25rem 0; }
.portal-ui .trip-hero .meta { color: #cfe0ee; }
.portal-ui .trip-hero .count { font-size: 2.6rem; font-weight: 700; line-height: 1; }
.portal-ui .trip-hero .count small { font-size: .9rem; font-weight: 500; color: #cfe0ee; }
.portal-ui .trip-hero a.btn { text-decoration: none; }
/* akcie */
.portal-ui .ev-card { border-top: 5px solid var(--tg-sea) !important; }
.portal-ui .ev-card[data-k="regatta"] { border-top-color: var(--tg-red) !important; }
.portal-ui .ev-card[data-k="training"] { border-top-color: var(--tg-sea) !important; }
.portal-ui .ev-card[data-k="theory"] { border-top-color: var(--tg-sun) !important; }
.portal-ui .ev-card[data-k="lecture"] { border-top-color: var(--tg-green) !important; }
.portal-ui .ev-card h3 { font-weight: 700; color: var(--tg-navy); font-size: 1.05rem; }
.portal-ui .ev-kind { white-space: nowrap; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; }
.portal-ui .ev-kind[data-k="regatta"] { background: #fde4e4; color: #b3191c; }
.portal-ui .ev-kind[data-k="training"] { background: #e2f0fb; color: #0f5f99; }
.portal-ui .ev-kind[data-k="theory"] { background: #fff3cf; color: #8a5a00; }
.portal-ui .ev-kind[data-k="lecture"] { background: #dcf5ea; color: #0b7a4f; }
.portal-ui .ev-filter .btn { padding: .25rem .9rem; }
/* CTA pás dole */
.portal-ui .cta-strip { border-radius: 16px; background: #fff; padding: 1rem 1.25rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap; box-shadow: 0 6px 20px rgba(11, 46, 74, .07); border-left: 6px solid var(--tg-sun); }
.portal-ui .cta-strip .t { font-weight: 700; color: var(--tg-navy); }
.portal-ui .navbar-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.portal-ui .navbar-nav::-webkit-scrollbar { display: none; }
/* portál: žiadne sivé plochy – biela a jemne morská modrá namiesto sivých odtieňov Bootstrapu */
.portal-ui { --bs-body-bg: #ffffff; --bs-tertiary-bg: #f2f8fd; --bs-tertiary-bg-rgb: 242, 248, 253; --bs-secondary-bg: #e8f2fb;
  --bs-secondary-bg-rgb: 232, 242, 251; --bs-light-rgb: 242, 248, 253; --bs-border-color: #dfe8f1; }
.portal-ui .card-header, .portal-ui .card-footer { background: #fff; border-color: #e6eef6; }
.portal-ui .card-header { font-weight: 600; color: var(--tg-navy); }
.portal-ui .bg-light, .portal-ui .bg-body-tertiary { background-color: #f2f8fd !important; }
.portal-ui .table { --bs-table-bg: transparent; --bs-table-striped-bg: #f2f8fd; --bs-table-hover-bg: #eaf3fb; }
.portal-ui .list-group-item { border-color: #e6eef6; }
.portal-ui .alert-light { background: #f2f8fd; border-color: #dceaf6 !important; }
.portal-ui .site-footer { background: transparent; }
/* prihlásenie / registrácia v dizajne portálu */
.portal-ui.auth-page main, .portal-ui.auth-page .container { background: transparent; }
