/* ═══════════════════════════════════════════════════════════
   SIMPLY KANBAN — DEMO MODE STYLES
   Loaded only on demo.php
   ═══════════════════════════════════════════════════════════ */

/* ─── Demo banner ─────────────────────────────────────────── */
.demo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #fff8e1 0%, #fff3cd 100%);
    border-bottom: 2px solid #f0c674;
    color: #5a4a1a;
    font-size: 14px;
    flex-wrap: wrap;
}

.demo-banner-text {
    flex: 1;
    min-width: 220px;
}

.demo-banner-text strong {
    margin-right: 6px;
}

.demo-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.demo-reset-btn {
    background: transparent;
    border: 1px solid #c9a64d;
    color: #5a4a1a;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.demo-reset-btn:hover {
    background: rgba(201, 166, 77, 0.15);
}

.demo-signup-btn {
    background: #2ecc71;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.demo-signup-btn:hover {
    background: #27ae60;
    color: #fff;
}

@media (max-width: 600px) {
    .demo-banner {
        padding: 10px 12px;
        font-size: 13px;
    }
    .demo-banner-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Top bar signup button — demo page only */
.demo-top-signup {
    background: #2ecc71;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.demo-top-signup:hover {
    background: #27ae60;
}

/* ─── Banner hint line ────────────────────────────────────── */
.demo-banner-hint {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: #8b7340;
    font-style: italic;
}

/* ─── Features strip ──────────────────────────────────────── */
.demo-features {
    max-width: 1200px;
    margin: 40px auto 30px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f8f9fb 0%, #eef2f7 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.demo-features-title {
    text-align: center;
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.demo-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 24px;
}

.demo-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.demo-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.demo-features-list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.demo-features-list li strong {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
}

.demo-features-list li span {
    color: #6b7c93;
    font-size: 12.5px;
    line-height: 1.4;
}

.demo-features-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.demo-features-btn {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.demo-features-btn:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-1px);
}

.demo-features-note {
    display: block;
    margin-top: 10px;
    font-size: 12.5px;
    color: #8a96a8;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .demo-features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .demo-features-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .demo-features {
        padding: 24px 16px;
        margin: 24px 12px 24px;
    }
    .demo-features-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .board {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px 16px;
    }

    .board-swipe-wrapper {
        display: flex;
        gap: 12px;
        width: max-content;
        transition: none; /* kill the JS-transform transition */
    }

    .column {
        min-width: 85vw;
        width: 85vw;
        flex-shrink: 0;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        padding: 16px 14px 60px;
    }

    .column h2 {
        display: flex; /* override the main app's display:none for demo */
    }
}