/* ==========================================================================
   Porto Malls Retail OS: Porto seascape login
   A living Porto destination (sky, sun, clouds, waves, a boat) with the
   white wallet pass floating on it. Each destination recolours the coast.
   Scoped to pages that carry the Odoo login container.
   ========================================================================== */

@property --sky-top { syntax: "<color>"; inherits: true; initial-value: #7FD3F2; }
@property --sky-low { syntax: "<color>"; inherits: true; initial-value: #D6F3FB; }
@property --sun { syntax: "<color>"; inherits: true; initial-value: #FFD23F; }
@property --sea-far { syntax: "<color>"; inherits: true; initial-value: #3BC6D9; }
@property --sea-mid { syntax: "<color>"; inherits: true; initial-value: #13A9C4; }
@property --sea-near { syntax: "<color>"; inherits: true; initial-value: #0A86A6; }
@property --deep { syntax: "<color>"; inherits: true; initial-value: #0A7E95; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #FFC93C; }
@property --sky-ink { syntax: "<color>"; inherits: true; initial-value: #0D2433; }

:root {
    --pw-ink: #171717;
    --pw-ink-2: #4A5250;
    --pw-ink-3: #737B79;
    --pw-field: #F3F6F6;
    --pw-line: #DCE3E2;
    --pw-red: #ED1C24;
    --pw-indigo: #5A52D6;
    --pw-font: "Inter", "Segoe UI", system-ui, sans-serif;
    --pw-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    --pw-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --pw-swap: 1100ms;
}

/* --------------------------------------------------------------------------
   Destination palettes
   -------------------------------------------------------------------------- */
.oe_website_login_container,
.oe_website_login_container[data-dest="marina"] {
    --sky-top: #7FD3F2; --sky-low: #D6F3FB; --sun: #FFD23F;
    --sea-far: #3BC6D9; --sea-mid: #13A9C4; --sea-near: #0A86A6;
    --deep: #0A7E95; --accent: #FFC93C; --sky-ink: #0D2433;
}
.oe_website_login_container[data-dest="golf"] {
    --sky-top: #8FD6F2; --sky-low: #E6F7EC; --sun: #FFE066;
    --sea-far: #9BD46E; --sea-mid: #6DBE57; --sea-near: #46A046;
    --deep: #137A68; --accent: #FFD45C; --sky-ink: #0F2A24;
}
.oe_website_login_container[data-dest="residence"] {
    --sky-top: #8EC5FF; --sky-low: #DDEEFF; --sun: #FFC85A;
    --sea-far: #5AB3F0; --sea-mid: #2F8FDB; --sea-near: #1D6FBF;
    --deep: #1C5FAE; --accent: #FF8F5A; --sky-ink: #0F2140;
}
.oe_website_login_container[data-dest="grande"] {
    --sky-top: #FFC48A; --sky-low: #FFE9C9; --sun: #FF6B3D;
    --sea-far: #7BE3EF; --sea-mid: #34C9DE; --sea-near: #12A6C6;
    --deep: #0E7486; --accent: #ED1C24; --sky-ink: #3A1A08;
}
.oe_website_login_container[data-dest="matrouh"] {
    --sky-top: #86E3F0; --sky-low: #E4FAFC; --sun: #FFE27A;
    --sea-far: #4FDCD9; --sea-mid: #1FC2C7; --sea-near: #0D9FAC;
    --deep: #0B8794; --accent: #FFB23F; --sky-ink: #0B2C30;
}
.oe_website_login_container[data-dest="sokhna"] {
    --sky-top: #FF9A6B; --sky-low: #FFD9B0; --sun: #FFE08A;
    --sea-far: #5C8FD0; --sea-mid: #3A6FB8; --sea-near: #244F92;
    --deep: #22457F; --accent: #FF6B4A; --sky-ink: #3A1208;
}
.oe_website_login_container[data-dest="southbeach"] {
    --sky-top: #FFD36B; --sky-low: #FFF1C4; --sun: #FF8A3D;
    --sea-far: #49B9D3; --sea-mid: #1F9BC0; --sea-near: #10789E;
    --deep: #0F6C8E; --accent: #FF7A59; --sky-ink: #3A2405;
}
.oe_website_login_container[data-dest="sharm"] {
    --sky-top: #127FAE; --sky-low: #0A4D7A; --sun: #FFE066;
    --sea-far: #E9CF94; --sea-mid: #DDB978; --sea-near: #C99F5E;
    --deep: #0B5C80; --accent: #FFD23F; --sky-ink: #FFFFFF;
}
.oe_website_login_container[data-dest="said"] {
    --sky-top: #A9D2FF; --sky-low: #E6F2FF; --sun: #FFD24D;
    --sea-far: #6AA6E6; --sea-mid: #4686D3; --sea-near: #2B63AE;
    --deep: #2B5AA0; --accent: #ED1C24; --sky-ink: #0F2140;
}
.oe_website_login_container[data-dest="minya"] {
    --sky-top: #F7C77E; --sky-low: #FDEBC6; --sun: #FF8C42;
    --sea-far: #5DBB98; --sea-mid: #379E7E; --sea-near: #1F7A60;
    --deep: #1F6E5B; --accent: #E2562E; --sky-ink: #33200A;
}
.oe_website_login_container[data-dest="capital"] {
    --sky-top: #2E2A8F; --sky-low: #8F84FF; --sun: #FFC93C;
    --sea-far: #4A44B8; --sea-mid: #3B35A8; --sea-near: #2C2780;
    --deep: #2E2A8F; --accent: #FFC93C; --sky-ink: #FFFFFF;
}

.oe_website_login_container {
    transition:
        --sky-top var(--pw-swap) var(--pw-ease), --sky-low var(--pw-swap) var(--pw-ease),
        --sun var(--pw-swap) var(--pw-ease), --sea-far var(--pw-swap) var(--pw-ease),
        --sea-mid var(--pw-swap) var(--pw-ease), --sea-near var(--pw-swap) var(--pw-ease),
        --deep var(--pw-swap) var(--pw-ease), --accent var(--pw-swap) var(--pw-ease),
        --sky-ink var(--pw-swap) var(--pw-ease);
}

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */
body:has(.oe_website_login_container) {
    margin: 0;
    min-height: 100vh;
    background: #0A86A6;
    color: var(--pw-ink);
    font-family: var(--pw-font);
    -webkit-font-smoothing: antialiased;
}

body:has(.oe_website_login_container) header#top,
body:has(.oe_website_login_container) footer#bottom,
body:has(.oe_website_login_container) #o_shared_blocks,
body:has(.oe_website_login_container) .o_main_navbar,
body:has(.oe_website_login_container) .o_brand_promotion,
body:has(.oe_website_login_container) .o_footer_copyright {
    display: none !important;
}

body:has(.oe_website_login_container) #wrapwrap,
body:has(.oe_website_login_container) main {
    min-height: 100vh;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

body:has(.oe_website_login_container) ::selection {
    background: var(--pw-ink);
    color: #FFFFFF;
}

.oe_website_login_container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-rows: auto 1fr auto auto;
    column-gap: clamp(32px, 5vw, 96px);
    min-height: 100vh;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px clamp(24px, 5vw, 80px) 20px !important;
    overflow: hidden;
    isolation: isolate;
}

/* Website drop zones and helper components stay out of the grid. */
.oe_website_login_container:has(.ps-scene) > :not(.ps-scene):not(.ps-bar):not(.ps-hero):not(.ps-dest):not(.ps-foot):not(form) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.ps-bar { grid-column: 1 / -1; grid-row: 1; }
.ps-hero { grid-column: 1; grid-row: 2; }
.ps-dest { grid-column: 1; grid-row: 3; }
.ps-foot { grid-column: 1 / -1; grid-row: 4; }
.oe_website_login_container:has(.ps-scene) > form { grid-column: 2; grid-row: 2 / 4; }

.ps-bar, .ps-hero, .ps-dest, .ps-foot, .oe_website_login_container > form { position: relative; z-index: 2; }

/* Pages without the scene (reset password, signup) centre the pass. */
.oe_website_login_container:not(:has(.ps-scene)) {
    display: grid;
    grid-template-columns: minmax(0, 420px);
    grid-template-rows: auto;
    justify-content: center;
    align-content: center;
    background: linear-gradient(var(--sky-top), var(--sky-low) 55%, var(--sea-mid) 55%, var(--sea-near));
}

/* --------------------------------------------------------------------------
   The scene
   -------------------------------------------------------------------------- */
.ps-scene {
    --px: 0;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ps-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-low) 60%);
}

.ps-sun {
    position: absolute;
    left: 50%;
    top: 30%;
    width: clamp(110px, 11vw, 170px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 0 18px color-mix(in srgb, var(--sun) 22%, transparent), 0 0 0 40px color-mix(in srgb, var(--sun) 10%, transparent);
    translate: calc(var(--px) * -18px) 0;
    animation: ps-sun-rise 2.4s var(--pw-ease) both;
}

@keyframes ps-sun-rise {
    from { transform: translateY(60%); }
    to { transform: translateY(0); }
}

.ps-cloud {
    position: absolute;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    animation: ps-drift linear infinite;
}

.ps-cloud::before,
.ps-cloud::after {
    content: "";
    position: absolute;
    bottom: 12px;
    border-radius: 50%;
    background: inherit;
}

.ps-cloud::before { left: 18%; width: 44%; aspect-ratio: 1; }
.ps-cloud::after { left: 46%; width: 34%; aspect-ratio: 1; }

.ps-cloud--1 { top: 12%; width: 170px; animation-duration: 95s; animation-delay: -20s; }
.ps-cloud--2 { top: 22%; width: 120px; opacity: 0.8; animation-duration: 120s; animation-delay: -70s; }
.ps-cloud--3 { top: 7%; width: 220px; opacity: 0.7; animation-duration: 140s; animation-delay: -110s; }

@keyframes ps-drift {
    from { transform: translateX(-30vw); }
    to { transform: translateX(130vw); }
}

.ps-sea {
    position: absolute;
    left: 0;
    right: 0;
    top: 56%;
    bottom: 0;
}

/* the far water (or ground) under the horizon sets */
.ps-sea::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40%;
    background: linear-gradient(180deg, var(--horizon), color-mix(in srgb, var(--horizon) 80%, var(--sea-far)));
}

.ps-wave {
    position: absolute;
    left: 0;
    width: 200%;
    top: 0;
    bottom: 0;
    animation: ps-roll linear infinite;
}

.ps-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ps-wave--far { animation-duration: 46s; translate: calc(var(--px) * -10px) 0; }
.ps-wave--far path { fill: var(--sea-far); }
.ps-wave--mid { top: 9%; animation-duration: 30s; translate: calc(var(--px) * -22px) 0; }
.ps-wave--mid path { fill: var(--sea-mid); }
.ps-wave--near { top: 30%; animation-duration: 19s; translate: calc(var(--px) * -40px) 0; }
.ps-wave--near path { fill: var(--sea-near); }

@keyframes ps-roll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ps-boat {
    position: absolute;
    left: 22%;
    top: calc(9% - 46px);
    width: 64px;
    height: 64px;
    translate: calc(var(--px) * -22px) 0;
    animation: ps-bob 5.5s ease-in-out infinite;
    transform-origin: 50% 80%;
}

.ps-boat svg { width: 100%; height: 100%; display: block; }
.ps-boat__sail { fill: #FFFFFF; }
.ps-boat__jib { fill: var(--accent); }
.ps-boat__hull { fill: var(--pw-ink); }

@keyframes ps-bob {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(6px) rotate(3deg); }
}

/* --------------------------------------------------------------------------
   Brand bar with animated logos
   -------------------------------------------------------------------------- */
.ps-bar {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 22px 10px 24px;
    background: #FFFFFF;
    border-radius: 999px;
    box-shadow: 0 10px 30px -12px rgba(10, 40, 60, 0.35);
}

.ps-bar__rule {
    width: 1px;
    height: 26px;
    background: var(--pw-line);
}

.ps-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
}

.ps-logo:focus-visible {
    outline: 2px solid var(--pw-ink);
    outline-offset: 4px;
}

/* Logos replay on load and on hover: JS toggles .is-anim. Without it they simply show. */

/* Amer: the letters rise one by one, a comet runs the swoosh, the star bursts */
.ps-amer {
    position: relative;
    display: block;
    width: 95px;
    height: 26px;
}

.ps-amer__l {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ps-amer__l--1 { clip-path: inset(0 71.4% 0 0); }
.ps-amer__l--2 { clip-path: inset(0 43.3% 0 28.6%); }
.ps-amer__l--3 { clip-path: inset(0 21.7% 0 56.7%); }
.ps-amer__l--4 { clip-path: inset(0 0 0 78.3%); }

.is-anim .ps-amer__l { animation: amer-rise 720ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.is-anim .ps-amer__l--2 { animation-delay: 90ms; }
.is-anim .ps-amer__l--3 { animation-delay: 180ms; }
.is-anim .ps-amer__l--4 { animation-delay: 270ms; }

@keyframes amer-rise {
    from { opacity: 0; transform: translateY(70%) rotate(-8deg); }
    to { opacity: 1; transform: none; }
}

.ps-amer__comet {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.ps-amer__comet path {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 18 200;
    stroke-dashoffset: 18;
    opacity: 0;
    filter: drop-shadow(0 0 4px #FFD23F);
}

.is-anim .ps-amer__comet path { animation: amer-comet 760ms cubic-bezier(0.45, 0, 0.3, 1) 560ms both; }

@keyframes amer-comet {
    0% { stroke-dashoffset: 18; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { stroke-dashoffset: -100; opacity: 0; }
}

.ps-amer__star,
.ps-amer__ring {
    position: absolute;
    left: 24.4%;
    top: 12.6%;
    translate: -50% -50%;
    pointer-events: none;
}

.ps-amer__star {
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.2 4.8L12 6 7.2 7.2 6 12 4.8 7.2 0 6l4.8-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.2 4.8L12 6 7.2 7.2 6 12 4.8 7.2 0 6l4.8-1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 3px rgba(237, 28, 36, 0.9));
    opacity: 0;
}

.is-anim .ps-amer__star { animation: amer-burst 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 1250ms both, amer-glint 4.2s ease-in-out 2.6s infinite; }

@keyframes amer-burst {
    0% { opacity: 0; transform: scale(0) rotate(-90deg); }
    50% { opacity: 1; transform: scale(1.7) rotate(20deg); }
    100% { opacity: 0; transform: scale(0.6) rotate(45deg); }
}

@keyframes amer-glint {
    0%, 72%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
    82% { opacity: 1; transform: scale(1.1) rotate(45deg); }
    92% { opacity: 0; transform: scale(0.4) rotate(90deg); }
}

.ps-amer__ring {
    width: 10px;
    height: 10px;
    border: 2px solid #ED1C24;
    border-radius: 50%;
    opacity: 0;
}

.is-anim .ps-amer__ring { animation: amer-ring 700ms ease-out 1300ms both; }

@keyframes amer-ring {
    from { opacity: 0.9; transform: scale(0.3); }
    to { opacity: 0; transform: scale(3.4); }
}

/* Porto Malls: the mark fills like a rising tide, then the sea keeps lapping in "Malls" */
.ps-logo--porto {
    width: 66px;
    height: 40px;
}

.ps-porto {
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-mask: url("../img/brand/porto_malls_white.png") center / contain no-repeat;
    mask: url("../img/brand/porto_malls_white.png") center / contain no-repeat;
}

.ps-porto__ink,
.ps-porto__tide {
    position: absolute;
    left: 0;
    right: 0;
    top: -14%;
    height: 128%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6 V100 H0Z'/%3E%3C/svg%3E") 0 0 / 22px 100% repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q10 0 20 6 T40 6 V100 H0Z'/%3E%3C/svg%3E") 0 0 / 22px 100% repeat-x;
}

.ps-porto__ink { background: var(--pw-ink); }
.ps-porto__tide { background: var(--deep); transform: translateY(58%); }

.is-anim .ps-porto__ink { animation: porto-fill 1100ms cubic-bezier(0.3, 0.7, 0.2, 1) 250ms both, porto-lap 1.4s linear infinite; }
.is-anim .ps-porto__tide { animation: porto-tide 1400ms cubic-bezier(0.3, 0.7, 0.2, 1) 1100ms both, porto-slosh 3.2s ease-in-out 2.5s infinite, porto-lap 1.1s linear infinite; }

@keyframes porto-fill {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes porto-tide {
    0% { transform: translateY(100%); }
    55% { transform: translateY(8%); }
    100% { transform: translateY(58%); }
}

@keyframes porto-slosh {
    0%, 100% { transform: translateY(58%); }
    50% { transform: translateY(52%); }
}

@keyframes porto-lap {
    from { -webkit-mask-position: 0 0; mask-position: 0 0; }
    to { -webkit-mask-position: 22px 0; mask-position: 22px 0; }
}

/* Quantumania: the badge outline draws, then the cube's faces fly in and lock */
.ps-logo--qm {
    gap: 9px;
    font-family: var(--pw-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--pw-ink);
}

.ps-qm {
    display: block;
    width: 32px;
    height: 32px;
    overflow: visible;
}

.ps-qm__line {
    fill: none;
    stroke: rgba(220, 216, 255, 0.7);
    stroke-width: 6;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.is-anim .ps-qm__fill { animation: qm-pop 600ms cubic-bezier(0.2, 0.9, 0.3, 1.3) both; transform-origin: 256px 256px; }
.is-anim .ps-qm__line { animation: qm-draw 1100ms cubic-bezier(0.6, 0, 0.2, 1) 50ms both; }
.is-anim .ps-qm__face { animation: qm-face 950ms cubic-bezier(0.16, 0.9, 0.3, 1.12) both; }
.ps-qm__face--top { --fx: 0px; --fy: -86px; }
.ps-qm__face--left { --fx: -74px; --fy: 43px; }
.ps-qm__face--right { --fx: 74px; --fy: 43px; }
.ps-qm__face--tail { --fx: -40px; --fy: -23px; }
.is-anim .ps-qm__face--top { animation-delay: 550ms; }
.is-anim .ps-qm__face--left { animation-delay: 680ms; }
.is-anim .ps-qm__face--right { animation-delay: 810ms; }
.is-anim .ps-qm__face--tail { animation-delay: 1150ms; animation-duration: 600ms; }

@keyframes qm-pop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: none; }
}

@keyframes qm-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes qm-face {
    from { opacity: 0; transform: translate(var(--fx), var(--fy)); }
    to { opacity: 1; transform: translate(0, 0); }
}

.is-anim .ps-logo--qm > span,
.ps-logo--qm.is-anim > span { animation: ps-rise 700ms var(--pw-ease) 900ms both; }

@keyframes ps-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ps-bar__time {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding-left: 18px;
    border-left: 1px solid var(--pw-line);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pw-ink-3);
}

.ps-bar__time time {
    font-family: var(--pw-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--pw-ink);
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Hero, destinations, foot
   -------------------------------------------------------------------------- */
.ps-hero {
    align-self: center;
    max-width: 760px;
    padding: 32px 0 24px;
    color: var(--sky-ink);
}

.ps-hero__title {
    margin: 0;
    font-family: var(--pw-display);
    font-weight: 800;
    font-size: clamp(48px, 5.8vw, 92px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--sky-ink);
    text-wrap: balance;
}

.ps-hero__lede {
    max-width: 44ch;
    margin: 22px 0 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: color-mix(in srgb, var(--sky-ink) 82%, transparent);
}

.ps-dest {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 780px;
    padding: 18px 0 10px;
}

.ps-buoy {
    --dot: var(--deep);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px 9px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--pw-ink);
    font-family: var(--pw-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px -8px rgba(5, 30, 50, 0.5);
    transition: transform 220ms var(--pw-ease), background-color 220ms var(--pw-ease), color 220ms var(--pw-ease);
}

.ps-buoy::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.ps-buoy[data-dest="marina"] { --dot: #13A9C4; }
.ps-buoy[data-dest="golf"] { --dot: #2BB29A; }
.ps-buoy[data-dest="residence"] { --dot: #2F8FDB; }
.ps-buoy[data-dest="grande"] { --dot: #FF6B3D; }
.ps-buoy[data-dest="matrouh"] { --dot: #1FC2C7; }
.ps-buoy[data-dest="sokhna"] { --dot: #FF9A6B; }
.ps-buoy[data-dest="southbeach"] { --dot: #FFC13B; }
.ps-buoy[data-dest="sharm"] { --dot: #FF7E6B; }
.ps-buoy[data-dest="said"] { --dot: #4686D3; }
.ps-buoy[data-dest="minya"] { --dot: #379E7E; }
.ps-buoy[data-dest="capital"] { --dot: #5A52D6; }

.ps-buoy:hover {
    transform: translateY(-3px);
}

.ps-buoy[aria-checked="true"] {
    background: var(--pw-ink);
    color: #FFFFFF;
}

.ps-buoy[aria-checked="true"]::before {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.ps-buoy:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

.ps-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 26px;
    padding-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
}

.ps-foot__motto {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.ps-foot a {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.ps-foot a:hover { text-decoration-color: #FFFFFF; }
.ps-foot a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 2px; }
.ps-foot a:last-child { margin-left: auto; }

/* --------------------------------------------------------------------------
   The pass: Odoo's own login form, white, floating on the water
   -------------------------------------------------------------------------- */
.oe_website_login_container form.oe_login_form,
.oe_website_login_container form.oe_signup_form,
.oe_website_login_container form.oe_reset_password_form {
    --tx: 0px;
    --ty: 0px;
    position: relative;
    align-self: center;
    justify-self: center;
    display: flex;
    flex-direction: column;
    width: min(420px, 100%);
    max-width: none !important;
    margin: 28px 0 !important;
    padding: 0 28px 28px !important;
    background: #FFFFFF;
    color: var(--pw-ink);
    border-radius: 26px;
    font-family: var(--pw-font);
    caret-color: var(--deep);
    overflow: hidden;
    box-shadow:
        0 20px 34px -14px rgba(5, 30, 50, 0.4),
        0 60px 100px -40px rgba(5, 30, 50, 0.6);
    transform: translate(var(--tx), var(--ty));
    transition: transform 500ms var(--pw-ease);
    animation: pw-float 7s ease-in-out infinite;
}

@keyframes pw-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

.oe_website_login_container form:focus-within {
    animation-play-state: paused;
}

.oe_website_login_container:not(:has(.ps-scene)) form {
    padding-top: 28px !important;
    animation: none;
}

.pw-pass__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 -28px 22px;
    padding: 22px 28px 20px;
    background: var(--deep);
    color: #FFFFFF;
}

.pw-pass__logo {
    display: block;
    width: 84px;
    height: auto;
}

.pw-pass__type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
}

.pw-pass__type span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.pw-pass__type b {
    font-family: var(--pw-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Role switch */
.pw-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 0 0 22px;
    padding: 4px;
    background: var(--pw-field);
    border-radius: 999px;
}

.pw-roles__tab {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--pw-ink-2);
    font-family: var(--pw-font);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 4px;
    cursor: pointer;
    transition: background-color 200ms var(--pw-ease), color 200ms var(--pw-ease);
}

.pw-roles__tab:hover { color: var(--pw-ink); }

.pw-roles__tab[aria-selected="true"] {
    background: var(--pw-ink);
    color: #FFFFFF;
}

.pw-roles__tab:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
}

/* Fields */
.oe_website_login_container form .form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pw-ink-2);
}

.oe_website_login_container form .mb-3 { margin-bottom: 16px !important; }

.oe_website_login_container form .form-control {
    height: 50px;
    padding: 0 16px;
    background: var(--pw-field);
    border: 1px solid var(--pw-line);
    border-radius: 12px;
    color: var(--pw-ink);
    font-family: var(--pw-font);
    font-size: 16px;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 160ms var(--pw-ease), box-shadow 160ms var(--pw-ease), background-color 160ms var(--pw-ease);
}

.oe_website_login_container form .form-control::placeholder {
    color: var(--pw-ink-3);
    opacity: 1;
}

.oe_website_login_container form .form-control:focus {
    outline: none;
    background: #FFFFFF;
    color: var(--pw-ink);
    border-color: var(--deep);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--deep) 22%, transparent);
}

.oe_website_login_container form .form-control:-webkit-autofill,
.oe_website_login_container form .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--pw-ink);
    box-shadow: 0 0 0 100px var(--pw-field) inset;
}

.oe_website_login_container form .input-group { flex-wrap: nowrap; }

.oe_website_login_container form .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.oe_website_login_container form .o_show_password {
    width: 50px;
    background: var(--pw-field);
    border: 1px solid var(--pw-line) !important;
    border-left: 0 !important;
    border-radius: 0 12px 12px 0;
    color: var(--pw-ink-2);
}

.oe_website_login_container form .o_show_password:hover { color: var(--pw-ink); }
.oe_website_login_container form .o_show_password:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }

.oe_website_login_container form .btn-link,
.oe_website_login_container form .form-label a {
    padding: 0;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pw-ink-2);
    text-decoration: underline;
    text-decoration-color: rgba(23, 23, 23, 0.3);
    text-underline-offset: 3px;
}

.oe_website_login_container form .btn-link:hover,
.oe_website_login_container form .form-label a:hover {
    color: var(--deep);
    text-decoration-color: currentColor;
}

.oe_website_login_container form .o_caps_lock_warning_text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #B3261E !important;
}

/* Primary action */
.oe_website_login_container form .oe_login_buttons { padding-top: 6px !important; }

.oe_website_login_container form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    background: var(--pw-ink) !important;
    border: 0 !important;
    border-radius: 12px;
    color: #FFFFFF !important;
    font-family: var(--pw-font);
    font-size: 16px;
    font-weight: 700;
    transition: background-color 300ms var(--pw-ease), transform 120ms var(--pw-ease);
}

.oe_website_login_container form.oe_login_form .btn-primary::after {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 4l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 220ms var(--pw-ease);
}

.oe_website_login_container form .btn-primary:hover { background: var(--deep) !important; }
.oe_website_login_container form .btn-primary:hover::after { transform: translateX(3px); }
.oe_website_login_container form .btn-primary:active { transform: scale(0.985); }
.oe_website_login_container form .btn-primary:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }
.oe_website_login_container form .btn-primary.o_disabled { opacity: 0.75; cursor: progress; }

/* Passkey */
.oe_website_login_container form .o_login_auth > em {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 14px 0 10px !important;
    font-style: normal;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pw-ink-3) !important;
}

.oe_website_login_container form .o_login_auth > em::before,
.oe_website_login_container form .o_login_auth > em::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--pw-line);
}

.oe_website_login_container form .o_login_auth .list-group-item {
    justify-content: center;
    min-height: 46px;
    background: #FFFFFF;
    border: 1px solid var(--pw-line);
    border-radius: 12px !important;
    color: var(--pw-ink);
    font-weight: 600;
    font-size: 14px;
    transition: border-color 160ms var(--pw-ease), background-color 160ms var(--pw-ease);
}

.oe_website_login_container form .o_login_auth .list-group-item:hover {
    background: var(--pw-field);
    border-color: var(--pw-ink-3);
}

.oe_website_login_container form .o_login_auth .list-group-item:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
}

/* Errors */
.oe_website_login_container form .alert {
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--pw-line);
    background: var(--pw-field);
    color: var(--pw-ink);
    font-size: 14px;
    font-weight: 500;
}

.oe_website_login_container form .alert-danger {
    border-color: var(--pw-red);
    background: #FDECEC;
    color: #9B1218;
}

/* --------------------------------------------------------------------------
   The stub
   -------------------------------------------------------------------------- */
.pw-stub {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin: 22px -28px -28px;
    padding: 20px 28px 24px;
    border-top: 2px dashed var(--pw-line);
    background: color-mix(in srgb, var(--deep) 8%, #FFFFFF);
}

.pw-code-box {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    padding: 6px;
    background: #FFFFFF;
    border: 1px solid var(--pw-line);
    border-radius: 10px;
    overflow: hidden;
}

.pw-code { display: block; width: 100%; height: 100%; }
.pw-code rect { fill: var(--pw-ink); }

.pw-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: -4px;
    height: 3px;
    background: var(--pw-red);
    box-shadow: 0 0 8px 1px rgba(237, 28, 36, 0.55);
    opacity: 0;
}

.oe_login_form.is-scanning .pw-scan {
    animation: pw-scan 900ms var(--pw-ease) infinite alternate;
    opacity: 1;
}

@keyframes pw-scan {
    from { transform: translateY(0); }
    to { transform: translateY(74px); }
}

.pw-stub__facts {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    min-width: 0;
}

.pw-stub__facts dt {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pw-ink-3);
}

.pw-stub__facts dd {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--pw-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#pw-entry { color: var(--deep); }

.pw-chip {
    align-self: start;
    display: grid;
    place-items: center;
    width: 46px;
    height: 36px;
    border-radius: 8px;
    background: var(--pw-indigo);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pw-chip__q {
    width: 24px;
    height: 24px;
    overflow: visible;
}

/* --------------------------------------------------------------------------
   Mall scenes: each destination brings its own set onto the coast
   -------------------------------------------------------------------------- */
.ps-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.oe_website_login_container {
    --palm: color-mix(in srgb, var(--deep) 75%, #0D2433);
    --haze: color-mix(in srgb, var(--deep) 38%, var(--sky-low));
    --mid: color-mix(in srgb, var(--deep) 70%, var(--sky-low));
    --horizon: color-mix(in srgb, var(--sea-far) 55%, var(--deep));
}
.oe_website_login_container[data-dest="golf"] { --horizon: color-mix(in srgb, var(--sea-far) 70%, var(--sky-low)); }
.oe_website_login_container[data-dest="sharm"] { --horizon: transparent; }
.oe_website_login_container[data-dest="capital"] { --horizon: color-mix(in srgb, var(--sea-far) 70%, var(--sky-low)); }

.ps-set {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    translate: 0 28px;
    transition: opacity 700ms var(--pw-ease), translate 1000ms var(--pw-ease);
    pointer-events: none;
}

.ps-sky-set { top: 0; height: 50%; width: 100%; translate: 0 -20px; }
.ps-sky-set--full { height: 100%; }
.ps-far { bottom: 72%; height: min(34vh, 300px); width: 100%; }
.ps-float { top: 1%; height: 26%; width: 100%; }
.ps-boat-set { inset: 0; }
.ps-front { bottom: 0; height: 70%; width: 100%; translate: 0 50px; }

.oe_website_login_container[data-dest="marina"] .ps-set[data-set~="marina"],
.oe_website_login_container[data-dest="golf"] .ps-set[data-set~="golf"],
.oe_website_login_container[data-dest="residence"] .ps-set[data-set~="residence"],
.oe_website_login_container[data-dest="grande"] .ps-set[data-set~="grande"],
.oe_website_login_container[data-dest="matrouh"] .ps-set[data-set~="matrouh"],
.oe_website_login_container[data-dest="sokhna"] .ps-set[data-set~="sokhna"],
.oe_website_login_container[data-dest="southbeach"] .ps-set[data-set~="southbeach"],
.oe_website_login_container[data-dest="sharm"] .ps-set[data-set~="sharm"],
.oe_website_login_container[data-dest="said"] .ps-set[data-set~="said"],
.oe_website_login_container[data-dest="minya"] .ps-set[data-set~="minya"],
.oe_website_login_container[data-dest="capital"] .ps-set[data-set~="capital"] {
    opacity: 1;
    translate: 0 0;
    transition-delay: 250ms;
}

/* paints */
.ps-set .f-haze { fill: var(--haze); }
.ps-set .f-mid { fill: var(--mid); }
.ps-set .f-deep { fill: var(--deep); }
.ps-set .f-white { fill: #FFFFFF; }
.ps-set .f-ink { fill: #171717; }
.ps-set .f-red { fill: #ED1C24; }
.ps-set .f-accent { fill: var(--accent); }
.ps-set .f-night { fill: color-mix(in srgb, var(--deep) 62%, #0B0A26); }
.ps-set .f-dolphin { fill: color-mix(in srgb, var(--deep) 70%, #1C2B3A); }
.ps-set .s-haze { fill: none; stroke: var(--haze); }
.ps-set .s-white { fill: none; stroke: #FFFFFF; }

/* small life */
.ps-bob { animation: ps-set-bob 4.6s ease-in-out infinite; }
.ps-bob--late { animation-delay: -2.3s; }

@keyframes ps-set-bob {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50% { transform: translateY(5px) rotate(1.5deg); }
}

.ps-ship { animation: ps-ship 46s ease-in-out infinite alternate; }

@keyframes ps-ship {
    from { transform: translateX(-140px); }
    to { transform: translateX(160px); }
}

.ps-beam { opacity: 0.3; transform-box: fill-box; transform-origin: 0 50%; animation: ps-beam 3.6s ease-in-out infinite; }

@keyframes ps-beam {
    0%, 100% { opacity: 0.08; transform: scaleY(0.6); }
    50% { opacity: 0.42; transform: scaleY(1); }
}

.ps-tw { animation: ps-twinkle 3s ease-in-out infinite; }
.ps-tw:nth-child(3n) { animation-delay: -1s; animation-duration: 2.4s; }
.ps-tw:nth-child(3n+1) { animation-delay: -2s; animation-duration: 3.6s; }

@keyframes ps-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.ps-gulls { animation: ps-gulls 28s linear infinite; }

@keyframes ps-gulls {
    from { transform: translateX(-700px); }
    to { transform: translateX(900px); }
}

.ps-slide { fill: none; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.ps-flow { fill: none; stroke: #FFFFFF; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 34; opacity: 0.85; animation: ps-flow 1.2s linear infinite; }
.ps-flow--dark { stroke: var(--deep); }

@keyframes ps-flow {
    from { stroke-dashoffset: 44; }
    to { stroke-dashoffset: 0; }
}

.ps-splash { animation: ps-splash 1.6s ease-out infinite; }

@keyframes ps-splash {
    0% { opacity: 0; transform: translateY(6px) scale(0.4); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-26px) scale(1.2); }
}

.ps-rays { animation: ps-rays 9s ease-in-out infinite alternate; }

@keyframes ps-rays {
    from { transform: skewX(-4deg) translateX(-30px); opacity: 0.7; }
    to { transform: skewX(4deg) translateX(30px); opacity: 1; }
}

.ps-school { animation: ps-swim 30s linear infinite; }
.ps-school--2 { animation-duration: 40s; animation-delay: -16s; }
.ps-school--3 { animation-duration: 24s; animation-delay: -9s; }

@keyframes ps-swim {
    from { transform: translateX(1600px); }
    to { transform: translateX(-200px); }
}

.ps-bubble { animation: ps-bubble 7s ease-in infinite; }
.ps-bubble--2 { animation-delay: -2s; animation-duration: 6s; }
.ps-bubble--3 { animation-delay: -4s; animation-duration: 8s; }
.ps-bubble--4 { animation-delay: -5.5s; }

@keyframes ps-bubble {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-620px); opacity: 0; }
}

.ps-weed { transform-box: fill-box; transform-origin: 50% 100%; animation: ps-weed 4s ease-in-out infinite alternate; }
.ps-weed--late { animation-delay: -2s; }

@keyframes ps-weed {
    from { transform: rotate(-5deg); }
    to { transform: rotate(5deg); }
}

/* What each mall leaves out */
.oe_website_login_container[data-dest="sharm"] .ps-sun,
.oe_website_login_container[data-dest="sharm"] .ps-cloud,
.oe_website_login_container[data-dest="capital"] .ps-cloud { opacity: 0; }
.ps-sun, .ps-cloud { transition: opacity 800ms var(--pw-ease); }

.oe_website_login_container[data-dest="sharm"] .ps-wave { animation-play-state: paused; }

/* Sea only where there is sea: inland malls swap the waves for ground */
.ps-wave { transition: opacity 700ms var(--pw-ease); }
.oe_website_login_container[data-dest="golf"] .ps-wave,
.oe_website_login_container[data-dest="capital"] .ps-wave,
.oe_website_login_container[data-dest="minya"] .ps-wave,
.oe_website_login_container[data-dest="grande"] .ps-wave { opacity: 0; animation-play-state: paused; }
.oe_website_login_container[data-dest="minya"] { --horizon: #E9D3A6; }
.oe_website_login_container[data-dest="grande"] { --horizon: #F2DFB4; }

.ps-land { top: 28%; bottom: 0; width: 100%; height: auto; translate: 0 0; overflow: visible; }
.ps-land .l-far { fill: var(--sea-far); }
.ps-land .l-mid { fill: var(--sea-mid); }
.ps-land .l-near { fill: var(--sea-near); }
.ps-land .l-fair { fill: color-mix(in srgb, var(--sea-far) 80%, #FFFFFF); }
.ps-land .l-stripe { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 26; }
.ps-land .l-tree { fill: color-mix(in srgb, var(--deep) 70%, #0F2A24); }
.ps-land .l-road { fill: color-mix(in srgb, var(--sea-near) 70%, #0B0A26); }
.ps-land .l-dash { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 4; stroke-dasharray: 34 26; }
.ps-land .l-grid { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.ps-land .l-walk { fill: #E9D3A6; }
.ps-land .l-curb { fill: #C9A774; }
.ps-land .l-asphalt { fill: #5A4A3C; }
.ps-land .l-plaza { fill: #DDB57E; }
.ps-land .l-tile { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; }
.ps-land .l-lamp { fill: none; stroke: #3A2C1E; stroke-width: 4; stroke-linecap: round; }
.ps-land .l-deck { fill: #F2DFB4; }
.ps-land .l-pool-edge { fill: #FFFFFF; }
.ps-land .l-pool { fill: var(--sea-mid); }
.ps-land .l-ripple { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 4; stroke-linecap: round; }
.ps-land .l-lounger { fill: none; stroke: #FFFFFF; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

.ps-drive { animation: ps-drive 9s linear infinite; }
.ps-drive--2 { animation-delay: -5s; animation-duration: 12s; }
.ps-drive--slow { animation-duration: 15s; }
.ps-drive--back { animation-name: ps-drive-back; }

@keyframes ps-drive {
    from { transform: translateX(-120px); }
    to { transform: translateX(1560px); }
}

@keyframes ps-drive-back {
    from { transform: translateX(1560px); }
    to { transform: translateX(-120px); }
}

.ps-ripple { animation: ps-ripple 5s ease-in-out infinite alternate; }

@keyframes ps-ripple {
    from { transform: translateX(-18px); }
    to { transform: translateX(18px); }
}

/* Under water the headline sits on dark water */
.oe_website_login_container[data-dest="sharm"] .ps-hero__lede,
.oe_website_login_container[data-dest="capital"] .ps-hero__lede { color: rgba(255, 255, 255, 0.92); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .oe_website_login_container { grid-template-columns: minmax(0, 1fr) 390px; column-gap: 36px; }
    .ps-bar__time { display: none; }
}

@media (max-width: 900px) {
    .oe_website_login_container {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        padding: 16px 16px 20px !important;
        overflow: visible;
    }
    .ps-bar, .ps-hero, .ps-dest, .ps-foot, .oe_website_login_container:has(.ps-scene) > form { grid-column: 1; grid-row: auto; }
    .ps-bar { order: 1; justify-self: center; gap: 12px; padding: 8px 16px; }
    .ps-hero { order: 2; padding: 26px 4px 6px; text-align: center; justify-self: center; }
    .ps-hero__lede { margin-left: auto; margin-right: auto; font-size: 16px; }
    .oe_website_login_container:has(.ps-scene) > form { order: 3; margin: 22px 0 !important; }
    .ps-dest { order: 4; justify-content: center; }
    .ps-foot { order: 5; justify-content: center; text-align: center; }
    .ps-foot a:last-child { margin-left: 0; }
    .ps-hero__title { font-size: clamp(36px, 9.5vw, 56px); }
    .ps-sea { top: 48%; }
}

@media (max-width: 420px) {
        .ps-amer { width: 74px; height: 20px; }
    .ps-logo--porto { width: 52px; height: 32px; }
    .ps-logo--qm span { display: none; }
    .oe_website_login_container form.oe_login_form { padding: 0 22px 24px !important; }
    .pw-pass__head { margin: 0 -22px 20px; padding: 18px 22px; }
    .pw-stub { margin: 20px -22px -24px; padding: 18px 22px 20px; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
    .pw-code-box { width: 64px; height: 64px; }
    .ps-buoy { font-size: 13px; padding: 8px 13px 8px 10px; }
}

@media (max-height: 800px) and (min-width: 901px) {
    .pw-pass__head { padding-top: 16px; padding-bottom: 14px; margin-bottom: 16px; }
    .pw-roles { margin-bottom: 16px; }
    .pw-stub { margin-top: 16px; padding-top: 14px; padding-bottom: 18px; }
    .oe_website_login_container form .o_login_auth > em { margin: 10px 0 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .ps-wave, .ps-cloud, .ps-boat, .ps-sun, .ps-scene *,
    .oe_website_login_container form.oe_login_form { animation: none !important; }
    .is-anim *, .ps-sets-paused * { animation: none !important; }
    .oe_website_login_container form.oe_login_form { transform: none; transition: none; }
    .oe_website_login_container { --pw-swap: 0ms; }
    .oe_login_form.is-scanning .pw-scan { animation: none; top: 50%; }
}
