/* ChatbotBuilder (Español) Channel Specific Styles */

/* Main container */
#chatbotbuilder-es-container {
    background-color: #0f0f0f;
    color: #ffffff;
    display: flex;
}

/* Header styles */
.channel-header {
    text-align: center;
}

.channel-header h1 {
    color: #ffffff;
    font-size: 24px;
    text-transform: uppercase;
    background-color: rgba(42, 42, 42, 0.9);
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Sidebar styles */
.channel-sidebar {
    background-color: #1a1a1a;
    width: 220px; /* Slightly wider to accommodate longer Spanish text */
    flex-shrink: 0;
}

.sidebar-nav a {
    color: #ffffff;
    padding: 10px 15px; /* Add more padding for better touch targets */
    display: block;
    text-decoration: none;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: #2a2a2a;
}

/* Main content area */
.channel-main {
    flex-grow: 1;
    padding-left: 20px;
}

/* Search form */
.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    border: none;
    background-color: #ffffff;
    color: #0f0f0f;
    width: 70%;
    max-width: 500px;
    padding: 10px;
    border-radius: 5px 0 0 5px;
}

.search-form button {
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #45a049;
}

/* YouTube events section */
.youtube-events-section h2 {
    color: #ffffff;
    background-color: rgba(42, 42, 42, 0.9);
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
}

.youtube-event-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.video-title {
    color: #aaa;
    font-size: 14px; /* Slightly smaller to accommodate longer Spanish titles */
    line-height: 1.3;
}

.channel-title,
.publish-date {
    color: #aaa;
    font-size: 12px;
}

/* Grid layout for events */
.youtube-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .youtube-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .youtube-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    #chatbotbuilder-es-container {
        flex-direction: column;
    }
    .channel-sidebar {
        width: 100%;
    }
    .channel-main {
        padding-left: 0;
    }
    .youtube-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 576px) {
    .youtube-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* GoingLive.AI text in top left */
.goinglive-brand {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}