@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.exfvxuochq.bundle.scp.css';

/* /Components/Pages/Home.razor.rz.scp.css */
.main-layout[b-ywsqcdvoyh] {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.content-area[b-ywsqcdvoyh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

.header-section[b-ywsqcdvoyh] {
    flex-shrink: 0;
    padding: 8px 16px;
    overflow: visible;
    position: relative;
    z-index: 9000;
    background: var(--fill-color);
    border-bottom: 1px solid var(--neutral-stroke-divider);
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 48px;
}

.app-title[b-ywsqcdvoyh] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* FluentToolbar optimizations */
fluent-toolbar[b-ywsqcdvoyh] {
    flex: 1;
    justify-content: flex-end;
}

/* Universal input styling */

.universal-input-container[b-ywsqcdvoyh] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.universal-input-container fluent-text-field[b-ywsqcdvoyh] {
    flex: 1;
}

.universal-input[b-ywsqcdvoyh] {
    width: 350px;
}

/* FluentSelect dropdown z-index fixes */
fluent-select .fluent-select-dropdown[b-ywsqcdvoyh],
fluent-select[b-ywsqcdvoyh]::part(control),
fluent-select[b-ywsqcdvoyh]::part(listbox),
fluent-listbox[b-ywsqcdvoyh],
.fluent-select-overlay[b-ywsqcdvoyh],
[role="listbox"][b-ywsqcdvoyh] {
    z-index: 9999 !important;
    position: relative !important;
}

/* Override any container that might clip the dropdown */
.header-section[b-ywsqcdvoyh] {
    overflow: visible !important;
    position: relative !important;
}

.streams-section[b-ywsqcdvoyh] {
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 16px;
}

/* Manage Streams Dialog */
[b-ywsqcdvoyh] .stream-item {
    padding: 12px;
    margin: 0;
    border-radius: 6px;
    border: 1px solid var(--neutral-stroke-divider);
}

[b-ywsqcdvoyh] .stream-item:hover {
    background-color: var(--neutral-fill-stealth-hover);
}

[b-ywsqcdvoyh] fluent-dialog {
    --dialog-width: 480px;
    --dialog-height: auto;
    --dialog-max-height: 70vh;
}

[b-ywsqcdvoyh] fluent-dialog fluent-dialog-body {
    max-height: 400px;
    overflow-y: auto;
}

/* Mobile responsive styles */
@media (max-width: 968px) {
    .header-section fluent-stack[b-ywsqcdvoyh] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .header-section fluent-stack:first-child[b-ywsqcdvoyh] {
        align-self: center;
    }

    fluent-toolbar[b-ywsqcdvoyh] {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .universal-input[b-ywsqcdvoyh] {
        width: 200px !important;
    }
}

@media (max-width: 768px) {
    .main-layout.with-chat-pane[b-ywsqcdvoyh] {
        flex-direction: column;
    }

    .main-layout.with-chat-pane .chat-pane[b-ywsqcdvoyh] {
        width: 100%;
        height: 300px;
    }

    fluent-toolbar[b-ywsqcdvoyh] {
        gap: 4px;
    }

    .universal-input[b-ywsqcdvoyh] {
        width: 160px !important;
    }
}
/* /Components/Shared/ChatPane.razor.rz.scp.css */
.chat-header[b-15a58toq8j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.chat-controls[b-15a58toq8j] {
    display: flex;
    gap: 4px;
}

.chat-settings[b-15a58toq8j] {
    padding: 16px;
}

.chat-content[b-15a58toq8j] {
    height: 100%;
    overflow: hidden;
}

.no-streams[b-15a58toq8j] {
    padding: 20px;
    text-align: center;
}

/* Additional chat pane constraints */
.chat-pane[b-15a58toq8j] {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    flex-grow: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-pane fluent-card[b-15a58toq8j] {
    flex: 1;
    height: 100%;
}
/* /Components/Shared/ManageStreamsDialog.razor.rz.scp.css */
.manage-streams-content[b-f1pr9444eq] {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.streams-list[b-f1pr9444eq] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.stream-item[b-f1pr9444eq] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--neutral-stroke-divider-rest);
    border-radius: 6px;
    background: var(--neutral-fill-secondary-rest);
}

.stream-item:hover[b-f1pr9444eq] {
    background: var(--neutral-fill-secondary-hover);
}

.stream-info[b-f1pr9444eq] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.empty-message[b-f1pr9444eq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: center;
}
/* /Components/Shared/StreamCard.razor.rz.scp.css */
.stream-header[b-t4ez1gfp27] {
    display: flex;
    justify-content: space-between;       
    align-items: center;
    padding: 12px 16px;
    flex-shrink: 0;
}

.stream-content[b-t4ez1gfp27] {
    position: relative;
    flex: 1;
    display: flex;
    min-height: 400px; /* Ensure minimum height for proper video display */
}

.stream-content.with-chat[b-t4ez1gfp27] {
    display: flex;
    min-height: 450px; /* Slightly taller when chat is attached */
}

.stream-video[b-t4ez1gfp27] {
    flex: 1;
    display: flex;
    min-height: 0;
    position: relative;
}

.stream-iframe[b-t4ez1gfp27] {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 400px; /* Ensure minimum height for Twitch embed */
    aspect-ratio: 16/9; /* Maintain 16:9 aspect ratio for video */
}

.chat-iframe[b-t4ez1gfp27] {
    width: 100%;
    height: 100%;
    border: none;
}

.stream-chat[b-t4ez1gfp27] {
    width: 300px;
    display: flex;
    min-height: 0;
}

/* Card container styling */
.stream-container[b-t4ez1gfp27] {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}
/* /Components/Shared/StreamsContainer.razor.rz.scp.css */
.streams-container[b-vsv5gkrlle] {
    padding: 1px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.grid-container[b-vsv5gkrlle] {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
    justify-content: center;
}

.grid-container > .stack-item[b-vsv5gkrlle] {
    min-height: 300px;
    display: flex;
    transition: all 0.3s ease;
    flex: 1 1 auto;
    min-width: 320px;
    max-width: 100%;
}

.no-streams-message[b-vsv5gkrlle] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
}

.empty-content[b-vsv5gkrlle] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.main-layout[b-f6ufmyay3f] {
    height: 100vh;
}

.body-content[b-f6ufmyay3f] {
    height: 100vh;
    padding: 0;
}

.content[b-f6ufmyay3f] {
    height: 100vh;
}
