.tn-account, .tn-account__dialog { --account-ink: #182b38; --account-muted: #536271; --account-accent: #2352d9; font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; color: var(--account-ink); box-sizing: border-box; }
.tn-account { max-width: 760px; margin: clamp(32px, 6vw, 72px) auto; padding: 0 24px; }
.tn-account *, .tn-account__dialog * { box-sizing: border-box; }
.tn-account [hidden], .tn-account__dialog [hidden] { display: none !important; }
.tn-account__header { margin-bottom: 30px; text-align: center; }
.tn-account__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a681a; }
.tn-account__eyebrow span { margin: 0 10px; color: #b5a887; }
.tn-account h1 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; color: var(--account-ink); }
.tn-account__lead { max-width: 560px; margin: auto; font-size: 15px; line-height: 1.8; color: var(--account-muted); }
.tn-account__card { max-width: 540px; margin: auto; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid #e3e7ec; border-radius: 24px; box-shadow: 0 18px 55px #162c4510; }
.tn-account h2, .tn-account__dialog h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--account-ink); }
.tn-account__hint { margin: 0 0 22px; color: var(--account-muted); font-size: 13px; line-height: 1.7; }
.tn-account__form { display: grid; gap: 18px; margin: 0; }
.tn-account__field { display: grid; gap: 8px; margin: 0 0 18px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--account-ink); }
.tn-account__form > .tn-account__field { margin-bottom: 0; }
.tn-account__field input { display: block; width: 100%; min-height: 48px; border: 1px solid #cbd3dc; border-radius: 10px; background: #fbfcfe; padding: 12px 14px; font: inherit; font-size: 16px; font-weight: 400; color: #182b38; }
.tn-account__field input:focus { border-color: #2352d9; background: #fff; }
.tn-account__button { width: 100%; min-height: 50px; display: flex; justify-content: center; align-items: center; gap: 14px; padding: 13px 20px; border: 1px solid transparent; border-radius: 12px; background: var(--account-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tn-account__button:hover { background: #173fbc; color: #fff; }
.tn-account__button:disabled { opacity: .6; cursor: wait; }
.tn-account__button--secondary { background: #fff; color: var(--account-ink); border-color: #cbd3dc; }
.tn-account__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #e7ebf0; }
.tn-account__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #254aad; font-size: 12px; font-weight: 600; text-decoration: none; }
.tn-account__links a:hover { text-decoration: underline; }
.tn-account__links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }
.tn-account__dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; padding: 32px; border: 1px solid #e0e5eb; border-radius: 24px; background: #fff; box-shadow: 0 30px 100px #101e3540; }
.tn-account__dialog::backdrop { background: #122335a6; backdrop-filter: blur(4px); }
.tn-account__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f1f4f8; color: #273b4a; font-size: 28px; cursor: pointer; }
.tn-account__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tn-account__consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: 12px; line-height: 1.6; color: var(--account-muted); }
.tn-account__consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: #2352d9; }
.tn-account__consent a { color: #254aad; text-decoration: underline; }
.tn-account__status { margin: 0 0 16px; padding: 16px; border-radius: 10px; background: #eef4fd; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.tn-account__status.is-error { color: #8f2424; background: #fff0f0; border: 1px solid #efcaca; }
.tn-account__status.is-success { color: #195b42; background: #eaf6ef; border: 1px solid #c1e2ce; }
.tn-account__guest { margin: 28px auto 0; max-width: 640px; border-top: 1px solid #dce2e9; padding-top: 24px; font-size: 14px; line-height: 1.7; }
.tn-account__guest > summary { cursor: pointer; font-weight: 600; min-height: 44px; }
.tn-account__guest .tn-booking-checkout { padding: 0; margin: 24px 0; width: 100%; }
.tn-account__profile { margin: 24px 0; }
.tn-account__profile div { padding: 12px 0; border-bottom: 1px solid #e7ebf0; }
.tn-account__profile dt { font-size: 12px; color: var(--account-muted); }
.tn-account__profile dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.tn-account :focus-visible, .tn-account__dialog :focus-visible { outline: 3px solid #7c9aff; outline-offset: 3px; }
.tn-account--dashboard { max-width: 1180px; }
.tn-account--dashboard .tn-account__header { text-align: left; }
.tn-account--dashboard .tn-account__lead { margin-left: 0; }
.tn-account__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; }
.tn-account__sidebar { padding: 12px; border: 1px solid #e3e7ec; border-radius: 20px; background: #f8f9fc; }
.tn-account__nav { display: grid; gap: 8px; margin-bottom: 28px; }
.tn-account__nav a { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border-radius: 10px; color: var(--account-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.tn-account__nav a[aria-current="page"] { background: #fff; color: #2352d9; box-shadow: 0 3px 12px #182b380c; border-left: 3px solid #bd9846; }
.tn-account__nav a:hover { background: #edf1fa; }
.tn-account__nav-icon { width: 20px; color: #8a681a; font-size: 22px; }
.tn-account__content { max-width: none; width: 100%; min-width: 0; margin: 0; }
.tn-account__phone { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #e3e7ec; }
.tn-account__phone .tn-account__form + .tn-account__form { margin-top: 28px; }
.tn-account__booking-list { display: grid; gap: 20px; }
.tn-account__booking { padding: 24px 0 4px; border-top: 1px solid #e3e7ec; overflow-wrap: anywhere; }
.tn-account__booking-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.tn-account__booking h3 { font-size: 20px; margin: 0; color: var(--account-ink); }
.tn-account__badge { font-size: 11px; font-weight: 600; padding: 6px 10px; background: #eef2fa; border-radius: 20px; }
.tn-account__booking-reference { color: var(--account-muted); font-size: 12px; margin: 12px 0 20px; }
.tn-account__booking-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.tn-account__booking-details dt { font-size: 11px; color: var(--account-muted); }
.tn-account__booking-details dd { font-size: 14px; font-weight: 600; margin: 6px 0 0; }
@media (max-width: 760px) { .tn-account__layout { grid-template-columns: 1fr; gap: 20px; } .tn-account__nav { grid-template-columns: 1fr 1fr; margin-bottom: 12px; } .tn-account__nav a { padding: 12px 8px; font-size: 12px; } .tn-account__booking-details { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tn-account { padding: 0 16px; } .tn-account__dialog { padding: 24px 20px; } .tn-account__row { grid-template-columns: 1fr; gap: 0; } .tn-account__links { flex-direction: column; gap: 2px; } }
