/* ========================================================================== */
/* NET RENTALS — SANDBOX                                                      */
/* /css/marketing/sandbox.css                                                 */
/*                                                                            */
/* Depends on:                                                               */
/* /css/marketing/rentals-marketing-ui.css                                   */
/*                                                                            */
/* Visual sources:                                                           */
/* - Net Rentals marketing shell                                             */
/* - Net Rentals Website admin                                               */
/* - Production / Sandbox environment switch                                 */
/* ========================================================================== */


/* ========================================================================== */
/* 1. PAGE                                                                    */
/* ========================================================================== */

.sandbox-page {
    background: var(--nr-paper);
}


/* ========================================================================== */
/* 2. HERO                                                                    */
/* ========================================================================== */

.sandbox-hero {
    padding-top: 92px;
    padding-bottom: 92px;

    overflow: hidden;

    background: var(--nr-paper);
}

.sandbox-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(470px, 1.08fr);

    gap: 72px;

    align-items: center;
}

.sandbox-hero-copy {
    max-width: 640px;
}

.sandbox-hero-copy .nr-page-description {
    max-width: 590px;
}


/* ========================================================================== */
/* 3. ADMIN MOCKUP                                                            */
/* ========================================================================== */

.sandbox-admin-demo {
    width: 100%;
}

.sandbox-admin-window {
    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    background: #09090b;

    box-shadow:
        0 34px 72px -32px
        rgba(0, 0, 0, 0.5);
}


/* ========================================================================== */
/* 4. MINI TOPBAR                                                             */
/* ========================================================================== */

.sandbox-admin-topbar {
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 0 17px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background: #09090b;
}

.sandbox-admin-topbar-left {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 11px;
}

.sandbox-admin-topbar-left strong {
    color: #fafafa;

    font-size: 10px;
    font-weight: 750;
}

.sandbox-admin-menu {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.sandbox-admin-menu i {
    width: 13px;
    height: 1px;

    display: block;

    border-radius: 999px;

    background: #71717a;
}

.sandbox-environment-badge {
    padding: 4px 7px;

    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 6px;

    background: rgba(96, 165, 250, 0.08);
    color: #60a5fa;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.05em;
}

.sandbox-admin-status {
    flex: 0 0 auto;

    color: #52525b;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ========================================================================== */
/* 5. ADMIN BODY                                                              */
/* ========================================================================== */

.sandbox-admin-body {
    display: grid;

    grid-template-columns:
        142px
        minmax(0, 1fr);

    min-height: 390px;
}


/* ========================================================================== */
/* 6. MINI SIDEBAR                                                            */
/* ========================================================================== */

.sandbox-admin-sidebar {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 17px 11px;

    border-right: 1px solid rgba(255, 255, 255, 0.06);

    background: #111113;
}

.sandbox-admin-brand {
    padding: 0 7px 16px;
}

.sandbox-admin-brand strong {
    display: block;

    overflow: hidden;

    color: #fafafa;

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.sandbox-admin-brand span {
    display: block;

    margin-top: 3px;

    color: #71717a;

    font-size: 6px;
}

.sandbox-admin-nav,
.sandbox-admin-system {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.sandbox-admin-nav span,
.sandbox-admin-system span {
    min-height: 30px;

    display: flex;
    align-items: center;

    padding: 0 8px;

    border-radius: 7px;

    color: #71717a;

    font-size: 7px;
    font-weight: 600;
}

.sandbox-admin-nav span.active {
    background: #18181b;
    color: #fafafa;
}

.sandbox-admin-system {
    margin-top: auto;

    padding-top: 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sandbox-admin-system span.active {
    border: 1px solid rgba(96, 165, 250, 0.14);

    background: rgba(96, 165, 250, 0.07);
    color: #60a5fa;
}


/* ========================================================================== */
/* 7. MINI WEBSITE SETTINGS                                                   */
/* ========================================================================== */

.sandbox-admin-content {
    min-width: 0;

    padding: 23px;

    background: #09090b;
}

.sandbox-admin-pill {
    display: inline-flex;
    align-items: center;

    padding: 5px 8px;

    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 999px;

    background: rgba(96, 165, 250, 0.08);
    color: #60a5fa;

    font-size: 6px;
    font-weight: 800;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sandbox-admin-content h2 {
    margin: 12px 0 5px;

    color: #fafafa;

    font-size: 22px;
    line-height: 1;
    font-weight: 850;

    letter-spacing: -0.04em;
}

.sandbox-admin-content > p {
    margin: 0 0 18px;

    color: #71717a;

    font-size: 8px;
    line-height: 1.55;
}

.sandbox-setting-card {
    min-width: 0;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 13px;

    background: #18181b;
}

.sandbox-setting-card > span {
    display: block;

    color: #52525b;

    font-size: 6px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sandbox-setting-card > strong {
    display: block;

    margin-top: 6px;

    overflow: hidden;

    color: #fafafa;

    font-size: 9px;
    line-height: 1.35;
    font-weight: 750;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.sandbox-setting-card > small {
    display: block;

    margin-top: 5px;

    color: #4ade80;

    font-size: 6px;
    font-weight: 700;
}

.sandbox-setting-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;

    margin-top: 9px;
}


/* ========================================================================== */
/* 8. ENVIRONMENTS                                                            */
/* ========================================================================== */

.sandbox-environments {
    background: var(--nr-card);
}

.sandbox-environments-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.84fr)
        minmax(440px, 1.16fr);

    gap: 72px;

    align-items: center;
}

.sandbox-environments-copy {
    max-width: 520px;
}

.sandbox-environment-pair {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.sandbox-environment-card {
    min-height: 280px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    border-radius: 21px;
}

.sandbox-environment-card.production {
    border: 1px solid var(--nr-border);

    background: var(--nr-paper);
}

.sandbox-environment-card.sandbox {
    border: 1px solid rgba(96, 165, 250, 0.16);

    background: #09090b;

    box-shadow:
        0 26px 54px -30px
        rgba(0, 0, 0, 0.5);
}

.sandbox-environment-card-top {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--nr-text-muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sandbox-environment-card.sandbox
.sandbox-environment-card-top {
    color: #71717a;
}

.sandbox-environment-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #4ade80;

    box-shadow:
        0 0 0 4px
        rgba(74, 222, 128, 0.08);
}

.sandbox-environment-card.sandbox
.sandbox-environment-dot {
    background: #60a5fa;

    box-shadow:
        0 0 0 4px
        rgba(96, 165, 250, 0.08);
}

.sandbox-environment-card > strong {
    display: block;

    margin-top: auto;

    color: var(--nr-text-dark);

    font-size: 22px;
    line-height: 1.15;
    font-weight: 750;

    letter-spacing: -0.03em;
}

.sandbox-environment-card.sandbox > strong {
    color: #fafafa;
}

.sandbox-environment-card > p {
    margin: 10px 0 20px;

    color: var(--nr-text-gray);

    font-size: 12px;
    line-height: 1.6;
}

.sandbox-environment-card.sandbox > p {
    color: #71717a;
}

.sandbox-environment-url {
    margin-top: auto;

    padding-top: 15px;

    border-top: 1px solid var(--nr-border);

    color: var(--nr-primary);

    font-size: 9px;
    font-weight: 750;
}

.sandbox-environment-card.sandbox
.sandbox-environment-url {
    border-top-color: rgba(255, 255, 255, 0.06);

    color: #60a5fa;
}


/* ========================================================================== */
/* 9. TESTING                                                                 */
/* ========================================================================== */

.sandbox-testing {
    background: var(--nr-primary-tint);
}

.sandbox-centered-header {
    max-width: 740px;

    margin-inline: auto;

    text-align: center;
}

.sandbox-centered-header .nr-section-description {
    margin-inline: auto;
}

.sandbox-testing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 42px;
}

.sandbox-testing-card {
    min-height: 245px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    border: 1px solid var(--nr-primary-line);
    border-radius: 20px;

    background: var(--nr-card);
}

.sandbox-testing-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 36px;

    border: 1px solid var(--nr-primary-line);
    border-radius: 13px;

    background: var(--nr-primary-tint);
    color: var(--nr-primary);
}

.sandbox-testing-icon svg {
    width: 21px;
    height: 21px;
}

.sandbox-testing-card h3 {
    margin: auto 0 9px;

    color: var(--nr-text-dark);

    font-size: 19px;
    line-height: 1.2;
    font-weight: 720;

    letter-spacing: -0.02em;
}

.sandbox-testing-card p {
    margin: 0;

    color: var(--nr-text-gray);

    font-size: 12px;
    line-height: 1.6;
}


/* ========================================================================== */
/* 10. ENVIRONMENT SWITCH                                                     */
/* ========================================================================== */

.sandbox-switch {
    background: var(--nr-paper);
}

.sandbox-switch-layout {
    display: grid;

    grid-template-columns:
        minmax(430px, 1.08fr)
        minmax(0, 0.92fr);

    gap: 72px;

    align-items: center;
}

.sandbox-switch-copy {
    max-width: 530px;
}

.sandbox-switch-demo {
    width: 100%;
}

.sandbox-switch-window {
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;

    background: #09090b;

    box-shadow:
        0 30px 64px -30px
        rgba(0, 0, 0, 0.48);
}

.sandbox-switch-heading {
    padding: 18px 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background: #111113;
}

.sandbox-switch-heading span {
    display: block;

    color: #52525b;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sandbox-switch-heading strong {
    display: block;

    margin-top: 5px;

    color: #fafafa;

    font-size: 16px;
    font-weight: 800;
}

.sandbox-switch-row {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 16px 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    background: #09090b;
}

.sandbox-switch-row:last-child {
    border-bottom: 0;
}

.sandbox-switch-row.current {
    background: #111113;
}

.sandbox-switch-row > div {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 11px;
}

.sandbox-switch-row > div > div {
    min-width: 0;
}

.sandbox-switch-dot {
    width: 10px;
    height: 10px;

    flex: 0 0 10px;

    border-radius: 50%;

    background: #60a5fa;

    box-shadow:
        0 0 0 5px
        rgba(96, 165, 250, 0.08);
}

.sandbox-switch-dot.production {
    background: #4ade80;

    box-shadow:
        0 0 0 5px
        rgba(74, 222, 128, 0.08);
}

.sandbox-switch-row strong {
    display: block;

    color: #fafafa;

    font-size: 12px;
    font-weight: 750;
}

.sandbox-switch-row small {
    display: block;

    margin-top: 3px;

    color: #71717a;

    font-size: 8px;
}

.sandbox-switch-badge {
    flex: 0 0 auto;

    padding: 5px 8px;

    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 999px;

    background: rgba(96, 165, 250, 0.08);
    color: #60a5fa;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sandbox-switch-action {
    flex: 0 0 auto;

    min-height: 31px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 11px;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;

    background: #18181b;
    color: #fafafa;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ========================================================================== */
/* 11. TABLET                                                                 */
/* ========================================================================== */

@media (max-width: 1050px) {

    .sandbox-hero-grid,
    .sandbox-environments-layout,
    .sandbox-switch-layout {
        grid-template-columns: 1fr;

        gap: 48px;
    }

    .sandbox-hero-copy,
    .sandbox-environments-copy,
    .sandbox-switch-copy {
        max-width: 720px;
    }

    .sandbox-admin-demo,
    .sandbox-environment-pair,
    .sandbox-switch-demo {
        max-width: 700px;
    }

    .sandbox-testing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ========================================================================== */
/* 12. MOBILE                                                                 */
/* ========================================================================== */

@media (max-width: 800px) {

    .sandbox-hero {
        padding-top: 62px;
        padding-bottom: 72px;
    }

    .sandbox-admin-window,
    .sandbox-switch-window {
        border-radius: 19px;
    }

    .sandbox-environment-pair {
        grid-template-columns: 1fr;
    }

    .sandbox-environment-card {
        min-height: 230px;
    }

    .sandbox-testing-grid {
        grid-template-columns: 1fr;
    }

    .sandbox-testing-card {
        min-height: 0;
    }

    .sandbox-testing-icon {
        margin-bottom: 30px;
    }
}


/* ========================================================================== */
/* 13. SMALL MOBILE                                                           */
/* ========================================================================== */

@media (max-width: 560px) {

    .sandbox-admin-body {
        grid-template-columns: 1fr;
    }

    .sandbox-admin-sidebar {
        display: none;
    }

    .sandbox-admin-content {
        min-height: 330px;

        padding: 20px 16px;
    }

    .sandbox-admin-topbar {
        padding-inline: 14px;
    }

    .sandbox-admin-status {
        display: none;
    }

    .sandbox-setting-grid {
        grid-template-columns: 1fr;
    }

    .sandbox-environment-card {
        min-height: 215px;

        padding: 21px;
    }

    .sandbox-testing-card {
        padding: 22px;
    }

    .sandbox-switch-row,
    .sandbox-switch-heading {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* ========================================================================== */
/* 14. REDUCED MOTION                                                         */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .sandbox-admin-window,
    .sandbox-environment-card,
    .sandbox-testing-card,
    .sandbox-switch-window {
        transition: none;
    }
}