@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';

/* _content/QCMS/Components/Admin/Pages/Media/MediaFileSystem.razor.rz.scp.css */
/* _content/QCMS/Components/Admin/Shared/_EditMedia.razor.rz.scp.css */
.row-height[b-h7hv43a1h1]{
    height: 80vh;
}

.scrollable[b-h7hv43a1h1]{
    overflow:hidden;
    overflow-y: scroll;
    height: 80vh;
}

/* remove scrollbar for all browsers */
[b-h7hv43a1h1]::-webkit-scrollbar {
display: none;
}
[b-h7hv43a1h1]::-moz-scrollbar {
display: none;
}
[b-h7hv43a1h1]::-o-scrollbar {
display: none;
}
[b-h7hv43a1h1]::-ms-scrollbar {
display: none;
}

/* _content/QCMS/Components/Admin/Shared/_FolderTree.razor.rz.scp.css */
.directory-list[b-rjggbeikjv] {
    margin-top: 0.5rem;
    margin-left: 0;
    padding-left: 1rem !important;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

    .directory-list ul[b-rjggbeikjv] {
        margin-left: 0;
        padding-left: 1rem !important;
        margin-bottom: 0.5rem;
        /*border-left: 1px dashed #ddd;*/
    }

    .directory-list li[b-rjggbeikjv] {
        list-style: none;
        color: #000;
        font-size: 1rem;
        font-weight: normal;
        margin-bottom: 0.5rem;
    }


        .directory-list li[b-rjggbeikjv]:before {
            color: #000;
            font-size: 1rem;
            font-weight: normal;
            margin-right: 0.5rem;
            height: 2rem;
        }

    .folderSelected[b-rjggbeikjv] {
        color: #000;
        font-weight: bold;
    }
/* _content/QCMS/Components/Admin/Shared/_MediaItem.razor.rz.scp.css */
.imageCard[b-z4uim1cbvb] {
    border: 0;
    height: 200px;
    width: 100%;
    height: auto;
    display: inline-grid;
    box-shadow: 0 0 0 1px #808080;
}

/*.card-img-top {
    border-radius: 0;
    margin: 5px;
    padding: 5px;
}*/

.mediaSelected[b-z4uim1cbvb] {
    box-shadow: 0 0 0 2px var(--bs-theme);
}

.imageCard .card-img-top[b-z4uim1cbvb] {
    
    object-fit: contain;
}

.imageCard .card-body[b-z4uim1cbvb] {
    padding: 0.5rem;
    text-align:center;  
}

.imageCard .card-title[b-z4uim1cbvb] {
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

.imageCard .card-text[b-z4uim1cbvb] {
    padding-top: 0.5rem;
    font-size: 0.8rem;
}
/* _content/QCMS/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-hcqshc143i] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-hcqshc143i] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/QCMS/Components/Pages/ChatAi.razor.rz.scp.css */
.chat-ai-container[b-amnezirrrc] {
    position: fixed;
    right: 30px;
    bottom: 120px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 350px;
    max-height: 500px;
}

    .chat-ai-container.collapsed[b-amnezirrrc] {
        width: 60px;
        height: 60px;
    }

.chat-ai-header[b-amnezirrrc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.chat-ai-toolbar[b-amnezirrrc] {
    display: flex;
    gap: 10px;
}

.toolbar-button[b-amnezirrrc], .toggle-button[b-amnezirrrc] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
}

    .toolbar-button:hover[b-amnezirrrc], .toggle-button:hover[b-amnezirrrc] {
        background-color: rgba(255, 255, 255, 0.2);
    }

.chat-ai-body[b-amnezirrrc] {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.chat-messages[b-amnezirrrc] {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message[b-amnezirrrc] {
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
    word-break: break-word;
}

.user-message[b-amnezirrrc] {
    background-color: #e6f7ff;
    align-self: flex-end;
}

.assistant-message[b-amnezirrrc] {
    background-color: #f1f1f1;
    align-self: flex-start;
}

.message-timestamp[b-amnezirrrc] {
    font-size: 0.7rem;
    color: #888;
    margin-top: 4px;
    text-align: right;
}

.chat-input-area[b-amnezirrrc] {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chat-input[b-amnezirrrc] {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
}

.send-button[b-amnezirrrc] {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
}

    .send-button:hover[b-amnezirrrc] {
        background-color: #0069d9;
    }

/* For collapsed state */
.chat-ai-container.collapsed .chat-ai-header[b-amnezirrrc] {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.chat-ai-container.collapsed .chat-ai-toolbar[b-amnezirrrc] {
    display: none;
}

.chat-ai-container.collapsed .toggle-button[b-amnezirrrc] {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}
/* _content/QCMS/Components/Shared/_CookieConsent.razor.rz.scp.css */

.consentBox[b-ax0aqqvai4] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e1e1e1;
    padding: 2rem;
    min-height: 5rem;
    display: none;
    justify-content: center;
    align-items: center;
    border: 2px dotted #929292;
    z-index: 1000;
}

.consentText[b-ax0aqqvai4] {
    color: #000;
    flex: 1;
}

.consent-is-active[b-ax0aqqvai4] {
    display: flex !important;
}

.consentBox .consentButton[b-ax0aqqvai4] {
    padding: 0.5rem 1rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .consentBox[b-ax0aqqvai4] {
        flex-direction: column; /* Stack the items vertically on small screens */
    }

        .consentBox .consentButton[b-ax0aqqvai4] {
            padding: 0.5rem 1rem 0.5rem 0;
            align-self: flex-start; /* Align the button to the start of the container */
        }
}
/* _content/QCMS/Components/Shared/_ReconnectModal.razor.rz.scp.css */
/* This is the base style for the modal */
#components-reconnect-modal[b-pyil0jfufv] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    padding: 1.5em;
    color: white;
    text-align: center;
}

    #components-reconnect-modal .modal-content[b-pyil0jfufv] {
        background: linear-gradient(to bottom right,#fc0031,#24009e);
        padding: 1.5em;
        border-radius: 0.5em;
        max-width: 30em;
        width: 100%;
    }
    /* These are the styles for the different states of the modal */
    #components-reconnect-modal.components-reconnect-show[b-pyil0jfufv] {
        display: flex;
    }

    #components-reconnect-modal.components-reconnect-hide[b-pyil0jfufv] {
        display: none;
    }

    #components-reconnect-modal.components-reconnect-failed[b-pyil0jfufv] {
        background-color: rgba(0, 0, 0, 0.8);
    }

    #components-reconnect-modal.components-reconnect-rejected[b-pyil0jfufv] {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Loader */
.loader[b-pyil0jfufv] {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    margin: 50px auto;
    animation: spin-b-pyil0jfufv 2s linear infinite;
}

@keyframes spin-b-pyil0jfufv {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button */
.reconnect-button[b-pyil0jfufv] {
    background-color: #3498db;
    border: none;
    border-radius: 0.5em;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
