/* Trip Semporna public site - Sign in, create account, forgot / reset password.
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

/* Sign in / Create account / password pages: one split card. Yellow panel (brand message) + the form side. */
.tsu-wrap { padding-top: 64px; padding-bottom: 16px; }
/* + the page's own 48px below = 64px each side */
.tsu { display: grid; max-width: 1080px; margin: 0 auto; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 1px 2px rgba(12, 12, 12, .04), 0 30px 70px -24px rgba(12, 12, 12, .2); }
@media (min-width: 900px) {
    .tsu { grid-template-columns: .85fr 1.15fr; }
}
.tsu-panel { position: relative; overflow: hidden; isolation: isolate; background: var(--tsp-yellow); color: var(--tsp-black); padding: 40px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.tsu-ring { position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(12, 12, 12, .08); }
.tsu-ring-a { width: 340px; height: 340px; right: -150px; bottom: -130px; background: rgba(255, 255, 255, .22); }
.tsu-ring-b { width: 170px; height: 170px; right: -50px; bottom: -40px; background: rgba(255, 255, 255, .3); }
.tsu-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; align-self: flex-start; }
.tsp .tsu-panel-eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(12, 12, 12, .6); }
.tsp .tsu-panel h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.tsu-panel h2 span { display: inline-block; background: var(--tsp-black); color: var(--tsp-yellow); padding: 0 10px 2px; border-radius: 10px; margin-top: 4px; }
.tsp .tsu-panel-text { margin: 0; max-width: 34ch; font-size: .92rem; }
.tsu-perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.tsu-perks li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .86rem; }
.tsu-perks li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 9px; background: var(--tsp-black); color: var(--tsp-yellow); flex: 0 0 auto; }
@media (max-width: 899px) {
    .tsu-wrap { padding-top: 28px; padding-bottom: 24px; }
    .tsu { border-radius: 22px; }
    .tsu-panel { padding: 22px 22px 24px; gap: 14px; }
    .tsu-logo { height: 36px; }
    .tsu-panel-eyebrow, .tsu-panel-text, .tsu-perks { display: none; }
    .tsp .tsu-panel h2 { font-size: 1.45rem; margin: 0; }
    .tsu-ring-a { width: 260px; height: 260px; right: -110px; bottom: -150px; }
    .tsu-ring-b { width: 120px; height: 120px; right: -30px; bottom: -60px; }
}
.tsu-side { padding: 48px clamp(22px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
@media (max-width: 899px) {
    .tsu-side { padding: 28px 22px 30px; }
}
.tsu-side > .tsp-flash { width: 100%; margin: 0 0 18px; }
.tsu-pane { grid-area: 1 / 1; min-width: 0; }
.tsu-panes { display: grid; position: relative; }
.tsu-panes.is-live .tsu-pane.is-off { position: absolute; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.tsu-panes.is-sizing { overflow: hidden; transition: height .4s cubic-bezier(.2, .8, .2, 1); }
.tsu-panes.is-anim .tsu-pane { transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear 0s; }
.tsu-panes.is-anim .tsu-pane.is-off { transition: opacity .2s ease, transform .3s ease, visibility 0s linear .3s; }
.tsu-panes.is-live .tsu-from-left.is-off { transform: translateX(-28px); }
.tsu-panes.is-live .tsu-from-right.is-off { transform: translateX(28px); }
@media (prefers-reduced-motion: reduce) {
    .tsu-panes.is-anim .tsu-pane { transition: none; }
}
.tsp .tsu-eyebrow { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a7400; }
.tsp .tsu-pane h1 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.tsp .tsu-lead { margin: 0 0 20px; color: var(--tsp-muted); font-size: .95rem; }
.tsu-form { display: grid; gap: 14px; }
.tsu-form .tsu-btn { margin-top: 10px; }
.tsu-fld { display: grid; gap: 7px; margin: 0; min-width: 0; }
.tsu-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .85rem; font-weight: 700; }
.tsu-lbl a { font-weight: 700; font-size: .85rem; }
.tsu-ctl { position: relative; display: flex; align-items: center; }
.tsu-ctl > .tsh-ico { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--tsp-muted); pointer-events: none; }
.tsp .tsu-ctl input { width: 100%; height: 48px; min-height: 48px; padding: 0 16px 0 44px; border: 1.5px solid var(--tsp-line); border-radius: 14px; background: #f9fafc; font-size: 1rem; font-weight: 500; transition: border-color .15s, box-shadow .15s, background .15s; }
.tsp .tsu-ctl input::placeholder { color: #a3a399; }
.tsp .tsu-ctl input:hover { border-color: #cfd0d2; }
.tsp .tsu-ctl input:focus { outline: none; border-color: var(--tsp-yellow); background: #fff; box-shadow: 0 0 0 1.5px #ffe866; }
.tsp .tsu-ctl input[type=password], .tsp .tsu-ctl input.is-shown { padding-right: 52px; }
.tsu-eye { position: absolute; right: 5px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--tsp-muted); display: grid; place-items: center; cursor: pointer; }
.tsu-eye:hover { background: #edeef0; color: var(--tsp-text); }
.tsu-eye .tsh-ico { width: 20px; height: 20px; }
.tsu-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.tsu-meter i { height: 4px; border-radius: 4px; background: var(--tsp-line); transition: background .2s; }
.tsu-fld[data-s="1"] .tsu-meter i:nth-child(-n+1), .tsu-fld[data-s="2"] .tsu-meter i:nth-child(-n+2) { background: #f0a400; }
.tsu-fld[data-s="3"] .tsu-meter i:nth-child(-n+3), .tsu-fld[data-s="4"] .tsu-meter i { background: var(--tsp-green); }
.tsu-hint { font-size: .8rem; color: var(--tsp-muted); }
.tsu-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 20px; cursor: pointer; margin: 0; }
/* Sign in / Create account ticks: the site's box (as checkout): white with a grey line, brand yellow with a black tick when ticked */
.tsu-check input { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 0; padding: 0; border: 1.5px solid #b8bdc6; border-radius: 6px; background: #fff; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.tsu-check input:focus { border-color: #b8bdc6; box-shadow: none; }
/* not the yellow glow of the text fields: it flashed on click */
.tsu-check:hover input { border-color: #8b929d; }
.tsu-check input:checked { border-color: #e6c800; background: #FFDE00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tsu-check:hover input:checked { border-color: #d4b800; }
.tsu-check input:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.tsu-check > span { padding-top: 0; }
/* line-height 20px = the box: the first line sits level with it */
.tsu-check a { font-weight: 700; }
.tsu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--tsp-black); color: var(--tsp-yellow) !important; font-family: inherit; font-size: 1rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tsu-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(12, 12, 12, .45); }
.tsu-btn-yellow { background: var(--tsp-yellow); color: var(--tsp-black) !important; }
.tsu-btn .tsh-ico { width: 18px; height: 18px; }
.tsp .tsu-divider { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; color: var(--tsp-muted); font-size: .85rem; }
.tsu-divider::before, .tsu-divider::after { content: ""; flex: 1; height: 1px; background: var(--tsp-line); }
.tsu-alt { display: flex; align-items: center; justify-content: center; height: 48px; border: 1.5px solid var(--tsp-line); border-radius: 14px; background: #fff; font-weight: 800; text-decoration: none; transition: border-color .15s, background .15s; }
.tsu-alt:hover { border-color: transparent; background: #fff6bf; }
.tsu-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: -8px 0 10px; font-size: .88rem; font-weight: 700; color: var(--tsp-muted) !important; text-decoration: none; }
.tsu-back:hover { color: var(--tsp-text) !important; }
.tsp .tsu-switch { margin: 26px 0 0; text-align: center; font-size: .95rem; }
.tsu-switch a { font-weight: 800; text-decoration: underline; text-decoration-color: var(--tsp-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tsp .tsu-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: .82rem; color: var(--tsp-muted); text-align: center; }
.tsu-trust .tsh-ico { width: 15px; height: 15px; flex: 0 0 auto; }
.tsu-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tsp-yellow); margin-bottom: 14px; }
.tsu-pane > .tsu-btn { margin-top: 4px; }

/* First + last name side by side (Create an account) */
.tsu-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tsu-names .tsu-fld { min-width: 0; }
