body.tripsem-system-page{margin:0;background:#f7f8fb}
/* Trip Semporna private authentication — shared standalone login / recovery UI.
   Scoped intentionally: do not alter booking, payment, or dashboard fields. */
.ots-login.ots-auth{
  min-height:100vh;min-height:100dvh;box-sizing:border-box;
  
  
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#182334;font-size:14px;line-height:1.5;
}
.ots-auth *{box-sizing:border-box}
.ots-login.ots-auth .ots-auth-card{
  width:min(438px,100%);padding:38px 36px 34px;
  border:1px solid #e6e9ee;border-radius:18px;
  background:#fff;box-shadow:0 16px 50px rgba(21,34,58,.065);
}
.ots-login.ots-auth .ots-auth-logo{display:block;width:140px;max-width:56%;height:auto;margin:0 auto;object-fit:contain} /* alpha.431: centred */
.ots-auth-heading{margin-top:26px;margin-bottom:25px;text-align:center} /* alpha.431: centred */
.ots-login.ots-auth .ots-auth-heading h1{font-size:23px;font-weight:750;letter-spacing:-.6px;line-height:1.35;color:#17233a;margin:0 0 6px}
.ots-login.ots-auth .ots-auth-heading p{font-size:13px;font-weight:400;line-height:1.65;color:#778194;margin:0}
.ots-auth-form{display:flex;flex-direction:column;gap:0}
.ots-login.ots-auth .ots-auth-form>label:not(.ots-auth-remember){font-size:12.5px;font-weight:650;line-height:1.5;color:#384455;display:block;margin:0 0 7px}
.ots-login.ots-auth .ots-auth-form input[type="text"],
.ots-login.ots-auth .ots-auth-form input[type="password"]{
  appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;
  height:46px;line-height:1.3;margin:0 0 18px;padding:0 14px;
  background:#fff;color:#182334;border:1px solid #dde2e9;border-radius:9px;
  box-shadow:none;outline:none;font-family:inherit;font-size:13.5px;font-weight:500;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.ots-auth-form input::placeholder{color:#a0a8b3!important;opacity:1;font-weight:400}
.ots-login.ots-auth .ots-auth-form input:focus-visible,
.ots-login.ots-auth .ots-auth-form .ots-auth-password:focus-within{
  outline:none;border-color:#d9dce1;box-shadow:0 0 0 3px rgba(100,100,100,.085);
}
.ots-login.ots-auth .ots-auth-password{
  display:flex;align-items:center;height:46px;min-width:0;margin:0 0 18px;
  border:1px solid #dde2e9;border-radius:9px;background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.ots-login.ots-auth .ots-auth-password input[type="password"],
.ots-login.ots-auth .ots-auth-password input[type="text"]{
  width:100%;height:44px;min-width:0;flex:1;padding:0 0 0 14px;
  border:0;outline:0;box-shadow:none;margin:0;background:transparent;
}
.ots-auth-password button{
  flex:none;background:transparent;border:0;padding:10px 13px;cursor:pointer;
  font:600 12px Inter,system-ui,sans-serif;color:#6e7887;
}
.ots-auth-password button:hover{color:#111111}
.ots-auth-options{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 23px}
.ots-login.ots-auth .ots-auth-remember{display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer;color:#596576;font-size:12.5px;font-weight:500}
.ots-login.ots-auth .ots-auth-remember input{
  appearance:auto;-webkit-appearance:checkbox;width:16px;height:16px;accent-color:#0c0c0c;cursor:pointer;
  margin:0;flex:none;
}
.ots-auth-options a,.ots-auth-back{color:#111111;text-decoration:none;font-size:12.5px;font-weight:650}
.ots-auth-options a:hover,.ots-auth-back:hover{text-decoration:underline}
.ots-login.ots-auth .ots-auth-submit{
  width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:9px;
  padding:11px 16px;margin:0;border:0;border-radius:9px;
  background:#ffde00;color:#0c0c0c;cursor:pointer;
  font:700 13px Inter,system-ui,sans-serif;
  transition:background .16s ease,transform .16s ease;
}
.ots-auth-submit span{font-size:18px;font-weight:400;line-height:1}
.ots-auth-submit:hover{background:#ffde00;color:#0c0c0c}
.ots-auth-submit:active{transform:translateY(1px)}
.ots-auth-submit:focus-visible,.ots-auth-options a:focus-visible,.ots-auth-back:focus-visible,.ots-auth-password button:focus-visible{
  outline:3px solid rgba(100,100,100,.3);outline-offset:3px;
}
.ots-auth-back{display:block;text-align:center;margin-top:23px}
.ots-auth-notice{margin:-3px 0 21px;padding:12px 14px;border:1px solid #d9dce1;border-radius:9px;background:#f0f1f3;color:#111111;font-size:12.5px;line-height:1.55;font-weight:500}
.ots-auth-notice.is-success{border-color:#bbdfce;background:#f1faf5;color:#23754b}
@media(max-width:480px){
  /* alpha.431: more room left and right (was 13px) */
 .ots-login.ots-auth .ots-auth-card{padding:29px 23px 30px;border-radius:15px}
 .ots-login.ots-auth .ots-auth-logo{width:131px!important}
 .ots-auth-heading{margin-top:23px;margin-bottom:22px}
 .ots-login.ots-auth .ots-auth-heading h1{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.ots-auth *{transition:none!important}}

/* alpha.431: the login as an app screen — a red header with layered, gently moving waves and the app icon, and the
   form on a white sheet with rounded top corners. Full screen on phones; a phone-sized frame on larger screens.
   The waves are decoration only (no clicks, hidden from screen readers) and stay still when motion is turned off. */
.ots-login.ots-auth{position:relative;overflow:hidden;isolation:isolate;display:grid;place-items:center;padding:28px 18px;background:radial-gradient(ellipse at 50% 0%,#f0f1f3 0%,rgba(100,100,100,0) 60%),#f6f4f3}
.ots-app-frame{position:relative;width:min(420px,100%);border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 2px 6px rgba(100,100,100,.06),0 30px 80px rgba(100,100,100,.16)}
.ots-app-hero{position:relative;height:250px;padding-top:44px;text-align:center;color:#0c0c0c;background:linear-gradient(160deg,#ffde00 0%,#ffde00 45%,#ffde00 100%);overflow:hidden}
.ots-app-hero::before{content:"";position:absolute;inset:-40% -20% auto;height:120%;background:radial-gradient(circle at 50% 60%,rgba(255,255,255,.18),rgba(255,255,255,0) 55%)}
.ots-app-icon{position:relative;display:block;width:68px;height:68px;margin:0 auto 12px;border-radius:18px;box-shadow:0 0 0 3px rgba(255,255,255,.22),0 10px 24px rgba(100,100,100,.28)}
.ots-app-name{position:relative;display:block;font-size:19px;font-weight:800;letter-spacing:-.2px;color:#fff}
.ots-hero-waves{position:absolute;left:0;bottom:-1px;width:200%;height:96px;animation:ots-waves 14s linear infinite}
.ots-hero-waves .w1{fill:rgba(255,255,255,.14)}
.ots-hero-waves .w2{fill:rgba(255,255,255,.22);animation:ots-bob 5s ease-in-out infinite}
.ots-hero-waves .w3{fill:#fff;animation:ots-bob 6.5s ease-in-out infinite -2s}
.ots-hero-waves path{transform-box:fill-box}
.ots-login.ots-auth .ots-app-frame .ots-auth-card{position:relative;z-index:1;width:100%;margin-top:-6px;padding:6px 30px 34px;border:0;border-radius:0;background:#fff;box-shadow:none}
.ots-login.ots-auth .ots-app-frame .ots-auth-logo{display:none}
.ots-login.ots-auth .ots-app-frame .ots-auth-heading{margin-top:4px}
@keyframes ots-waves{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes ots-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
@media(max-width:560px){
 .ots-login.ots-auth{display:block;padding:0;background:#fff}
 .ots-app-frame{width:100%;min-height:100vh;min-height:100dvh;border-radius:0;box-shadow:none}
 .ots-app-hero{height:calc(230px + env(safe-area-inset-top));padding-top:calc(40px + env(safe-area-inset-top))}
 .ots-login.ots-auth .ots-app-frame .ots-auth-card{padding:6px 22px calc(30px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.ots-hero-waves,.ots-hero-waves path{animation:none!important}}

/* alpha.431: opening animation (about 2.3 s, once per browser session, a tap skips it, none with reduced motion).
   0 s     red waves roll in from the top and from the bottom, each layer a different red
   0.55 s  they meet in the middle; the app icon pops in between them
   1.35 s  the waves part in two — the top half up, the bottom half down — showing the login
   1.6 s   the white sheet's title, fields and button follow one by one */
.ots-intro{display:none}
.ots-auth.is-intro .ots-intro{display:block;position:fixed;inset:0;z-index:30;overflow:hidden;cursor:pointer;background:#fff;animation:ots-intro-clear .15s linear 1.38s forwards,ots-intro-gone 0s linear 2.3s forwards}
@keyframes ots-intro-clear{to{background-color:rgba(255,255,255,0)}}
.ots-intro-half{position:absolute;left:0;right:0;height:56%;background:linear-gradient(180deg,#ffde00 0%,#ffde00 55%,#ffde00 100%);will-change:transform}
.ots-intro-half.is-top{top:0;transform:translateY(-105%);animation:ots-in-top .6s cubic-bezier(.22,1,.36,1) forwards,ots-out-top .8s cubic-bezier(.76,0,.24,1) 1.35s forwards}
.ots-intro-half.is-bottom{bottom:0;background:linear-gradient(0deg,#ffde00 0%,#ffde00 55%,#ffde00 100%);transform:translateY(105%);animation:ots-in-bottom .6s cubic-bezier(.22,1,.36,1) .05s forwards,ots-out-bottom .8s cubic-bezier(.76,0,.24,1) 1.35s forwards}
.ots-intro-wave{position:absolute;left:0;width:200%;height:110px;animation:ots-waves 2.4s linear infinite}
.ots-intro-half.is-top .ots-intro-wave{top:100%;margin-top:-2px;transform-origin:center;scale:1 -1}
.ots-intro-half.is-bottom .ots-intro-wave{bottom:100%;margin-bottom:-2px;animation-direction:reverse}
.ots-intro-wave .w1{fill:#ffde00}
.ots-intro-wave .w2{fill:#ffde00}
.ots-intro-wave .w3{fill:#ffde00}
.ots-intro-half.is-top .ots-intro-wave .w3{fill:#ffde00}
.ots-intro-half.is-bottom .ots-intro-wave .w3{fill:#ffde00}
.ots-intro-icon{position:absolute;left:50%;top:50%;width:92px;height:92px;margin:-46px 0 0 -46px;border-radius:24px;box-shadow:0 0 0 6px rgba(255,255,255,.25),0 18px 40px rgba(100,100,100,.35);transform:scale(.3);opacity:0;animation:ots-icon-in .55s cubic-bezier(.34,1.56,.64,1) .5s forwards,ots-icon-out .45s cubic-bezier(.4,0,.2,1) 1.3s forwards}
@keyframes ots-in-top{to{transform:translateY(0)}}
@keyframes ots-in-bottom{to{transform:translateY(0)}}
@keyframes ots-out-top{from{transform:translateY(0)}to{transform:translateY(-112%)}}
@keyframes ots-out-bottom{from{transform:translateY(0)}to{transform:translateY(112%)}}
@keyframes ots-icon-in{to{transform:scale(1);opacity:1}}
@keyframes ots-icon-out{from{transform:scale(1);opacity:1}to{transform:scale(1.25);opacity:0}}
@keyframes ots-intro-gone{to{visibility:hidden;pointer-events:none}}
/* what shows after the waves part */
.ots-auth.is-intro .ots-app-hero .ots-app-icon,.ots-auth.is-intro .ots-app-hero .ots-app-name{animation:ots-item-in .6s cubic-bezier(.22,1,.36,1) 1.5s both}
.ots-auth.is-intro .ots-auth-card>*,.ots-auth.is-intro .ots-auth-form>*{animation:ots-item-in .55s cubic-bezier(.22,1,.36,1) both}
.ots-auth.is-intro .ots-auth-heading{animation-delay:1.62s}
.ots-auth.is-intro .ots-auth-form>*:nth-child(-n+3){animation-delay:1.7s}
.ots-auth.is-intro .ots-auth-form>*:nth-child(n+4){animation-delay:1.78s}
.ots-auth.is-intro .ots-auth-form>*:nth-child(n+6){animation-delay:1.86s}
.ots-auth.is-intro .ots-auth-form>*:nth-child(n+7){animation-delay:1.94s}
@keyframes ots-item-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ots-intro{display:none!important}.ots-auth.is-intro .ots-auth-card>*,.ots-auth.is-intro .ots-auth-form>*,.ots-auth.is-intro .ots-app-icon,.ots-auth.is-intro .ots-app-name{animation:none!important}}

/* Trip Semporna theme */
.ots-app-hero{background:#ffde00;color:#0c0c0c}
.ots-app-name{color:#0c0c0c}
.ots-intro-half,.ots-intro-half.is-bottom{background:#ffde00}
.ots-intro-wave .w1{fill:#fff09a}.ots-intro-wave .w2{fill:#ffe95c}.ots-intro-wave .w3,.ots-intro-half.is-top .ots-intro-wave .w3,.ots-intro-half.is-bottom .ots-intro-wave .w3{fill:#ffde00}
.ots-intro-icon,.ots-app-icon{box-shadow:none}
