/* BBS Vox: Side Drawer Styles */
:root {
    --bbs-accent: #00ffaa;
    --bbs-bg: rgba(13, 13, 13, 0.85);
    --bbs-card: #1a1a1a;
    --bbs-text: #fff;
    --bbs-drawer-width: 400px;
}

@media (max-width: 500px) {
    :root {
        --bbs-drawer-width: 100vw;
    }
}

#bbs-drawer {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--bbs-drawer-width));
    width: var(--bbs-drawer-width);
    height: 100vh;
    background: var(--bbs-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    color: var(--bbs-text);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#bbs-drawer.is-open {
    transform: translateX(calc(-1 * var(--bbs-drawer-width)));
}

.bbs-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bbs-header h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--bbs-accent);
    letter-spacing: 1px;
}

.bbs-close {
    cursor: pointer;
    font-size: 1.8rem;
    opacity: 0.5;
    transition: 0.3s;
}

.bbs-close:hover {
    opacity: 1;
}

.bbs-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Form Styles */
.bbs-form-toggle {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--bbs-accent);
    letter-spacing: 1px;
    transition: background 0.3s;
}

.bbs-form-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bbs-form {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s, opacity 0.4s;
    opacity: 1;
}

.bbs-form.is-collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    opacity: 0;
    pointer-events: none;
}

.bbs-form-toggle.is-collapsed {
    background: rgba(0, 255, 170, 0.1);
}

.bbs-inp-group {
    margin-bottom: 10px;
}

.bbs-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bbs-select,
.bbs-input {
    width: 100%;
    padding: 8px 12px;
    background: #000;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

.bbs-slider-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bbs-slider {
    flex: 1;
    accent-color: var(--bbs-accent);
}

.bbs-val-v {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--bbs-accent);
    min-width: 3rem;
    text-align: center;
}

.bbs-submit {
    width: 100%;
    padding: 10px;
    background: var(--bbs-accent);
    color: #000;
    font-weight: 900;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.bbs-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 170, 0.4);
}

.bbs-submit:disabled {
    opacity: 0.5;
    transform: none;
    box-shadow: none;
}

/* Item Styles */
.bbs-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 12px;
    border-radius: 10px;
    border-left: 4px solid var(--bbs-accent);
    animation: bbs-slide 0.4s ease-out;
}

@keyframes bbs-slide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bbs-v-club {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--bbs-accent);
    margin-bottom: 2px;
    opacity: 0.8;
}

.bbs-v-msg {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #eee;
    margin-bottom: 5px;
}

.bbs-v-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #555;
    font-weight: 700;
}

/* Trigger Button */
#bbs-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--bbs-accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 2500;
    transition: 0.3s;
}

#bbs-trigger:hover {
    transform: scale(1.1);
}