/* 26_demo.css - /v2/demo/ dedicated layout */

body.v2-demo-page {
    margin: 0;
    background: #f5f7fb;
    color: #14233c;
}

.v2-demo-shell {
    max-width: 1400px;
    margin: 12px auto 32px;
    padding: 0 14px 20px;
    box-sizing: border-box;
}

.v2-demo-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
    align-items: stretch;
    margin-bottom: 12px;
}

.v2-demo-hero {
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 16px;
    padding: 22px 22px 20px;
    margin: 0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.v2-demo-hero h1 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
    color: #10284b;
}

.v2-demo-hero p {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.55;
    color: #4c5c76;
}

.v2-demo-quick-steps {
    display: grid;
    gap: 7px;
    margin: 16px 0;
    padding-left: 24px;
    color: #243b5a;
    line-height: 1.5;
}

.v2-demo-quick-steps li {
    padding-left: 4px;
}

.v2-demo-hero .v2-demo-password-example {
    margin: 14px 0 0;
    color: #284d80;
}

.v2-demo-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.v2-demo-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #d4ddeb;
    border-radius: 10px;
    background: #ffffff;
    color: #19345d;
    font-weight: 700;
    text-decoration: none;
}

.v2-demo-nav a.is-current,
.v2-demo-nav a[aria-current="page"] {
    background: #edf4ff;
    border-color: #c5d7ff;
    color: #2157c9;
}

.v2-demo-nav .v2-demo-nav-apply {
    min-height: 44px;
    padding: 0 20px;
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 800;
}

.v2-demo-nav .v2-demo-nav-apply:hover {
    border-color: #1e3a8a;
    background: #1e3a8a;
    color: #ffffff;
}

.v2-demo-nav .v2-demo-nav-apply:focus-visible {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

.v2-demo-nav .v2-demo-nav-apply:active {
    border-color: #172554;
    background: #172554;
    color: #ffffff;
}

.v2-demo-page .v2-operation-guide--demo .v2-operation-guide__step-link {
    padding: 0;
    border-color: #93b4ef;
    background: #eff5ff;
}

.v2-demo-page .v2-operation-guide--demo .v2-operation-guide__step-link a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: #17458f;
    text-decoration: none;
}

.v2-demo-page .v2-operation-guide--demo .v2-operation-guide__step-link a:hover {
    background: #dce9ff;
    color: #123b7a;
}

.v2-demo-page .v2-operation-guide--demo .v2-operation-guide__step-link a:focus-visible {
    background: #e4eeff;
    color: #123b7a;
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

.v2-demo-page .v2-operation-guide--demo .v2-operation-guide__step-link a:active {
    background: #cbdcff;
    color: #0f3268;
}

.v2-demo-notice {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #f0d8a7;
    background: #fff8e7;
    border-radius: 14px;
    color: #6e5418;
}

.v2-demo-notice p {
    margin: 0;
    line-height: 1.6;
}

.v2-demo-policy {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #cfe0f7;
    border-radius: 14px;
    background: #ffffff;
}

.v2-demo-policy h2 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.4;
    color: #10284b;
}

.v2-demo-policy ul {
    column-count: 2;
    column-gap: 26px;
    margin: 0;
    padding-left: 20px;
    color: #40536f;
    line-height: 1.55;
}

.v2-demo-policy li + li {
    margin-top: 3px;
}

.v2-demo-policy li {
    break-inside: avoid;
}

.v2-demo-slots {
    margin-top: 4px;
}

.v2-demo-section-head {
    margin-bottom: 12px;
}

.v2-demo-section-head h2 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.4;
    color: #10284b;
    letter-spacing: -0.03em;
}

.v2-demo-section-head p {
    margin: 0;
    color: #465875;
    line-height: 1.45;
}

.v2-demo-slot-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.v2-demo-slot-card {
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 14px;
    padding: 22px 16px 18px;
    min-height: 198px;
    box-sizing: border-box;
}

.v2-demo-slot-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
    color: #10284b;
}

.v2-demo-slot-name {
    margin: 0 0 14px;
    color: #5f7089;
    font-size: 14px;
    line-height: 1.5;
}

.v2-demo-slot-badge-wrap {
    margin: 0 0 14px;
}

.v2-demo-slot-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.v2-demo-slot-badge--free {
    background: #e9f7ee;
    color: #14804a;
}

.v2-demo-slot-badge--in_use {
    background: #fdeeee;
    color: #bf2f2f;
}

.v2-demo-slot-badge--cleaning {
    background: #fff5df;
    color: #a66a00;
}

.v2-demo-slot-badge--disabled,
.v2-demo-slot-badge--unknown {
    background: #eef1f5;
    color: #58657a;
}

.v2-demo-slot-notice {
    margin: 0 0 18px;
    color: #465875;
    line-height: 1.6;
    min-height: 48px;
}

.v2-demo-slot-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 18px;
    padding: 12px;
    border-radius: 10px;
    background: #f6f8fb;
}

.v2-demo-slot-meta div {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.v2-demo-slot-meta dt {
    color: #687993;
    font-size: 13px;
    font-weight: 700;
}

.v2-demo-slot-meta dd {
    margin: 0;
    color: #21334f;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.v2-demo-slot-action {
    margin-top: auto;
}

.v2-demo-claim-form {
    margin: 0;
}

.v2-demo-release-form {
    margin: 0;
}

.v2-demo-owned-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.v2-demo-slot-action-note {
    margin: 8px 0 0;
    color: #687993;
    font-size: 13px;
    line-height: 1.5;
}

.v2-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #0d0d0f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.v2-demo-btn--disabled,
.v2-demo-btn:disabled {
    background: #a3adbb;
    cursor: not-allowed;
}

.v2-demo-reenter-link {
    background: #2457d6;
}

.v2-demo-release-btn {
    background: #6b7280;
}

@media (max-width: 1280px) {
    .v2-demo-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .v2-demo-top-grid {
        grid-template-columns: 1fr;
    }

    .v2-demo-policy ul {
        column-count: 1;
    }

    .v2-demo-slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .v2-demo-shell {
        padding: 0 10px 20px;
    }

    .v2-demo-hero {
        border-radius: 18px;
        padding: 22px 18px 20px;
    }

    .v2-demo-hero h1 {
        font-size: 24px;
    }

    .v2-demo-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .v2-demo-slot-grid {
        grid-template-columns: 1fr;
    }
}
