﻿/* =========================================
   Brand tokens
   ========================================= */

:root {
    /* Brand core */
    --rs-brand: #005e83; /* main teal */
    --rs-brand-light: #e0f2f8; /* pale background */
    --rs-brand-dark: #003244; /* deep teal */
    --rs-brand-soft: #0194b8; /* lighter accent */
    /* Accents */
    --rs-accent-cyan: #38bdf8;
    --rs-accent-green: #22c55e;
    --rs-neon: #22E7FF;
    /* Text */
    --rs-text-light: #e5e7eb;
    --rs-text-muted: #9ca3af;
    /* Background */
    --rs-bg-deep: #020618;
}

/* =========================================
   Global
   ========================================= */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--rs-text-light);
}

/* page background wrapper (add class="rs-body" on <body> or a top-level div) */
.rs-body {
    min-height: 100vh;
    background: radial-gradient(circle at 15% 0%, #141b2f 0, #050816 40%, #020617 70%, #010712 100%), radial-gradient(circle at 80% 80%, rgba(56,189,248,0.3), transparent 60%);
    color: #e5f0ff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================
   Header / Navigation
   ========================================= */

.rs-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.65rem 0;
    background: linear-gradient( to bottom, rgba(2,6,23,0.96), rgba(2,6,23,0.85), rgba(2,6,23,0.00) );
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148,163,184,0.18);
}

.rs-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.rs-logo-img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0,108,139,0.7));
}

.rs-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.rs-logo-name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e5f2ff;
}

.rs-logo-tagline {
    font-size: 0.78rem;
    color: rgba(148,163,184,0.9);
}

/* Nav links */

.rs-nav-link {
    position: relative;
    margin-left: 1.25rem;
    font-size: 0.88rem;
    color: rgba(226,232,240,0.8);
    text-decoration: none;
    transition: color .15s ease;
}

    .rs-nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -0.35rem;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(to right, var(--rs-brand-soft), var(--rs-brand));
        opacity: 0;
        transform: scaleX(0.4);
        transition: opacity .18s ease, transform .18s ease;
    }

    .rs-nav-link:hover {
        color: #ffffff;
    }

        .rs-nav-link:hover::after,
        .rs-nav-link.is-active::after {
            opacity: 1;
            transform: scaleX(1);
        }

/* Header CTA */

.rs-nav-cta {
    margin-left: 1.75rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    background: radial-gradient(circle at 0% 0%, rgba(1,148,184,0.55), rgba(15,23,42,0.95));
    box-shadow: 0 0 18px rgba(1,148,184,0.55);
    font-size: 0.85rem;
    color: #e5f2ff;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, box-shadow .15s ease, transform .12s ease;
}

    .rs-nav-cta:hover {
        box-shadow: 0 0 24px rgba(1,148,184,0.8);
        transform: translateY(-1px);
    }



/* Client portal nav group */
.rs-nav-portal-wrap {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

/* Portal pill – sits between normal links and the big “Start a VR project” CTA */
.rs-nav-portal {
    position: relative;
    padding: 0.48rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.75);
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.45), rgba(15,23,42,0.95));
    box-shadow: 0 0 14px rgba(56,189,248,0.55);
    font-size: 0.85rem;
    color: #e5f2ff;
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow .18s ease, transform .12s ease, background .18s ease, border-color .18s ease;
}

    /* little glowing dot on the left for a “status” feel */
    .rs-nav-portal::before {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #38bdf8;
        box-shadow: 0 0 8px rgba(56,189,248,0.7);
        transform: translateY(-50%);
    }

    .rs-nav-portal:hover {
        border-color: var(--rs-accent-cyan);
        background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.65), rgba(15,23,42,1));
        box-shadow: 0 0 20px rgba(56,189,248,0.85);
        transform: translateY(-1px);
    }

/* Push the text a bit right to clear the dot */
.rs-nav-portal {
    padding-left: 1.7rem;
}

/* Logout link – quieter, inline with other nav links */
.rs-nav-logout-form {
    margin-left: 0.75rem;
}

.rs-nav-logout {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.82rem;
    color: rgba(226,232,240,0.75);
    cursor: pointer;
}

    .rs-nav-logout:hover {
        color: #ffffff;
    }


@media (max-width: 991.98px) {
    .rs-logo-text {
        display: none;
    }

    .rs-nav-cta {
        display: none;
    }
    /* keep header clean on mobile */
}


/* ===============================
   Header pill buttons (portal + cart)
   =============================== */

.rs-nav-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.25), rgba(15,23,42,0.95));
    box-shadow: 0 0 18px rgba(56,189,248,0.35);
    color: #e5f2ff;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    margin-left:1rem;
    white-space: nowrap;
    transition: box-shadow .18s ease, transform .12s ease, border-color .15s ease, background .15s ease;
}

    .rs-nav-pill:hover {
        box-shadow: 0 0 24px rgba(56,189,248,0.6);
        transform: translateY(-1px);
        border-color: rgba(148,163,184,0.9);
    }

/* little glowing dot on the portal pill */
.rs-nav-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 0 5px rgba(56,189,248,0.45);
}

/* Cart pill tweaks */
.rs-nav-pill-cart {
    background: radial-gradient(circle at 50% 0%, rgba(56,189,248,0.2), rgba(15,23,42,0.95));
    box-shadow: 0 0 18px rgba(0,128,171,0.5);
}

    /* Cart badge */
    .rs-nav-pill-cart .cart-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 0.15rem;
        margin-left: 0.2rem;
        border-radius: 999px;
        background: #ef4444;
        color: #ffffff;
        font-size: 0.72rem;
        font-weight: 600;
        box-shadow: 0 0 10px rgba(239,68,68,0.75);
    }

/* optional: remove any old cart styles */
.cart-btn-div .cart-btn {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ===============================
   Hero layout + vignette
   =============================== */

.rs-main {
    position: relative;
    z-index: 0;
    padding-top: 0.2rem;
    padding-bottom: 3rem;
    background: radial-gradient(circle at 25% 0%, #1f2937 0, #050816 45%, #020617 80%);
}

    .rs-main::before {
        content: "";
        position: absolute;
        inset: -40px 0 0 0;
        pointer-events: none;
        z-index: -1;
        box-shadow: inset 180px 0 140px #020617, inset -180px 0 140px #020617;
        opacity: 0.7;
    }

.rs-hero {
    padding-top: 1.5rem;
    position: relative;
}

    .rs-hero .row {
        align-items: center;
        padding-top: 1rem;
        max-width: 1100px;
        margin-inline: auto;
    }

/* ===============================
   Hero text + chips
   =============================== */

.rs-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    background: rgba(4,12,24,0.9);
    box-shadow: 0 0 10px rgba(59,181,255,0.35);
    font-size: 0.78rem;
    font-weight: 400;
    color: #e5f2ff;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
}

.rs-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 0 6px rgba(56,189,248,0.35);
    margin-right: 0.4rem;
}

.rs-brand-kicker {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: rgba(148,163,184,0.85);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rs-hero-title {
    font-size: clamp(2.3rem, 3vw + 1.5rem, 3.0rem);
    line-height: 1.05;
    font-weight: 650;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #fdfefe;
    z-index:2;
}

.rs-hero-highlight {
    background: linear-gradient(120deg, var(--rs-brand), var(--rs-accent-cyan), var(--rs-accent-green));
   
    color: transparent;
}

.rs-hero-sub {
    font-size: 1rem;
    color: #c5d3f0;
    max-width: 32rem;
}

/* HERO — keep text above highlight bar */
.rs-hero-title {
    position: relative;
    z-index: 2;
}

/* HERO highlight pill */
.rs-hero-highlight {
    position: relative;
    display: inline-block;
    padding: 0.35rem 1.8rem 0.45rem;
    border-radius: 999px;
    color: #0b1120; /* text colour */
    background: none; /* move gradient to ::before */
    z-index: 2;
}

    /* gradient bar sits behind the text */
    .rs-hero-highlight::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(90deg,#22d3ee,#22c55e);
        z-index: -1;
    }




.rs-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.4rem 0 1.8rem;
}

.rs-chip {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(12,22,40,0.9);
    border: 1px solid rgba(148,163,184,0.5);
    color: #e5f0ff;
    font-size: 0.82rem;
}

/* ===============================
   Buttons
   =============================== */

.rs-btn-primary {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    padding-inline: 1.8rem;
    background: linear-gradient(135deg, #21c1ff, #2be38c);
    background-size: 200% 200%;
    animation: rs-btn-gradient 7s ease infinite;
    color: #02101b;
    border: none;
    font-weight: 500;
    box-shadow: 0 18px 45px rgba(0,128,171,0.7);
}

@keyframes rs-btn-gradient {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.rs-btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 20px 48px rgba(0,128,171,0.8);
}

.rs-btn-outline {
    border-radius: 999px;
    border-width: 1px;
    border-color: rgba(148,163,184,0.6);
    color: var(--rs-text-light);
    background: transparent;
}

    .rs-btn-outline:hover {
        border-color: var(--rs-brand);
        color: var(--rs-text-light);
    }

/* ===============================
   Hologram hero card
   =============================== */

.rs-holo-shell {
    position: relative;
    display: inline-block;
}

.rs-holo-card {
    position: relative;
    border-radius: 2.6rem;
    padding: 4px;
    background: radial-gradient(circle at 10% 0%, rgba(59,181,255,0.55), transparent 55%), radial-gradient(circle at 100% 90%, rgba(34,197,94,0.40), transparent 60%);
    border: 1px solid rgba(59,181,255,0.9);
    box-shadow: 0 32px 90px rgba(0,0,0,0.95), 0 0 60px rgba(59,181,255,0.75);
    overflow: hidden;
}

.rs-holo-card-angled {
    position: relative;
    border-radius: 2.6rem;
    transform-style: preserve-3d;
    transform: perspective(1600px) rotateY(-22deg) rotateX(4deg) scale(1.18);
    transform-origin: center center;
}

/* =========================================
   HERO — Larger, more angled VR card
   (overrides earlier settings)
   ========================================= */

/* Make the card physically bigger on desktop */
@media (min-width: 1200px) {
    .rs-holo-card {
        max-width: 980px; /* was 840px */
        padding: 3px; /* slightly less frame, more image */
    }
}

/* Stronger perspective + scale for the “tilt” */
.rs-holo-card-angled {
    transform-style: preserve-3d;
    /* more Y tilt, bit more X tilt, slightly closer perspective + scale up */
    transform: perspective(1300px) rotateY(-30deg) rotateX(7deg) scale(1.32);
    transform-origin: center center;
}




.rs-holo-image {
    display: block;
    width: 100%;
    border-radius: inherit;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: brightness(1.22) contrast(1.06) saturate(1.08);
    position: relative;
    z-index: 1;
}

/* Cyan grid overlay */
.rs-holo-grid {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: linear-gradient(rgba(59,181,255,0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(59,181,255,0.45) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.4;
    mix-blend-mode: screen;
    z-index: 2;
}

/* UI labels */
.rs-holo-ui {
    position: absolute;
    left: 1.6rem;
    right: 1.6rem;
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    pointer-events: none;
    font-size: 0.8rem;
    z-index: 3;
}

.rs-holo-ui-top {
    top: 1.1rem;
}

.rs-holo-ui-bottom {
    bottom: 1.4rem;
    justify-content: flex-start;
}

.rs-holo-pill {
    pointer-events: auto;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(0,13,25,0.92);
    border: 1px solid rgba(148,163,184,0.8);
    color: #e5f0ff;
    white-space: nowrap;
}

.rs-holo-pill-ghost {
    background: rgba(0,13,25,0.6);
    border-color: rgba(59,181,255,0.9);
}

/* Caption */
.rs-holo-caption {
    position: absolute;
    left: 2.2rem;
    bottom: 2.5rem;
    max-width: 340px;
    pointer-events: none;
    z-index: 3;
}

    .rs-holo-caption h3 {
        margin: 0 0 0.2rem 0;
        font-size: 1.35rem;
        font-weight: 600;
        color: #f9fbff;
    }

    .rs-holo-caption p {
        margin: 0;
        font-size: 0.85rem;
        color: #d1e2ff;
        opacity: 0.9;
    }



/* Floor reflection / glow
   – primary reflection close to card + soft secondary further out
---------------------------------------------------------------- */

.rs-holo-shell {
    position: relative;
    display: inline-block;
    z-index: 0; /* establishes a clean stacking context */
}

/* Make sure the card itself is above both reflections */
.rs-holo-card {
    position: relative;
    z-index: 2;
}

/* Primary reflection close to the card */
.rs-holo-shell::before {
    content: "";
    position: absolute;
    left: 4%;
    right: -4%;
    top: 100%;
    height: 120px;
    background-image: radial-gradient(ellipse at top, rgba(59,181,255,0.55), rgba(2,6,23,0.0) 60%), linear-gradient(rgba(15,23,42,0.9) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.9) 1px, transparent 1px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    opacity: 0.85;
    transform: skewX(-8deg);
    filter: blur(4px);
    pointer-events: none;
    z-index: 1; /* just under the card */
}

/* Secondary very soft reflection further out on the floor */
.rs-holo-shell::after {
    content: "";
    position: absolute;
    left: -30%;
    right: 5%;
    top: 110%; /* further away from the card */
    height: 300px; /* larger area */
    background: radial-gradient( ellipse at top, rgba(59,181,255,0.55), /* stronger so you can SEE it */
    rgba(2,6,23,0.0) 75% );
    opacity: 0.6;
    filter: blur(24px); /* very soft bloom */
    transform: skewX(-10deg);
    pointer-events: none;
    z-index: 0; /* behind the primary reflection but above page bg */
}




/* Desktop sizing */
@media (min-width: 1200px) {
    .rs-holo-card {
        max-width: 840px;
        margin-left: auto;
    }
}

@media (max-width: 1199.98px) {
    .rs-holo-card-angled {
        transform: none;
        max-width: 100%;
    }

    /* Keep reflections but tame them on smaller screens */
    .rs-holo-shell::before {
        left: 0;
        right: 0;
        height: 90px;
        opacity: 0.65;
        transform: none;
    }

    .rs-holo-shell::after {
        left: 0;
        right: 0;
        top: calc(100% + 40px);
        height: 130px;
        opacity: 0.25;
        transform: none;
    }
}



/* Scroll cue stays the same */
.rs-scroll-cue {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

    .rs-scroll-cue span {
        width: 22px;
        height: 36px;
        border-radius: 999px;
        border: 1px solid rgba(148,163,184,0.7);
        position: relative;
    }

        .rs-scroll-cue span::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 8px;
            width: 4px;
            height: 8px;
            border-radius: 999px;
            background: #38bdf8;
            transform: translateX(-50%);
            animation: rs-scroll .9s ease-in-out infinite alternate;
        }

@keyframes rs-scroll {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, 10px);
        opacity: 0.2;
    }
}


/* =========================================
   Branded footer
   ========================================= */
/* =========================================
   Branded footer (full-width background)
   ========================================= */

.rs-footer {
    margin-top: 4rem;
    color: #e5f2ff;
    /* move these from .rs-footer-main so the bg goes full width */
    border-top: 1px solid rgba(15,23,42,0.9);
    background: radial-gradient(circle at 0 0, rgba(1,148,184,0.45), rgba(2,6,23,0.98));
}

.rs-footer-main {
    /* this now becomes the centered content container */
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding: 2.6rem 0 2rem;
}

.rs-footer-brand {
    flex: 1 1 260px;
    max-width: 340px;
}

.rs-footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 0.75rem;
}

.rs-footer-tagline {
    font-size: 0.9rem;
    color: rgba(226,232,240,0.9);
}

.rs-footer-columns {
    display: flex;
    flex: 2 1 360px;
    gap: 2.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.rs-footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.6rem;
    color: rgba(148,163,184,0.95);
}

.rs-footer-col p,
.rs-footer-col li {
    font-size: 0.86rem;
    margin-bottom: 0.2rem;
    color: rgba(226,232,240,0.9);
}

.rs-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rs-footer a {
    color: #e5f2ff;
    text-decoration: none;
}

    .rs-footer a:hover {
        text-decoration: underline;
    }

/* Bottom strip */
.rs-footer-bottom {
    padding: 0.7rem 0;
    background: #005a75;
    font-size: 0.82rem;
    color: #e5f2ff;
}

@media (max-width: 991.98px) {
    .rs-footer-main {
        flex-direction: column;
    }

    .rs-footer-columns {
        justify-content: flex-start;
    }
}

/* =========================================
   FORCE VR CARD GRID + REFLECTION TO SHOW
   (place at very bottom of site.css)
   ========================================= */

/* Card is the stacking context */
.rs-holo-card,
.rs-holo-card-angled {
    position: relative;
    overflow: hidden;
    border-radius: 2.6rem; /* keep your nice rounded corners */
}

/* Image sits just under the grid */
.rs-holo-image {
    display: block;
    width: 100%;
    border-radius: inherit;
    object-fit: cover;
    position: relative;
    z-index: 1;
}


/* Base grid (leave as-is if you like the spacing) */
.rs-holo-grid {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: linear-gradient(rgba(59,181,255,0.75) 1px, transparent 1px), linear-gradient(90deg, rgba(59,181,255,0.75) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.65; /* slightly stronger overall */
    mix-blend-mode: screen;
    z-index: 2;
}

    /* NEW – brighten the top half of the grid */
    .rs-holo-grid::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient( to bottom, rgba(59,181,255,0.75) 0%, /* strong glow at the very top */
        rgba(59,181,255,0.40) 25%, /* fades through upper third */
        rgba(59,181,255,0.0) 60% /* gone by mid-height */
        );
        mix-blend-mode: screen; /* adds light without crushing contrast */
        pointer-events: none;
    }

    /* Darken / fade grid mostly towards the BOTTOM so top stays punchy */
    .rs-holo-grid::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient( to bottom, rgba(2,6,23,0.0) 0%, /* top untouched */
        rgba(2,6,23,0.5) 65%, /* start easing out grid */
        rgba(2,6,23,0.85) 100% /* bottom quite dark */
        ), radial-gradient(circle at 0% 0%, rgba(2,6,23,0.7), transparent 45%), radial-gradient(circle at 100% 0%, rgba(2,6,23,0.7), transparent 45%);
        mix-blend-mode: multiply;
        pointer-events: none;
    }






/* Pills + caption go on top of the grid */
.rs-holo-ui,
.rs-holo-caption {
    position: absolute;
    z-index: 3;
}



/* ---------------------------------
   Tweak VR card caption vs bottom pill
   --------------------------------- */

/* Lift the caption a bit higher */
.rs-holo-caption {
    bottom: 3.6rem; /* was 2.5rem */
}

/* Drop the bottom pill row slightly */
.rs-holo-ui-bottom {
    bottom: 0.7rem; /* was 1.4rem */
    justify-content: flex-start; /* or flex-end if you prefer it to the right */
}


/* ===============================
   Auth pages (login / register)
   =============================== */

.rs-auth-wrapper {
    min-height: calc(100vh - 160px); /* header+footer allowance */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem 4rem;
}

.rs-auth-card {
    width: 100%;
    max-width: 520px;
    padding: 2.25rem 2.1rem 2.6rem;
    border-radius: 1.8rem;
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.25), transparent 55%), radial-gradient(circle at 100% 100%, rgba(34,197,94,0.25), transparent 55%), rgba(6,12,29,0.96);
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: 0 32px 80px rgba(0,0,0,0.95), 0 0 40px rgba(56,189,248,0.5);
}

/* Header text */

.rs-auth-kicker {
    margin: 0 0 0.35rem 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148,163,184,0.9);
}

.rs-auth-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #f9fbff;
}

.rs-auth-sub {
    margin: 0 0 1.6rem 0;
    font-size: 0.95rem;
    color: rgba(203,213,225,0.9);
}

/* Inputs */

.rs-auth-card .form-floating > .form-control.rs-auth-input {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.6);
    color: #e5f2ff;
}

    .rs-auth-card .form-floating > .form-control.rs-auth-input:focus {
        background: rgba(15,23,42,1);
        border-color: var(--rs-accent-cyan);
        box-shadow: 0 0 0 1px rgba(56,189,248,0.6);
    }

.rs-auth-card .form-floating > label {
    color: rgba(148,163,184,0.9);
}

.rs-auth-card .form-control::placeholder {
    color: rgba(148,163,184,0.65);
}

/* Remember me + links */

.rs-auth-remember .form-check-input {
    background-color: rgba(15,23,42,0.9);
    border-color: rgba(148,163,184,0.8);
}

    .rs-auth-remember .form-check-input:checked {
        background-color: var(--rs-accent-cyan);
        border-color: var(--rs-accent-cyan);
    }

.rs-auth-remember .form-check-label {
    font-size: 0.86rem;
    color: rgba(209,213,219,0.95);
}

.rs-auth-link {
    font-size: 0.86rem;
    color: var(--rs-accent-cyan);
    text-decoration: none;
}

    .rs-auth-link:hover {
        color: var(--rs-accent-green);
        text-decoration: underline;
    }

/* Validation summary */

.rs-auth-validation {
    font-size: 0.86rem;
    margin-bottom: 0.75rem;
}

/* Button – reuses your rs-btn-primary gradient */

.rs-auth-submit {
    margin-top: 0.35rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

/* Stack nicely on small screens */

@media (max-width: 575.98px) {
    .rs-auth-card {
        padding: 2rem 1.4rem 2.3rem;
    }

    .rs-auth-title {
        font-size: 1.6rem;
    }
}

/* ===============================
   Portal shell
   =============================== */

.rs-portal-wrapper {
    padding: 2.5rem 0 3rem;
}

.rs-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.8rem;
}

.rs-portal-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148,163,184,0.9);
}

.rs-portal-header h1 {
    margin: 0 0 0.3rem;
    font-size: 1.9rem;
    letter-spacing: -0.02em;
    color: #f9fbff;
}

.rs-portal-header p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(203,213,225,0.9);
}

/* Grid wrapper so your existing col-sm-9/3 still feel nice */
.rs-portal-grid {
    margin-top: 0.5rem;
}

/* ===============================
   Generic portal card
   =============================== */

.rs-portal-card {
    border-radius: 1.4rem;
    padding: 1.3rem 1.4rem 1.1rem;
    margin-bottom: 1.4rem;
    background: radial-gradient(circle at 0 0, rgba(56,189,248,0.12), transparent 60%), rgba(8,16,36,0.96);
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

    .rs-portal-card h2 {
        font-size: 1.2rem;
        margin: 0 0 0.8rem;
        color: #e5f2ff;
        display: inline-flex;
        gap: 0.5rem;
        align-items: center;
    }

/* Little pill label for sections (Tasks / Estimates / Jobs) */
.rs-portal-tag {
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(148,163,184,0.6);
    color: rgba(148,163,184,0.95);
}

/* ===============================
   List rows (Tasks / Jobs)
   =============================== */

.rs-row-clickable {
    border-radius: 0.9rem;
    padding: 0.7rem 0.8rem;
    margin: 0.35rem 0;
    background: rgba(15,23,42,0.9);
    border: 1px solid transparent;
    transition: background .12s ease, border-color .12s ease, transform .08s ease;
}

    .rs-row-clickable:hover {
        background: radial-gradient(circle at 0 0, rgba(56,189,248,0.18), rgba(15,23,42,0.95));
        border-color: rgba(56,189,248,0.7);
        transform: translateY(-1px);
        text-decoration: none;
    }

/* Progress bar tweak to match brand */
.rs-portal-card .progress {
    background-color: rgba(15,23,42,0.85);
    border-radius: 999px;
    overflow: hidden;
}

.rs-portal-card .progress-bar.bg-success {
    background: linear-gradient(90deg, var(--rs-accent-green), #4ade80);
}

.rs-portal-card .progress-bar.bg-danger {
    background: linear-gradient(90deg, #f97373, #ef4444);
}

/* ===============================
   Side-column panels / admin
   =============================== */

.rs-portal-side-card {
    border-radius: 1.4rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1.2rem;
    background: rgba(8,16,36,0.98);
    border: 1px solid rgba(51,65,85,0.9);
}

    .rs-portal-side-card h2 {
        font-size: 1.05rem;
        margin: 0 0 0.8rem;
    }

    /* Buttons in admin menu */
    .rs-portal-side-card .menu-btn {
        width: 100%;
        margin-bottom: 0.4rem;
        border-radius: 999px;
        border: 1px solid rgba(148,163,184,0.4);
        background: radial-gradient(circle at 0 0, rgba(56,189,248,0.25), rgba(15,23,42,0.98));
        color: #e5f2ff;
        font-size: 0.87rem;
    }

        .rs-portal-side-card .menu-btn:hover {
            border-color: var(--rs-accent-cyan);
            color: #ffffff;
        }

/* -----------------------------------------
   Portal hero quick-links strip
   ----------------------------------------- */
/* ===============================
   Portal – guide tiles
   =============================== */

.rs-portal-guides-row {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.rs-guide-card-link {
    display: block;
    flex: 1 1 220px;
    max-width: 260px; /* tweak as you like */
    text-decoration: none;
}

.rs-guide-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 24px 60px rgba(0,0,0,0.7);
    aspect-ratio: 4 / 3; /* forces height */
}

    /* full-bleed image */
    .rs-guide-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* title overlay at bottom */
.rs-guide-card-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 18px 14px;
    background: linear-gradient( to top, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.0) );
    color: #f9fbff;
    font-weight: 600;
    font-size: 1rem;
}

/* small hover lift */
.rs-guide-card-link:hover .rs-guide-card {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.9);
    transition: transform .18s ease, box-shadow .18s ease;
}


/* -----------------------------------------
   Portal right column
   ----------------------------------------- */

.rs-portal-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Generic side card (right column) */
.rs-portal-side-card {
    border-radius: 1.8rem;
    padding: 1.2rem 1.4rem 1.4rem;
    background: radial-gradient(circle at 0% 0%, #0b1623, #020617 70%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.92), 0 0 24px rgba(56, 189, 248, 0.16);
    color: #e5f2ff;
}

/* Card header (kicker + title) */
.rs-portal-side-header {
    margin-bottom: 0.8rem;
}

    .rs-portal-side-header h3 {
        margin: 0.15rem 0 0;
        font-size: 1.05rem;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

.rs-side-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    letter-spacing: 0.16em;
}

/* Small caption under cards */
.rs-side-caption {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: rgba(209, 213, 219, 0.9);
}

/* -----------------------------------------
   Video card
   ----------------------------------------- */

.rs-portal-video-card {
    padding-bottom: 1.1rem;
}

.rs-portal-video-shell {
    position: relative;
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95), 0 0 32px rgba(56, 189, 248, 0.28);
    background: #020617;
}

.rs-portal-video {
    display: block;
    width: 100%;
    height: auto;
}

/* -----------------------------------------
   Side card button grid
   ----------------------------------------- */

.rs-side-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.6rem;
}

/* Reuse pill buttons from main theme but smaller */
.rs-pill-btn-sm {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    text-align: center;
}

/* Optional: slightly dim non-primary side buttons */
.rs-pill-btn-sm {
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.35), #020617);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.9), 0 0 14px rgba(56, 189, 248, 0.18);
}

    .rs-pill-btn-sm:hover {
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.95), 0 0 22px rgba(56, 189, 248, 0.32);
    }



/* -----------------------------------------
   Client logo card (non-admin)
   ----------------------------------------- */

.rs-client-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    border-radius: 1.2rem;
    background: radial-gradient(circle at 50% 0%, rgba(15, 23, 42, 0.9), #020617);
    border: 1px dashed rgba(148, 163, 184, 0.4);
    margin-top: 0.4rem;
}

    .rs-client-logo-wrap img {
        max-width: 100%;
        max-height: 80px;
        object-fit: contain;
    }

/* Responsive tweak */
@media (max-width: 991.98px) {
    .rs-portal-right-column {
        margin-top: 1.5rem;
    }
}

