﻿.zc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #121212;
    color: #fff;
    box-shadow: 0 -8px 24px rgba(0,0,0,.2)
}

.zc-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 16px
}

.zc-text {
    font-size: .95rem;
    line-height: 1.4
}

.zc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.zc-link {
    color: #9bd1ff;
    text-decoration: underline
}

.zc-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer
}

.zc-btn-primary {
    background: #0d6efd;
    color: #fff
}

.zc-btn-outline {
    background: 0 0;
    color: #fff;
    border: 1px solid #5b5b5b
}

.zc-btn-muted {
    background: #2a2a2a;
    color: #ddd
}

.zc-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.55)
}

.zc-modal-card {
    width: min(720px,96vw);
    background: #1b1b1b;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,.3)
}

.zc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #2c2c2c
}

.zc-modal-body {
    padding: 16px 20px;
    max-height: 60vh;
    overflow: auto
}

.zc-modal-footer {
    padding: 16px 20px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    border-top: 1px solid #2c2c2c
}

.zc-h3 {
    margin: 0;
    font-size: 1.2rem
}

.zc-x {
    background: 0 0;
    border: 0;
    color: #bbb;
    font-size: 1rem;
    cursor: pointer
}

.zc-pref {
    padding: 12px 0;
    border-bottom: 1px dashed #2a2a2a
}

.zc-pref-head {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.zc-badge {
    font-size: .75rem;
    background: #2a2a2a;
    border-radius: 999px;
    padding: 4px 8px;
    color: #ddd
}

.zc-muted {
    color: #a7a7a7;
    font-size: .92rem
}

.zc-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px
}

    .zc-switch input {
        opacity: 0;
        width: 0;
        height: 0
    }

.zc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #555;
    border-radius: 999px;
    transition: .2s
}

    .zc-slider:before {
        content: "";
        position: absolute;
        height: 20px;
        width: 20px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: .2s
    }

.zc-switch input:checked + .zc-slider {
    background: #0d6efd
}

    .zc-switch input:checked + .zc-slider:before {
        transform: translateX(20px)
    }

@media (max-width:768px) {
    .zc-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .zc-actions {
        align-self: stretch;
        justify-content: flex-end
    }
}
