.justabutton-player { 
    max-width: 1000px; 
    margin: 30px auto; 
    background: #1a1a1a;
    padding: 10px;
    border-radius: 12px;
}

.justabutton-video {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

/* Made the tabs container responsive */
.justabutton-tab { 
    display: none; 
    width: 100%;
    /* Default height if min-height from JS fails */
    height: 510px; 
}
.justabutton-tab.active { 
    display: block; 
}

.justabutton-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #242424;
    border-radius: 0 0 8px 8px;
}

/* Styling for the new Label */
.justabutton-label { 
    color: #94a3b8; 
    margin-right: 5px; 
    font-size: 14px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Changed to proper button styles for accessibility */
.justabutton-btn { 
    background: #383838; 
    border: 1px solid #da3a3a2d; 
    color: #e2e8f0; 
    padding: 8px 14px; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    font-family: inherit;
    font-size: 14px;
}
.justabutton-btn.active { 
    border-color: #da3a3a2d; 
    background: #282828 !important; 
    box-shadow: 0 0 0 1px #da3a3a2d;
}
.justabutton-btn:hover { 
    background: #282828; 
}

/* Make it responsive for mobile devices */
@media (max-width: 768px) {
    .justabutton-tab {
        height: 350px;
    }
    .justabutton-player iframe {
        min-height: 350px !important;
    }
}

/* Admin Panel Adjustments */
.wp-list-table input.large-text {
    width: 100%;
    margin-bottom: 5px;
}

/* Frontend Player */
.justabutton-tabs { 
    margin-top: 15px; 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
    padding: 10px;
    background: #242424;
    border-radius: 0 0 12px 12px;
}

.justabutton-btn { 
    background: #383838; 
    border: 1px solid rgba(255,255,255,0.1); 
    color: #fff; 
    padding: 8px 16px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-size: 13px;
    transition: 0.2s;
}

.justabutton-btn.active { 
    background: #da3a3a !important; 
    border-color: #da3a3a; 
}