/* Custom overrides for standalone site */
/* Mobile menu styles */
.header_nav-mobile-menu {
    display: none;
}
.header_nav-mobile-menu.is-open {
    display: flex !important;
}

/* Accordion transitions */
.docs_accordion-bottom {
    transition: height 0.3s ease;
    overflow: hidden;
    height: 0;
}
.docs_accordion-plus,
.docs_accordion-minus {
    transition: opacity 0.2s;
    cursor: pointer;
}
.docs_accordion-top {
    cursor: pointer;
}

/* Ensure video containers work */
.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.video-item {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-item video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.video-item:hover {
    transform: scale(1.02);
}
@media (max-width: 600px) {
    .video-container {
        grid-template-columns: 1fr;
    }
    .video-item {
        height: 180px;
    }
}
@media (min-width: 900px) {
    .video-item {
        height: 280px;
    }
}

/* Dashboard card background fix */
.dashboard-card {
    background-color: #000 !important;
}
.form-group input {
    background-color: #111 !important;
    color: #fff;
}

/* Splide customizations */
.splide__track {
    overflow: visible !important;
}
.splide__arrows, .splide__pagination {
    display: none;
}

/* Copy button for code blocks */
.hljs-container {
    position: relative;
}
.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}
.copy-button:hover {
    background: #555;
}
