﻿/* ========================================= 
   PORTAL SHELL / LAYOUT
   ========================================= */

.rs-portal {
    /* Full-page dark gradient background */
    background: radial-gradient(circle at 15% 0%, #141b2f 0, #050816 40%, #020617 80%);
    min-height: 100vh;
    padding: 1.5rem 0 3rem;
    color: #e5f2ff;
    font-size: 0.95rem;
}

    .rs-portal h2,
    .rs-portal h4 {
        color: #e5f2ff;
    }

.rs-portal-wrapper {
    max-width: 1660px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

.rs-portal-copy,
.rs-panel .rs-long-text {
    max-width: 70ch; /* keeps text readable even in wider panels */
}

/* Main grid under hero */
.rs-portal-grid {
    margin-top: 1.75rem; /* a bit tighter under the hero */
    align-items: flex-start; /* don't let tall cards pull others down */
}

/* Header block: “Client portal / Welcome Steve” */

.rs-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
}

.rs-portal-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(148,163,184,0.9);
    margin-bottom: 0.15rem;
}

.rs-portal-header h1 {
    font-size: 1.8rem;
    margin: 0 0 0.25rem;
    color: #f9fafb;
}

.rs-portal-header p {
    margin: 0;
    color: #c7d2fe;
    font-size: 0.95rem;
}

/* Optional generic tiles wrapper (legacy) */
.rs-portal-tiles {
    margin-bottom: 1.5rem;
}

/* =========================================
   Portal alerts (info / warning / danger)
   ========================================= */

.rs-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 1.1rem;
    border-radius: 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    box-shadow: 0 14px 30px rgba(0,0,0,0.7);
}

.rs-alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.1rem;
}

/* warm “warning / heads-up” look */
.rs-alert-warning {
    background: radial-gradient(circle at 0% 0%, rgba(251,191,36,0.22), rgba(15,23,42,0.96));
    border: 1px solid rgba(251,191,36,0.8);
    color: #fef3c7;
}

.rs-alert-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.85;
    margin-bottom: 0.15rem;
}

.rs-alert-body {
    color: #fefce8;
}








/* =========================================
   GENERIC CARDS (MAIN + SIDE + GUIDES)
   ========================================= */

/* Shared card shell */
.rs-portal-card,
.rs-portal-side-card,
.rs-portal-guides-card {
    border-radius: 1.5rem;
    padding: 1.75rem 1.75rem 1.5rem;
    margin-bottom: 1.75rem;
}

/* Main content cards (Tasks, Projects, etc.) */
.rs-portal-card {
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.16), rgba(15,23,42,0.96));
    border: 1px solid rgba(30,64,175,0.9);
    box-shadow: 0 22px 55px rgba(15,23,42,0.9);
}

/* Right-column cards (Admin, Users, Job tools, Featured video) */
.rs-portal-side-card {
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.18), rgba(15,23,42,0.98));
    border: 1px solid rgba(30,64,175,0.85);
    box-shadow: 0 16px 40px rgba(15,23,42,0.95);
}

.rs-portal-side-card--logo {
    text-align: center;
}

/* Right column spacing so Admin menu lines up nicely with Guides card */
.rs-portal-right-column .rs-portal-side-card:first-of-type {
    margin-top: 0; /* rely on rs-portal-grid gap instead of extra margin */
}


/* =========================================
   PANELS INSIDE CARDS (Estimates / Jobs / Tasks)
   ========================================= */

.rs-panel {
    margin-top: 1.3rem;
    padding: 1.1rem 1.1rem 1.25rem;
    border-radius: 1.4rem;
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(30,64,175,0.85);
    box-shadow: 0 18px 40px rgba(0,0,0,0.65);
}

.rs-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

/* Slightly larger gap for top-of-card panel headers */
.rs-panel-header--top {
    margin-bottom: 1.3rem;
}

.rs-panel-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #e5f0ff;
}

.rs-panel-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    color: var(--rs-accent-cyan);
}

/* Subheading / helper text under title */
.rs-panel-sub {
    font-size: 0.8rem;
    color: rgba(148,163,184,0.9);
    margin-top: 0.1rem;
}

/* Generic select styling for dropdowns inside panels */
.rs-panel select {
    background: #020617;
    color: #e5f2ff;
    border-radius: 999px;
    border: 1px solid rgba(75,85,99,0.9);
    padding: 0.47rem 0.8rem;
    font-size: 0.85rem;
}


/* Stack the Job estimate panel under the Job information panel */
.panel-stage .panel-flat {
    float: none; /* cancel any old float rules */
    display: block;
    width: 100%; /* make it span the card */
    margin-top: 1rem; /* nice gap from the content above */
}

    .panel-stage .panel-flat h4 {
        margin-bottom: 0.75rem;
    }

    .panel-stage .panel-flat .form-group {
        margin-bottom: 0.5rem;
    }


/* =========================================
   FILTER BAR (search + status dropdown)
   ========================================= */

.rs-portal-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.08), rgba(15,23,42,0.98));
    border: 1px solid rgba(148,163,184,0.3);
}

.rs-filter-input {
    background: rgba(15,23,42,0.9);
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.3);
    color: #e5f0ff;
    font-size: 0.9rem;
}

    .rs-filter-input::placeholder {
        color: rgba(148,163,184,0.8);
    }

.rs-filter-select-wrap {
    margin: 0;
}

.rs-filter-select {
    min-width: 120px;
    background: rgba(15,23,42,0.9);
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    color: #e5f0ff;
    font-size: 0.9rem;
}


/* =========================================
   TABLE / ROW LAYOUT (Tasks, Estimates, Jobs)
   ========================================= */

.rs-table-header {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148,163,184,0.95);
    border-bottom: 1px solid rgba(55,65,81,0.9);
    padding-bottom: 0.4rem;
    margin: 0.3rem 0 0.6rem;
}

/* Clickable rows */

.rs-row-link {
    display: block;
    padding: 0.55rem 0.7rem 0.75rem;
    border-radius: 1rem;
    margin-bottom: 0.35rem;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(30,64,175,0.65);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.15s ease;
    color: inherit;
    text-decoration: none;
}

    .rs-row-link:hover {
        transform: translateY(-1px);
        box-shadow: 0 15px 35px rgba(15,23,42,0.9);
        border-color: rgba(56,189,248,0.9);
        background: rgba(15,23,42,0.95);
        text-decoration: none;
    }

/* Extra meta line inside rows (dates, Overdue etc.) */

.rs-row-meta {
    font-size: 0.8rem;
    color: rgba(148,163,184,0.9);
    margin-top: 0.1rem;
}

/* Small logo preview on left of each row */

.rs-logo-thumb {
    width: 48px;
    object-fit: contain;
    border-radius: 0.5rem;
    background: #020617;
}


/* Admin toolbar row under hero */
.rs-portal-admin-row {
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .rs-portal-admin-row .rs-side-grid {
        grid-template-columns: 1fr; /* stack buttons on smaller screens */
    }
}

/* Admin toolbar row under/above hero */
.rs-portal-admin-row {
    margin-bottom: 2rem;
}

/* =========================================
   JOB SEARCH / LIST RESULT CARDS
   ========================================= */

.rs-job-search-list {
    margin-top: 0.5rem;
}

/* Clickable wrapper (wraps the whole card) */
.rs-job-list-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .rs-job-list-link:hover {
        text-decoration: none;
    }

/* Card that sits inside the link */
.rs-job-list-card {
    padding: 1.1rem 1.2rem 1.1rem;
    border-radius: 1.25rem;
    background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.96), rgba(15,23,42,1));
    border: 1px solid rgba(30,64,175,0.7);
    box-shadow: 0 14px 30px rgba(15,23,42,0.9);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.15s ease;
}

.rs-job-list-link:hover .rs-job-list-card {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.95);
    border-color: rgba(56,189,248,0.9);
    background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.98), rgba(15,23,42,1));
}

/* Small logo in header left */
.rs-job-list-logo {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    object-fit: contain;
    background: #020617;
    box-shadow: 0 0 0 1px rgba(15,23,42,0.9);
}

/* Title text in header */
.rs-job-list-title {
    font-size: 1rem;
    font-weight: 600;
    color: #e5f2ff;
}

/* Body spacing inside card */
.rs-job-list-body {
    margin-top: 0.35rem;
}

/* Progress bar shell for Bootstrap .progress inside dark cards */
.rs-progress-bar-shell {
    background: rgba(15,23,42,1);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(30,64,175,0.7);
}

    /* Style the inner Bootstrap .progress-bar (jobs list only) */
    .rs-progress-bar-shell .progress-bar {
        background: linear-gradient(90deg, #fb923c, #f97373);
        font-size: 0.75rem;
        font-weight: 500;
        color: #111827;
    }


/* =========================================
   PROGRESS BARS
   ========================================= */

.rs-progress {
    height: 18px;
    border-radius: 999px;
    background: rgba(15,23,42,1);
    overflow: hidden;
    margin-top: 0.25rem;
}

.rs-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c, #f97373); /* warm orange */
    box-shadow: 0 0 12px rgba(248,113,113,0.6);
    font-size: 0.75rem;
    line-height: 18px;
    text-align: center;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
}

.rs-progress-bar-danger {
    background: linear-gradient(90deg, #f97373, #ef4444); /* red for overdue */
    color: #1f0a0a;
}


/* =========================================
   STATUS CHIPS
   ========================================= */

.rs-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.05rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
}

.rs-chip-danger {
    background: rgba(248,113,113,0.2);
    border-color: rgba(248,113,113,0.7);
    color: #fecaca;
}

.rs-chip-success {
    border-color: #27e39a;
    color: #27e39a;
}


/* =========================================
   PILL BUTTONS (Client portal nav, Admin buttons)
   ========================================= */

.rs-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.5), rgba(15,23,42,0.96));
    box-shadow: 0 0 14px rgba(56,189,248,0.65);
    font-size: 0.85rem;
    color: #e5f2ff;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease, color 0.15s ease;
}

    .rs-pill-btn:hover {
        text-decoration: none;
        box-shadow: 0 0 20px rgba(56,189,248,0.9);
        transform: translateY(-1px);
        color: #ffffff;
    }

/* Smaller pill variant for side-card button grid */

.rs-pill-btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.9rem;
    text-align: center;
    white-space: normal; /* allow wrapping to two lines */
    line-height: 1.25;
}


/* =========================================
   SIDE-CARD BUTTON GRID (Admin / Users / Jobs)
   ========================================= */

.rs-side-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 12px;
}


/* =========================================
   GUIDES & QUICK-LINK TILES
   ========================================= */

/* Guides & resources card */
.rs-portal-guides-card {
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.16), rgba(15,23,42,0.96));
    border: 1px solid rgba(30,64,175,0.9);
}

/* 4 tiles across on desktop */
.rs-portal-guides-grid,
.rs-portal-quick-links { /* keep alias for older markup */
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

/* Smaller, cinematic tiles */
.rs-quick-link {
    position: relative;
    display: block;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top, #020617, #020617);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

/* Image fills the card */
.rs-quick-link-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Title as pill overlay */
.rs-quick-link-title {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

/* 2×2 on smaller screens */
@media (max-width: 992px) {
    .rs-portal-guides-grid,
    .rs-portal-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================
   RESPONSIVE TWEAKS FOR PORTAL LAYOUT
   ========================================= */

/* Tablets and down */
@media (max-width: 992px) {
    .rs-portal-wrapper {
        padding: 2rem 1.25rem 2.5rem;
    }

    .rs-portal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

        .rs-portal-header h1 {
            font-size: 1.6rem;
        }

    .rs-portal-side-card {
        margin-top: 1rem;
    }

    .rs-portal-grid .col-sm-9,
    .rs-portal-grid .col-sm-3 {
        width: 100%;
    }
}

/* Phones / narrow screens */
@media (max-width: 768px) {
    .rs-portal-wrapper {
        padding: 1.75rem 1rem 2.25rem;
    }

    .rs-portal-header h1 {
        font-size: 1.4rem;
    }

    .rs-portal-header p {
        font-size: 0.9rem;
    }

    .rs-portal-card,
    .rs-portal-side-card,
    .rs-portal-guides-card {
        border-radius: 1.2rem;
        padding: 1.1rem 1.1rem 1.3rem;
    }

    .rs-panel {
        padding: 0.9rem 0.9rem 1.1rem;
    }

    .rs-side-grid {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .rs-pill-btn-sm {
        width: 100%;
    }
}


/* =========================================
   Comments panel (Job edit)
   ========================================= */

.rs-panel-comment {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
}

    .rs-panel-comment:last-child {
        margin-bottom: 0;
    }

.rs-comment-body {
    font-size: 0.9rem;
    color: #e5f2ff;
}

.rs-comment-body span {
    font-size: 0.9rem;
    color: #e5f2ff !important; 
}

.rs-comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(148,163,184,0.9);
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rs-comment-meta {
    white-space: nowrap;
}

.rs-comment-actions {
    display: flex;
    gap: 0.75rem;
}

.rs-comment-link {
    color: rgba(148,163,184,0.9);
    text-decoration: none;
}

    .rs-comment-link:hover {
        color: #e5f2ff;
        text-decoration: underline;
    }


/* =========================================
   File upload header + form
   ========================================= */

.rs-file-header {
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.18), rgba(15,23,42,0.98));
    border: 1px solid rgba(30,64,175,0.8);
}

.rs-file-header-col {
    display: flex;
    flex-direction: column;
}

    .rs-file-header-col h3 {
        margin: 0;
        font-size: 0.95rem;
        color: #e5f2ff;
    }

.rs-file-header-col-right {
    text-align: right;
}

/* Keep it readable on small screens */
@media (max-width: 767.98px) {
    .rs-file-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .rs-file-header-col-right {
        text-align: left;
    }
}

/* File upload form inside portal panels */
.rs-file-upload-form {
    max-width: 420px;
}

    .rs-file-upload-form .rs-input-label {
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(148,163,184,0.9);
        margin-bottom: 0.25rem;
    }

    /* Dark inputs consistent with other portal controls */
    .rs-file-upload-form .rs-input-control {
        background: rgba(15,23,42,0.95);
        border-radius: 999px;
        border: 1px solid rgba(148,163,184,0.4);
        color: #e5f2ff;
        font-size: 0.9rem;
    }

        .rs-file-upload-form .rs-input-control:focus {
            border-color: rgba(56,189,248,0.9);
            box-shadow: 0 0 0 1px rgba(56,189,248,0.6);
        }

/* Message line under the button */
.rs-upload-message {
    font-size: 0.8rem;
    color: rgba(148,163,184,0.9);
}


/* =========================================
   Danger pill button
   ========================================= */

.rs-pill-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(248,113,113,0.75);
    background: radial-gradient(circle at 0% 0%, rgba(248,113,113,0.3), rgba(127,29,29,0.95));
    color: #fee2e2;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(248,113,113,0.6);
    white-space: nowrap;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

    .rs-pill-btn-danger:hover {
        text-decoration: none;
        background: radial-gradient(circle at 0% 0%, rgba(248,113,113,0.45), rgba(153,27,27,0.98));
        box-shadow: 0 0 24px rgba(248,113,113,0.9);
        transform: translateY(-1px);
        color: #fff;
    }


/* ================================
   Viewer styling
   ================================ */

.rs-viewer-shell {
    border-radius: 1.2rem;
    padding: 0.75rem;
    background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.12), rgba(15,23,42,0.98));
    border: 1px solid rgba(30,64,175,0.85);
    box-shadow: 0 16px 40px rgba(15,23,42,0.9);
}

.rs-viewer-frame {
    width: 100%;
    min-height: 360px;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 18px 45px rgba(0,0,0,0.85);
}

    .rs-viewer-frame iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

.rs-viewer-shell--empty {
    border-style: dashed;
    border-width: 1px;
    border-color: rgba(148,163,184,0.5);
    text-align: left;
    background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.96), rgba(15,23,42,1));
}


/* =========================================
   Stages / timeline
   ========================================= */

.rs-stages-card {
    /* inherits rs-portal-card */
}

/* Stage card */
.rs-stage-card {
    border-radius: 24px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.05);
}

/* Left meta column */
.rs-stage-meta {
    background: radial-gradient(circle at top left, rgba(0, 255, 255, 0.08), rgba(4, 18, 40, 0.95));
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rs-stage-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    opacity: 0.8;
}

.rs-stage-title {
    font-size: 1.1rem;
    margin: 6px 0 10px;
}

    .rs-stage-title a {
        color: #ffffff;
        text-decoration: none;
    }

        .rs-stage-title a:hover {
            text-decoration: underline;
        }

.rs-stage-meta-list {
    font-size: 0.85rem;
    line-height: 1.35;
    opacity: 0.9;
}

/* Small chips */
.rs-chip-small {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Task list */
.rs-stage-tasks,
.rs-stage-details {
    padding: 10px 4px;
}

.rs-section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.75;
}

.rs-task-pill {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 10px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rs-task-pill-done {
    border-color: rgba(0, 255, 170, 0.6);
}

.rs-task-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.rs-task-name a {
    color: #ffffff;
    text-decoration: none;
}

    .rs-task-name a:hover {
        text-decoration: underline;
    }

.rs-task-sub {
    font-size: 0.78rem;
    opacity: 0.8;
}

/* Detail block */
.rs-stage-detail-block {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 10px;
}

.rs-stage-detail-header {
    font-weight: 600;
    margin-bottom: 4px;
}

.rs-stage-detail-body {
    font-size: 0.86rem;
}

/* Timeline */
.rs-stage-timeline {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 16px;
    padding-top: 10px;
}

.rs-timeline-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.rs-timeline-label {
    padding: 4px 6px;
    text-align: left;
}

.rs-timeline-label-stage {
    font-weight: 600;
}

.rs-timeline-cell,
.rs-timeline-cell-closed {
    min-width: 26px;
    height: 22px;
    text-align: center;
    border-radius: 6px;
}

.rs-timeline-cell {
    border: 1px solid transparent;
}

.rs-timeline-cell-past {
    background-color: rgba(0, 255, 255, 0.40);
}

.rs-timeline-cell-future {
    border-color: rgba(0, 255, 255, 0.25);
}

.rs-timeline-cell-stage-past {
    background-color: rgba(0, 255, 255, 0.55);
}

.rs-timeline-cell-stage-future {
    border-color: rgba(0, 255, 255, 0.35);
}

.rs-timeline-cell-today {
    background-color: #ffca28;
}

.rs-timeline-cell-closed {
    background-color: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rs-timeline-date {
    padding-top: 2px;
    opacity: 0.75;
}


/* ===========================
   Breadcrumb — Riverstone style
   =========================== */

.rs-breadcrumb {
    margin-bottom: 1.5rem;
    color: #9fa8c3;
}

.rs-breadcrumb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: radial-gradient(circle at top left, #12263f 0, #050915 55%, #02040a 100%);
    box-shadow: 0 0 0 1px rgba(0, 216, 255, 0.14), 0 18px 45px rgba(0, 0, 0, 0.7);
}

.rs-breadcrumb-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.45);
    margin-right: 0.75rem;
    white-space: nowrap;
}

/* list layout */

.rs-breadcrumb-list {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.rs-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.55);
}

    /* separator “/” between items */
    .rs-breadcrumb-item + .rs-breadcrumb-item::before {
        content: "/";
        margin: 0 0.35rem;
        color: rgba(255, 255, 255, 0.28);
    }

    /* links */
    .rs-breadcrumb-item a {
        color: #1ca8ff;
        text-decoration: none;
        font-weight: 600;
    }

        .rs-breadcrumb-item a:hover {
            color: #55d8ff;
            text-shadow: 0 0 8px rgba(0, 216, 255, 0.5);
        }

/* current page */
.rs-breadcrumb-current {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* right-hand context (job title) */
.rs-breadcrumb-context {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
    text-align: right;
}


/* =========================================
   Stage tables / template list
   ========================================= */

.rs-table-stages {
    color: rgba(255,255,255,0.85);
    border-collapse: separate;
    border-spacing: 0 4px;
}

    .rs-table-stages thead th {
        border: 0;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(255,255,255,0.6);
        padding: 0.55rem 0.75rem;
    }

    .rs-table-stages tbody tr {
        background: radial-gradient(circle at top left,#0e2434 0,#050a14 60%);
        box-shadow: 0 8px 18px rgba(0,0,0,0.6);
    }

        .rs-table-stages tbody tr td {
            border-top: 1px solid rgba(255,255,255,0.03);
            border-bottom: 1px solid rgba(255,255,255,0.03);
            padding: 0.65rem 0.75rem;
            vertical-align: middle;
        }

/* Chips / KPI badge already partly covered by .rs-chip + .rs-chip-success */

.rs-badge-kpi {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    background: linear-gradient(90deg,#00d8ff,#27e39a);
    color: #02101e;
}

/* Links inside tables */

.rs-table-link {
    font-size: 0.85rem;
    color: #9fb5ff;
    text-decoration: none;
}

    .rs-table-link:hover {
        color: #d2e4ff;
    }

.rs-table-link-danger {
    color: #ff7a8a;
}

    .rs-table-link-danger:hover {
        color: #ffb3c0;
    }


/* ============================
   Stage template list styling
   ============================ */

.rs-template-header {
    padding: 0.35rem 0.8rem 0.25rem;
    margin-bottom: 0.25rem;
    border-radius: 14px;
    background: radial-gradient(circle at top left,#132b3f 0,#050b17 70%);
    border: 1px solid rgba(255,255,255,0.06);
}

    .rs-template-header .rs-row-meta {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.58);
    }

/* existing rows */
.rs-template-row {
    background: radial-gradient(circle at top left,#0e2434 0,#050a14 60%);
    border-radius: 16px;
    padding: 0.55rem 0.8rem;
    box-shadow: 0 8px 18px rgba(0,0,0,0.55);
}

.rs-template-parent {
    border: 1px solid rgba(0,216,255,0.22);
}

.rs-template-children {
    margin-top: 0.4rem;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 0.9rem;
}

.rs-template-child {
    margin-top: 0.25rem;
    border-radius: 12px;
    background: rgba(3,30,54,0.9);
}

.rs-color-swatch {
    width: 44px;
    height: 18px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(0,0,0,0.55);
    border: 1px solid rgba(0,0,0,0.6);
}

.rs-template-child-pip {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 8px;
    margin-top: 5px;
    background: linear-gradient(135deg,#00d8ff,#27e39a);
    box-shadow: 0 0 8px rgba(0,216,255,0.9);
}


/* Compact action links for index tables */
.rs-table-actions {
    white-space: nowrap;
    text-align: right;
    padding-right: 1rem;
}

.rs-action-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #30b6ff;
    text-decoration: none;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

    .rs-action-link:hover {
        color: #6fd5ff;
        text-shadow: 0 0 6px rgba(111, 213, 255, 0.7);
    }

.rs-action-danger {
    color: #ff6b81;
}

    .rs-action-danger:hover {
        color: #ff8fa0;
        text-shadow: 0 0 6px rgba(255, 107, 129, 0.8);
    }

/* subtle separator */
.rs-action-sep {
    margin: 0 0.4rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}


/* Grouping sections inside the template details panel */
.rs-panel-fields {
    padding: 4px 4px 0;
}

.rs-form-section + .rs-form-section {
    margin-top: 1.1rem;
}

/* Small uppercase section labels */
.rs-form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5ad2ff;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

/* Make inputs feel like part of the same card */
.rs-panel-fields .form-control,
.rs-panel .form-control {
    background: #041327;
    border-radius: 10px;
    border: 1px solid #153458;
    color: #ffffff;
}

    .rs-panel-fields .form-control:focus,
    .rs-panel .form-control:focus {
        border-color: #19c3ff;
        box-shadow: 0 0 0 1px rgba(25, 195, 255, 0.35);
    }

/* Colour input a bit smaller / nicer */
.rs-color-input {
    padding: 0;
    height: 38px;
    cursor: pointer;
}

/* Checkbox row: keep things aligned and compact */
.rs-panel-fields .form-check-label {
    font-size: 0.85rem;
    color: #e4f3ff;
}


/* ============================
   Flags (Stage / default / option)
   ============================ */

.rs-fieldset {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rs-fieldset-label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rs-accent-cyan, #27c2ff);
    margin-bottom: 12px;
}

/* Row layout */
.rs-flag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

/* Clickable pill */
.rs-flag-card {
    display: inline-block;
    position: relative;
    flex: 1 1 260px;
    cursor: pointer;
}

/* Shell gives us the rounded pill background */
.rs-flag-shell {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at 0 0, rgba(39, 194, 255, 0.18), rgba(4, 10, 25, 0.95));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.8);
    transition: box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

/* Make Option a bit wider on desktop */
.rs-flag-card--wide {
    flex: 1 1 100%;
}

/* Hide the native checkbox */
.rs-flag-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Square “neon” check box */
.rs-flag-check {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 2px solid var(--rs-accent-cyan, #27c2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: transparent;
    background: rgba(1, 8, 18, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9);
    flex-shrink: 0;
    transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

/* Text */
.rs-flag-body {
    display: flex;
    flex-direction: column;
}

.rs-flag-title {
    font-weight: 600;
    color: #ffffff;
}

.rs-flag-sub {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
}

/* Hover */
.rs-flag-card:hover .rs-flag-shell {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 18px rgba(39, 194, 255, 0.35);
}

/* Checked state – glow + filled check */
.rs-flag-checkbox:checked ~ .rs-flag-shell {
    background: radial-gradient(circle at 0 0, rgba(39, 194, 255, 0.38), rgba(4, 10, 25, 0.98));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 26px rgba(39, 194, 255, 0.6);
}

    .rs-flag-checkbox:checked ~ .rs-flag-shell .rs-flag-check {
        background: var(--rs-accent-cyan, #27c2ff);
        color: #01111f;
        box-shadow: 0 0 14px rgba(39, 194, 255, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.9);
    }

/* Mobile: stack all three vertically */
@media (max-width: 768px) {
    .rs-flag-card,
    .rs-flag-card--wide {
        flex: 1 1 100%;
    }
}


/* ============================
   Pricing option cards (job)
   ============================ */

.rs-option-card {
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--rs-border-soft, rgba(255,255,255,0.06));
    background: var(--rs-surface-subtle, rgba(255,255,255,0.02));
    padding: 0.75rem 0.9rem 0.9rem;
}

    .rs-option-card::before {
        content: "";
        position: absolute;
        inset-block: 0.5rem;
        inset-inline-start: 0;
        width: 4px;
        border-radius: 999px;
        background: var(--rs-accent-cyan, #22d3ee);
    }

.rs-option-card-header {
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 0.4rem;
    margin-bottom: 0.6rem;
}

.rs-option-chip {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--rs-text-muted, rgba(255,255,255,0.6));
}

.rs-option-template-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.rs-option-header-total-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rs-text-muted, rgba(255,255,255,0.6));
}

.rs-option-header-total-value {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Link heights of Job info + Pricing cards (single, cleaned block) */
.rs-job-main-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

    .rs-job-main-row > [class*="col-"] > .rs-portal-card {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

/* Left card: keep actions at bottom */
.rs-job-main-row .rs-job-actions {
    margin-top: auto;
}

.rs-file-list {
    margin: 0;
    padding: 0;
}

.rs-file-row {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: var(--rs-panel-bg, rgba(4,16,40,0.9));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02);
}

.rs-file-row-main {
    color: #fff;
}

.rs-file-link {
    color: #fff;
}


/* Make datetime picker icon visible on dark inputs (Chrome / Edge / Safari) */
.rs-portal input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.4);
    opacity: 0.9;
    cursor: pointer;
}

/* Optional: give it a slightly larger hit area */
.rs-portal input[type="datetime-local"] {
    padding-right: 2.5rem;
}

.rs-panel-footer {
    margin-top: 15px;
}


/* =========================================
   AUTH / LOGIN LAYOUT (Client portal login page)
   ========================================= */

.rs-auth-wrapper {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle at 20% -20%, #18ffff20, transparent 60%), radial-gradient(circle at 80% 120%, #00ff9530, transparent 60%), linear-gradient(135deg, #020617, #020617 40%, #020617);
    color: #e5e7eb;
}

/* Two-column layout */
.rs-auth-layout {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 3rem;
}

/* Left hero panel */
.rs-auth-hero {
    position: relative;
    padding: 2.5rem 2.25rem;
    border-radius: 1.75rem;
    background: radial-gradient(circle at top left, #0ea5e970, #020617);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.9), 0 0 0 1px rgba(15, 23, 42, 0.8);
    overflow: hidden;
}

.rs-auth-logo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.rs-auth-logo {
    height: 60px;
}

.rs-auth-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
}

.rs-auth-location {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.rs-auth-hero-title {
    font-size: 2.1rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

    .rs-auth-hero-title span {
        color: #22d3ee;
    }

.rs-auth-hero-sub {
    font-size: 0.95rem;
    color: #9ca3af;
    max-width: 26rem;
    margin-bottom: 1.5rem;
}

.rs-auth-hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

    .rs-auth-hero-list li::before {
        content: "•";
        color: #22d3ee;
        margin-right: 0.5rem;
    }

/* VR frame */
.rs-auth-hero-frame {
    position: relative;
    border-radius: 1.5rem;
    padding: 0.35rem;
    background: radial-gradient(circle at 10% 0, #22d3ee, #22c55e);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.55);
    max-width: 360px;
}

.rs-auth-hero-image {
    display: block;
    width: 100%;
    border-radius: 1.25rem;
}

/* Chips on image */
.rs-auth-hero-chip {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.75);
    color: #e5e7eb;
}

.rs-auth-hero-chip--secondary {
    left: auto;
    right: 1rem;
}

/* Right card (login form) */
.rs-auth-card {
    background: radial-gradient(circle at top, #0b1220, #020617 60%);
    border-radius: 1.5rem;
    padding: 2.25rem 2rem 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.9), 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.rs-auth-help {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Responsiveness */
@media (max-width: 900px) {
    .rs-auth-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
    }

    .rs-auth-hero {
        order: -1;
        padding: 1.75rem 1.5rem;
    }

    .rs-auth-hero-title {
        font-size: 1.8rem;
    }

    .rs-auth-hero-frame {
        max-width: 100%;
    }
}


/* =========================================
   PORTAL HERO BAND (top of dashboard)
   ========================================= */

.rs-portal-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
    padding: 2.25rem 2.25rem;
    border-radius: 1.75rem;
    background: radial-gradient(circle at 15% 0, #0ea5e950, #020617 55%), radial-gradient(circle at 85% 120%, #22c55e30, transparent 60%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.9), 0 0 0 1px rgba(15, 23, 42, 0.7);
}

.rs-portal-hero-main {
    flex: 1 1 280px;
    min-width: 0;
}

.rs-portal-sub {
    margin-top: 0.25rem;
    color: #9ca3af;
    max-width: 28rem;
}

.rs-portal-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

/* Right side: hero media (video) */
.rs-portal-hero-media {
    flex: 0 0 380px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.rs-portal-hero-video-frame {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    padding: 0.35rem;
    background: radial-gradient(circle at 10% 0, #22d3ee, #22c55e);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.55);
}

.rs-portal-hero-video {
    display: block;
    width: 100%;
    border-radius: 1.2rem;
}

/* Chips over the video */
.rs-hero-chip {
    position: absolute;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
}

.rs-hero-chip-main {
    top: 0.9rem;
    left: 1rem;
}

.rs-hero-chip-sub {
    top: 0.9rem;
    right: 1rem;
}

.rs-hero-media-caption {
    font-size: 0.85rem;
    color: #9ca3af;
    max-width: 320px;
}

/* Stack hero on small screens */
@media (max-width: 992px) {
    .rs-portal-hero {
        padding: 1.75rem 1.5rem;
        flex-direction: column;
    }

    .rs-portal-hero-media {
        align-items: flex-start;
        flex: 1 1 auto;
        min-width: 0;
    }
}


/* ============================================================
   Organisation table – readability + hover
   ============================================================ */

.rs-table {
    color: #e5f2ff;
    border-collapse: collapse;
    width: 100%;
}

    .rs-table thead th {
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: rgba(229, 242, 255, 0.85);
        border-bottom: 1px solid rgba(229, 242, 255, 0.18);
        padding: 0.75rem 1rem;
        background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.14), rgba(5, 8, 22, 0.95));
    }

    .rs-table tbody td {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        color: rgba(229, 242, 255, 0.9);
        border-bottom: 1px solid rgba(229, 242, 255, 0.06);
    }

    .rs-table tbody tr:last-child td {
        border-bottom-color: rgba(229, 242, 255, 0.12);
    }

    .rs-table tbody td:first-child strong {
        color: #ffffff;
        font-weight: 600;
    }

    .rs-table tbody tr:hover {
        background: radial-gradient(circle at 0 50%, rgba(0, 198, 255, 0.14), rgba(5, 8, 22, 0.98));
    }

    /* keep action links readable on dark bg */
    .rs-table .rs-comment-link {
        color: rgba(229, 242, 255, 0.9);
        font-weight: 500;
    }

        .rs-table .rs-comment-link.text-danger {
            color: #ff6161;
        }

/* ============================================================
   Org filters row
   ============================================================ */

.rs-org-toolbar {
    margin-bottom: 1.25rem;
}

.rs-org-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
}

.rs-org-filter-group {
    min-width: 230px;
}

    .rs-org-filter-group .rs-form-label {
        margin-bottom: 0.25rem;
    }

    .rs-org-filter-group .form-control-sm {
        background: rgba(3, 12, 32, 0.95);
        border-color: rgba(129, 199, 255, 0.5);
        color: #e5f2ff;
    }

        .rs-org-filter-group .form-control-sm::placeholder {
            color: rgba(229, 242, 255, 0.5);
        }

.rs-org-filter-actions {
    margin-left: auto;
}

@media (max-width: 768px) {
    .rs-org-filter {
        align-items: stretch;
    }

    .rs-org-filter-actions {
        width: 100%;
    }

        .rs-org-filter-actions .rs-pill-btn {
            width: 100%;
            text-align: center;
        }
}


/* ============================================================
   Organisation edit layout
   ============================================================ */

.rs-org-edit .rs-panel {
    padding-top: 1.25rem;
}

.rs-org-layout {
    align-items: flex-start;
}

/* header meta chip */
.rs-org-header-meta .rs-chip {
    background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.3), rgba(5, 8, 22, 0.95));
}

/* logo preview */
.rs-org-logo-block {
    display: flex;
    flex-direction: column;
}

.rs-org-logo-preview-shell {
    max-width: 420px;
}

.rs-org-logo-preview {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 1rem;
    background: radial-gradient(circle at 10% 0%, rgba(0, 198, 255, 0.12), rgba(3, 6, 22, 0.95));
    box-shadow: 0 0 0 1px rgba(129, 199, 255, 0.3), 0 20px 45px rgba(0, 0, 0, 0.7);
    padding: 0.75rem;
}

.rs-org-logo-preview--empty {
    opacity: 0.4;
}

.rs-file-input {
    background: rgba(3, 12, 32, 0.95);
    border-color: rgba(129, 199, 255, 0.6);
    color: #e5f2ff;
    font-size: 0.85rem;
}

/* job types grid */
.rs-org-jobtypes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.5rem;
}

.rs-org-jobtype {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin: 0;
    font-size: 0.9rem;
    color: rgba(229, 242, 255, 0.9);
}

    .rs-org-jobtype .form-check-input {
        margin-top: 0;
        background-color: rgba(3, 10, 28, 0.95);
        border-color: rgba(129, 199, 255, 0.7);
    }

        .rs-org-jobtype .form-check-input:checked {
            background-color: #00c6ff;
            border-color: #00c6ff;
        }

/* actions row */
.rs-org-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .rs-org-logo-preview-shell {
        max-width: 100%;
    }

    .rs-org-actions {
        flex-direction: column;
    }

        .rs-org-actions .rs-pill-btn,
        .rs-org-actions .rs-pill-btn-ghost {
            width: 100%;
            text-align: center;
        }
}


/* ============================================================
   Organisation edit — stage/job type pills + logo block
   ============================================================ */

.rs-org-header-meta .rs-chip {
    background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.32), rgba(5, 8, 22, 0.96));
}

/* Stage / job type pill toggles */
.rs-org-jobtypes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rs-org-stage-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(129, 199, 255, 0.45);
    background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.05), rgba(3, 10, 28, 0.95));
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(229, 242, 255, 0.9);
    gap: 0.4rem;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .rs-org-stage-pill:hover {
        border-color: rgba(0, 198, 255, 0.9);
        box-shadow: 0 0 12px rgba(0, 198, 255, 0.45);
    }

.rs-org-stage-checkbox {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid rgba(129, 199, 255, 0.9);
    background: rgba(4, 12, 32, 0.95);
    display: inline-block;
    position: relative;
}

    .rs-org-stage-checkbox:checked {
        background: #00c6ff;
        border-color: #00c6ff;
    }

        .rs-org-stage-checkbox:checked::after {
            content: "";
            position: absolute;
            inset: 3px;
            border-radius: 999px;
            background: #020617;
        }

.rs-org-stage-label {
    white-space: nowrap;
}

/* Logo block (reuses earlier styles but keeps them scoped) */
.rs-org-logo-block {
    display: flex;
    flex-direction: column;
}

.rs-org-logo-preview-shell {
    max-width: 100%;
}

.rs-org-logo-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 1rem;
    background: radial-gradient(circle at 10% 0%, rgba(0, 198, 255, 0.14), rgba(3, 6, 22, 0.98));
    box-shadow: 0 0 0 1px rgba(129, 199, 255, 0.35), 0 20px 45px rgba(0, 0, 0, 0.75);
    padding: 0.75rem;
}

.rs-org-logo-preview--empty {
    opacity: 0.35;
}

.rs-file-input {
    background: rgba(3, 12, 32, 0.96);
    border-color: rgba(129, 199, 255, 0.7);
    color: #e5f2ff;
    font-size: 0.85rem;
}

/* Actions row */
.rs-org-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .rs-org-actions {
        flex-direction: column;
    }

        .rs-org-actions .rs-pill-btn,
        .rs-org-actions .rs-pill-btn-ghost {
            width: 100%;
            text-align: center;
        }
}


/* ============================================================
   Organisation edit — vertical job type list
   ============================================================ */

.rs-org-jobtypes-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rs-org-jobtype-row {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.5rem;
    border-radius: 0.6rem;
    background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.05), rgba(3, 10, 28, 0.95));
    border: 1px solid rgba(129, 199, 255, 0.35);
    font-size: 0.85rem;
    color: rgba(229, 242, 255, 0.9);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .rs-org-jobtype-row:hover {
        border-color: rgba(0, 198, 255, 0.9);
        box-shadow: 0 0 10px rgba(0, 198, 255, 0.35);
    }

.rs-org-jobtype-checkbox {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.rs-org-jobtype-label {
    white-space: normal;
}

/* Keep the users/actions bits aligned nicely on smaller screens */
.rs-org-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .rs-org-actions {
        flex-direction: column;
    }

        .rs-org-actions .rs-pill-btn,
        .rs-org-actions .rs-pill-btn-ghost {
            width: 100%;
            text-align: center;
        }
}


.rs-user-role-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.rs-table.rs-table-compact td,
.rs-table.rs-table-compact th {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rs-link {
    text-decoration: none;
    font-size: 0.9rem;
}

    .rs-link:hover {
        text-decoration: underline;
    }

.rs-link-danger {
    color: #fca5a5;
}


/* =========================================
   Role chips (User list)
   ========================================= */

.rs-table-cell-roles {
    white-space: nowrap;
    vertical-align: middle;
}

    .rs-table-cell-roles .rs-chip-role {
        border-radius: 999px; /* pill shape */
        padding: 0.15rem 0.65rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        background: rgba(56, 189, 248, 0.08); /* subtle cyan glow */
        border: 1px solid rgba(56, 189, 248, 0.6);
    }


/* =========================================
   TABLES — Generic portal tables
   ========================================= */

.rs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .rs-table th,
    .rs-table td {
        padding: 0.5rem 0.75rem;
        vertical-align: middle;
    }

    .rs-table th {
        text-align: left;
        font-weight: 500;
        letter-spacing: 0.02em;
        color: #cbd5f5;
        border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    }

    .rs-table td {
        border-bottom: 1px solid rgba(15, 23, 42, 0.8);
    }

/* More compact variant for side panels / lists */
.rs-table-sm th,
.rs-table-sm td {
    padding: 0.4rem 0.5rem;
}

/* Grid / zebra style */
.rs-table-grid tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.4);
}

.rs-table-grid tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.7);
}

.rs-table-grid tbody tr:hover {
    background: rgba(30, 64, 175, 0.45);
}

/* Primary cell content */
.rs-table-cell-main {
    white-space: nowrap;
}

.rs-table-primary {
    font-weight: 500;
    color: #e5f2ff;
}

.rs-table-meta {
    font-size: 0.8rem;
    opacity: 0.85;
    color: #9ca3af;
}

/* Actions column */
.rs-table-actions-col {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

.rs-table-actions {
    text-align: right;
    white-space: nowrap;
}

/* =========================================
   CHIPS — Status / roles / small tags
   ========================================= */

.rs-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #e5f2ff;
    background: linear-gradient( 120deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.7) );
}

.rs-chip-role {
    margin: 0 0.18rem 0.18rem 0;
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(15, 23, 42, 0.95);
    color: #e0f2fe;
}

.rs-chip-danger {
    border-color: rgba(248, 113, 113, 0.8);
    background: rgba(127, 29, 29, 0.9);
    color: #fee2e2;
}

/* If you still use "pill" flavour anywhere (e.g. in other lists) */
.rs-chip-pill {
    border-radius: 999px;
    padding-inline: 0.75rem;
}

/* =========================================
   BUTTONS — extra-small pill action
   ========================================= */

.rs-pill-btn-xs {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}



/* Checklist rows */
.rs-checklist-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    margin-bottom: 0.35rem;
}

.rs-checklist-row-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* display order pill */
.rs-checklist-order {
    min-width: 1.75rem;
    height: 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e5f2ff;
    background: rgba(15, 23, 42, 0.85);
}

/* description */
.rs-checklist-desc {
    color: #e5f2ff;
    font-size: 0.9rem;
}

/* actions */
.rs-checklist-row-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


/* ============================
   Checklist groups + rows
   ============================ */

.rs-checklist-group {
    margin-bottom: 1.5rem;
}

.rs-checklist-group-header {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(214, 234, 255, 0.65);
    margin-bottom: 0.4rem;
}

.rs-checklist-group-items {
    padding: 0.45rem 0.6rem 0.6rem;
    border-radius: 18px;
    background: rgba(5, 16, 35, 0.85); /* single clean panel */
    border: 1px solid rgba(122, 209, 255, 0.08);
}

/* Each checklist row */
.rs-checklist-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: transparent; /* <- no banded stripe */
    transition: background 120ms ease-out;
}

    .rs-checklist-row + .rs-checklist-row {
        margin-top: 0.2rem;
    }

    .rs-checklist-row:hover {
        background: rgba(255, 255, 255, 0.02); /* subtle hover only */
    }

/* Left side: order + description + chips */
.rs-checklist-row-main {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.rs-checklist-order {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(97, 228, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: rgba(228, 243, 255, 0.9);
    flex-shrink: 0;
}

.rs-checklist-desc {
    font-size: 0.9rem;
    color: rgba(230, 241, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right side: actions */
.rs-checklist-row-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.rs-comment-link {
    border: 0;
    padding: 0;
    background: none;
    color: rgba(173, 207, 255, 0.9);
    font-size: 0.85rem;
    cursor: pointer;
}

.rs-comment-link-danger {
    color: #ff6b7b;
}

.rs-portal-table-row.rs-table-row-current {
    background: radial-gradient(circle at 0 0, rgba(97, 228, 255, 0.15), transparent 55%);
    border-color: rgba(97, 228, 255, 0.5);
}

/* =========================================
   JOB INDEX — filters + list
   ========================================= */

.rs-job-filters {
    row-gap: 0.75rem;
}

.rs-job-search {
    background-color: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e5f2ff;
}

    .rs-job-search::placeholder {
        color: rgba(148, 163, 184, 0.7);
    }

.rs-job-filter-select {
    background-color: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e5f2ff;
}

    .rs-job-filter-select option {
        color: #0f172a;
    }

/* Job list shell */
.rs-joblist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Clickable card wrapper */
.rs-job-card-link {
    text-decoration: none;
    color: inherit;
}

/* Card */
.rs-job-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.12), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: border-color 0.12s ease, background-color 0.12s ease, transform 0.08s ease;
}

    .rs-job-card:hover {
        border-color: rgba(96, 165, 250, 0.8);
        background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.98));
        transform: translateY(-1px);
    }

/* Main content (logo + body) */
.rs-job-card-main {
    display: flex;
    align-items: stretch;
    gap: 0.9rem;
    flex: 1 1 auto;
}

/* Logo */
.rs-job-logo-shell {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-job-logo {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #020617;
}

/* Body */
.rs-job-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Title + small meta */
.rs-job-title-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rs-job-title-main {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.rs-job-title {
    font-weight: 600;
    color: #e5f2ff;
}

.rs-job-meta-small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Type / size chips */
.rs-job-badge {
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.8);
}

/* Dates + progress */
.rs-job-dates {
    font-size: 0.8rem;
    color: #9ca3af;
}

.rs-job-progress {
    margin-top: 0.3rem;
    background-color: rgba(15, 23, 42, 0.85);
}

/* Status column */
.rs-job-status-col {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* Chip variants reused from other views; add if missing */
.rs-chip-safe {
    border-color: rgba(52, 211, 153, 0.8);
    color: #bbf7d0;
}

.rs-chip-warn {
    border-color: rgba(248, 113, 113, 0.9);
    color: #fecaca;
}

.rs-chip-outline {
    background: transparent;
}
/* Job filter select — improve dropdown readability */
.rs-job-filter-select {
    background-color: rgba(15, 23, 42, 0.95);
    border-color: rgba(96, 165, 250, 0.7);
    color: #e5f2ff;
}

    /* The actual dropdown options */
    .rs-job-filter-select option {
        background-color: #020617; /* very dark navy */
        color: #e5f2ff; /* light text */
    }

        /* Optional: slightly lighter when hovering / focused (Chromium & Firefox honour this) */
        .rs-job-filter-select option:checked,
        .rs-job-filter-select option:hover {
            background-color: #0b1120;
            color: #ffffff;
        }

.rs-label-inline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
    color: #e5f2ff;
}

.rs-label-value {
    font-weight: 500;
    color: #ffffff;
}

.rs-file-activity-row .text-truncate {
    max-width: 260px;
}

/* ============================================================
   Auth shell – truly centre the card on the page
   ============================================================ */
.rs-auth-shell {
    min-height: calc(100vh - 80px); /* leave space for top nav */
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    padding: 4rem 1.5rem 5rem;
}

/* Main card */
.rs-auth-panel {
    width: 100%;
    max-width: 960px; /* wider, less cramped */
    margin: 0 auto;
    border-radius: 26px;
    padding: 2.75rem 3rem;
    background: radial-gradient(circle at 0 0, #1c2845 0, #050816 50%, #020617 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

/* Inner layout: form + copy columns */
.rs-auth-panel-inner {
    display: grid;
    grid-template-columns: minmax(0, 430px) minmax(0, 380px);
    gap: 3rem;
    align-items: flex-start;
}

/* Headings / text breathing room */
.rs-auth-panel h1,
.rs-auth-panel h2 {
    margin-bottom: 0.75rem;
}

.rs-auth-copy {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* General input baseline to beat UA defaults */
.rs-auth-input {
    background-color: #020617;
    color: #e5f2ff;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}




/* Stack nicely on mobile */
@media (max-width: 900px) {
    .rs-auth-shell {
        align-items: flex-start;
        padding-top: 3rem;
    }

    .rs-auth-panel {
        padding: 2rem 1.75rem;
    }

    .rs-auth-panel-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


/* ====================================================================
   Shared input theme — portal + auth
   ==================================================================== */

:root {
    /* tweak these 2 to taste */
    --rs-input-bg: #071728; /* lighter than card */
    --rs-input-border: rgba(97, 228, 255, 0.28);
    --rs-input-border-fg: rgba(97, 228, 255, 0.75);
}

/* Base inputs used in login / reset / invite / accept-invite cards */
.rs-auth-input,
.rs-auth-card .form-control,
.rs-portal .form-control,
.rs-portal .rs-datetime {
    background-color: var(--rs-input-bg);
    border-color: var(--rs-input-border);
    color: #e5f2ff;
}

    /* Focus state – a bit more pop */
    .rs-auth-input:focus,
    .rs-auth-card .form-control:focus,
    .rs-portal .form-control:focus,
    .rs-portal .rs-datetime:focus {
        background-color: var(--rs-input-bg);
        border-color: var(--rs-input-border-fg);
        box-shadow: 0 0 0 1px var(--rs-input-border-fg);
        color: #ffffff;
    }

    /* Make sure placeholders stay readable */
    .rs-auth-input::placeholder,
    .rs-auth-card .form-control::placeholder,
    .rs-portal .form-control::placeholder {
        color: rgba(229, 242, 255, 0.55);
    }

    /* Keep autofill consistent with the new colour */
    .rs-auth-input:-webkit-autofill,
    .rs-auth-card .form-control:-webkit-autofill,
    .rs-portal .form-control:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 1000px var(--rs-input-bg) inset !important;
        -webkit-text-fill-color: #e5f2ff !important;
        caret-color: #e5f2ff !important;
    }

.rs-chip-order {
    display: inline-block;
    min-width: 28px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    background: rgba(5, 120, 255, 0.12);
    color: #61e4ff;
    border: 1px solid rgba(97, 228, 255, 0.5);
}

.rs-chip-option {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #0b2236;
    color: #9fe7ff;
    border: 1px solid #1f4a66;
}


/* Single-card auth layout (e.g. Register, internal pages) */
.rs-auth-layout--single {
    display: grid;
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

    .rs-auth-layout--single .rs-auth-card {
        max-width: 520px;
    }

/* =========================================
   Cart rows / layout
   ========================================= */

.rs-cart-row {
    border-radius: 10px;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.35rem;
    background: rgba(15, 23, 42, 0.85); /* subtle panel on dark bg */
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-decoration: none;
}

    .rs-cart-row:hover {
        border-color: var(--rs-accent-cyan, #61e4ff);
        background: rgba(15, 23, 42, 0.98);
        text-decoration: none;
    }

/* Footer strip under cart items (total + Stripe button) */
.rs-cart-footer {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

/* Slightly dimmed chip for quantity */
.rs-chip-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.9);
    color: #e5f2ff;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

/* Extra-small pill button (for Remove) */
.rs-pill-btn-xs {
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

/* =========================================
   Stripe payment button
   ========================================= */

.rs-stripe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    /* Stripe-ish colours */
    background: linear-gradient(135deg, #635bff, #3a2fd7);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.8);
    transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
}

    .rs-stripe-btn:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg, #746dff, #4b40f0);
        box-shadow: 0 10px 24px rgba(99, 91, 255, 0.6), 0 0 0 1px rgba(15, 23, 42, 0.9);
        text-decoration: none;
        color: #ffffff;
    }

    .rs-stripe-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(99, 91, 255, 0.4), 0 0 0 1px rgba(15, 23, 42, 0.9);
    }

    .rs-stripe-btn:focus-visible {
        outline: 2px solid #61e4ff;
        outline-offset: 2px;
    }

/* Small "stripe" chip inside the button */
.rs-stripe-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(10, 18, 40, 0.65);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: lowercase;
}

/* Optional helper text under the button */
.rs-stripe-caption {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #9fb7d9;
}

