/* Base styling for the WP Twitch Stream Box */
.wptsb-twitch-box { /* Class name changed */
    background-color: #2a2a2a;
    color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent; /* Default transparent border */
}

/* Styles for online status */
.wptsb-twitch-box.wptsb-online { /* Class name changed */
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Styles for offline status */
.wptsb-twitch-box.wptsb-offline { /* Class name changed */
    border-color: #ff0000;
}


.wptsb-twitch-box h2 { /* Class name changed */
    color: #9146ff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Specificity for initial hidden state (ID for the main container) */
/* This ID is specific to the first instance of the shortcode if not explicitly set */
#wptsb-twitch-player-container-indiagutierdj { /* Example ID, will be dynamic */
    margin-bottom: 20px;
    background-color: black;
    border-radius: 5px;
    overflow: hidden;
}

/* Make iframes responsive if width is 100% */
.wptsb-twitch-box iframe { /* Class name changed */
    max-width: 100%;
    height: auto;
}


/* Styling for offline content */
.wptsb-offline-content { /* Class name changed */
    text-align: center;
    padding: 20px 0;
}

.wptsb-offline-content p { /* Class name changed */
    font-size: 1.1em;
    margin-bottom: 15px;
}

.wptsb-twitch-button { /* Class name changed */
    display: inline-block;
    background-color: #9146ff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.wptsb-twitch-button:hover { /* Class name changed */
    background-color: #772ce8;
    color: #ffffff;
}

.wptsb-twitch-follow-cta { /* Class name changed */
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
}

/* Setup list styling */
.wptsb-setup { /* Class name changed */
    background-color: #3b3b3b;
    padding: 15px;
    border-radius: 5px;
    margin-top: 30px;
}

.wptsb-setup h3 { /* Class name changed */
    color: #9146ff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.wptsb-setup ul { /* Class name changed */
    list-style: none;
    padding: 0;
    margin: 0;
}

.wptsb-setup li { /* Class name changed */
    padding: 8px 0;
    border-bottom: 1px solid #4a4a4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wptsb-setup li:last-child { /* Class name changed */
    border-bottom: none;
}

.wptsb-setup li strong { /* Class name changed */
    margin-right: 10px;
    color: #e0e0e0;
}

.wptsb-setup li a { /* Class name changed */
    color: #00b0ff;
    text-decoration: none;
}

.wptsb-setup li a:hover { /* Class name changed */
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wptsb-twitch-box { /* Class name changed */
        padding: 15px;
    }
    .wptsb-twitch-box h2 { /* Class name changed */
        font-size: 1.5em;
    }
    .wptsb-twitch-box iframe { /* Class name changed */
        height: 300px !important;
    }
}