/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-bkf1tnw2bg] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-bkf1tnw2bg] {
    flex: 1;
}

.sidebar[b-bkf1tnw2bg] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-bkf1tnw2bg] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-bkf1tnw2bg]  a, .top-row[b-bkf1tnw2bg]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-bkf1tnw2bg]  a:hover, .top-row[b-bkf1tnw2bg]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-bkf1tnw2bg]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-bkf1tnw2bg] {
        justify-content: space-between;
    }

        .top-row[b-bkf1tnw2bg]  a, .top-row[b-bkf1tnw2bg]  .btn-link {
            margin-left: 0;
            margin-right: 50px;
        }
}

@media (min-width: 641px) {
    .page[b-bkf1tnw2bg] {
        flex-direction: row;
    }

    .sidebar[b-bkf1tnw2bg] {
      /*  width: 250px;*/
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-bkf1tnw2bg] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-bkf1tnw2bg]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-bkf1tnw2bg], article[b-bkf1tnw2bg] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-bkf1tnw2bg] {
    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-bkf1tnw2bg] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* En tu archivo CSS o en el style block */
/*@media (max-width: 768px) {
    .top-row .btn-link {
        padding: 8px;
        font-size: 0;*/ /* Oculta el texto */
    /*}

        .top-row .btn-link i {
            font-size: 16px;*/ /* Mantiene el icono visible */
            /*margin: 0;
        }

    .navbar-toggler {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1000;
    }

    .top-row {
        justify-content: flex-end;
        padding-left: 60px;
    }
}*/

.navbar-toggler[b-bkf1tnw2bg] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked[b-bkf1tnw2bg] {
        background-color: rgba(255, 255, 255, 0.5);
    }

/*.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}*/

.navbar-brand[b-bkf1tnw2bg] {
    font-size: 1.1rem;
}

.bi[b-bkf1tnw2bg] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-bkf1tnw2bg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-bkf1tnw2bg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-bkf1tnw2bg] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-bkf1tnw2bg] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-bkf1tnw2bg] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-bkf1tnw2bg] {
        padding-bottom: 1rem;
    }

    .nav-item[b-bkf1tnw2bg]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

    .nav-item[b-bkf1tnw2bg]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-bkf1tnw2bg]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

.nav-scrollable[b-bkf1tnw2bg] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-bkf1tnw2bg] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-bkf1tnw2bg] {
        display: none;
    }

    .nav-scrollable[b-bkf1tnw2bg] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}


.nav-scrollable.hide[b-bkf1tnw2bg] {
    display: none;
}

.nav-scrollable.show[b-bkf1tnw2bg] {
    display: block;
}
/* /Components/Pages/ConfiguracionAdmin/AdminConfiguracion.razor.rz.scp.css */
.config-section[b-qqxqgw4bpt] {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.protected-page[b-qqxqgw4bpt] {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group[b-qqxqgw4bpt] {
    margin-bottom: 1.5rem;
}

.preview-container[b-qqxqgw4bpt] {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    text-align: center;
}

.preview-image[b-qqxqgw4bpt] {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
}

.file-input-custom[b-qqxqgw4bpt] {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fbff;
}

    .file-input-custom:hover[b-qqxqgw4bpt] {
        background: #e3f2fd;
        border-color: #0056b3;
    }

.btn-custom[b-qqxqgw4bpt] {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-custom:hover[b-qqxqgw4bpt] {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,123,255,0.3);
    }

.section-title[b-qqxqgw4bpt] {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.file-info[b-qqxqgw4bpt] {
    background: #e9ecef;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
}
/* /Components/Pages/Inicio/Modulos/ChatIAOrq.razor.rz.scp.css */

body[b-x3xqi9aaic] {
    background-color: #f5f7f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-container[b-x3xqi9aaic] {
    /*  max-width: 800px;*/
    /*    margin: 20px auto;*/
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}



.chat-header img[b-x3xqi9aaic] {
    /*    width: 50px;*/
    /*      height: 40px;*/
    /*    margin-right: 12px;
    border-radius: 50%;*/
    max-width: 50px;
    margin-right: 12px;
}

.chat-body[b-x3xqi9aaic] {
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8fafc;
}

.message[b-x3xqi9aaic] {
    max-width: 75%;
    margin-bottom: 20px;
    clear: both;
}

.user-message[b-x3xqi9aaic] {
    align-self: flex-end;
}

/*.user-message {
    float: right;
    background-color: #e3f2fd;
    border-radius: 15px 15px 0 15px;
}
*/
/*.assistant-message {
    float: left;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px 15px 15px 0;
}*/
.assistant-message[b-x3xqi9aaic] {
    align-self: flex-start;
}

.message-content[b-x3xqi9aaic] {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.user-message .message-content[b-x3xqi9aaic] {
    background-color: #e3f2fd;
    border-bottom-right-radius: 4px;
}

.assistant-message .message-content[b-x3xqi9aaic] {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.message-role[b-x3xqi9aaic] {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.file-attachment[b-x3xqi9aaic] {
    background-color: #f0f4f8;
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.file-icon[b-x3xqi9aaic] {
    font-size: 24px;
    margin-right: 10px;
    color: #3498db;
}

.file-info[b-x3xqi9aaic] {
    flex-grow: 1;
}

.file-name[b-x3xqi9aaic] {
    font-weight: 600;
    margin-bottom: 3px;
}

.file-size[b-x3xqi9aaic] {
    font-size: 0.8rem;
    color: #666;
}

.chat-footer[b-x3xqi9aaic] {
    padding: 15px 20px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.message-input[b-x3xqi9aaic] {
    flex-grow: 1;
    border-radius: 20px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    resize: none;
    margin-right: 10px;
}

.btn-mic[b-x3xqi9aaic], .btn-send[b-x3xqi9aaic] {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.file-input-container[b-x3xqi9aaic] {
    position: relative;
    margin-right: 10px;
}

.file-input-label[b-x3xqi9aaic] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f0f4f8;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .file-input-label:hover[b-x3xqi9aaic] {
        background-color: #e0e7ff;
    }

.timestamp[b-x3xqi9aaic] {
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.assistant-message .timestamp[b-x3xqi9aaic] {
    text-align: left;
}

.recording-indicator[b-x3xqi9aaic] {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #e74c3c;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse-b-x3xqi9aaic 1.5s infinite;
}

@keyframes pulse-b-x3xqi9aaic {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.clearfix[b-x3xqi9aaic]::after {
    content: "";
    clear: both;
    display: table;
}

/* Nuevos estilos para el botón de voz */

.btn-toggle-voice[b-x3xqi9aaic] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .btn-toggle-voice:hover[b-x3xqi9aaic] {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

.chatbox[b-x3xqi9aaic] {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 90%;
    height: 600px;
    font-family: Lato,sans-serif;
    -webkit-transition: .6s cubic-bezier(.19, 1, .22, 1);
    transition: .6s cubic-bezier(.19, 1, .22, 1);
    z-index: 999;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column
}

.chatbox--tray[b-x3xqi9aaic] {
    bottom: -520px
}

.chatbox--closed[b-x3xqi9aaic] {
    bottom: -400px
}

.chatbox .form-control:focus[b-x3xqi9aaic] {
    border-color: #1f2836
}

.chatbox__body[b-x3xqi9aaic], .chatbox__title[b-x3xqi9aaic] {
    border-bottom: none
}

.btn-mic[b-x3xqi9aaic], .btn-mic-stop[b-x3xqi9aaic], .btn-send[b-x3xqi9aaic] {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.3s;
}

.chat-body[b-x3xqi9aaic] {
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
}

.btn-mic-stop[b-x3xqi9aaic] {
    background-color: #e74c3c;
    border: 1px solid #e74c3c;
    color: white;
    animation: pulse-b-x3xqi9aaic 1.5s infinite;
}

.document-preview[b-x3xqi9aaic] {
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail[b-x3xqi9aaic] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .thumbnail:hover[b-x3xqi9aaic] {
        transform: scale(1.05);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    }

    .thumbnail img[b-x3xqi9aaic] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail .remove-btn[b-x3xqi9aaic] {
        position: absolute;
        top: 2px;
        right: 2px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--offline-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.pdf-icon[b-x3xqi9aaic] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7f9 0%, #e4e8ed 100%);
    color: #d93025;
    font-size: 2rem;
    height: 100%;
}

.thinking[b-x3xqi9aaic] {
    display: flex;
    align-items: center;
    color: #6c757d;
    padding: 10px 15px;
    background: white;
    border-radius: 18px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thinking-dots[b-x3xqi9aaic] {
    display: flex;
    margin-left: 10px;
}

    .thinking-dots span[b-x3xqi9aaic] {
        width: 8px;
        height: 8px;
        background-color: #6c757d;
        border-radius: 50%;
        margin: 0 2px;
        animation: bounce-b-x3xqi9aaic 1.5s infinite ease-in-out;
    }

        .thinking-dots span:nth-child(2)[b-x3xqi9aaic] {
            animation-delay: 0.2s;
        }

        .thinking-dots span:nth-child(3)[b-x3xqi9aaic] {
            animation-delay: 0.4s;
        }

@keyframes bounce-b-x3xqi9aaic {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.minimized .chat-body[b-x3xqi9aaic], .minimized .chat-footer[b-x3xqi9aaic], .minimized .document-preview[b-x3xqi9aaic] {
    display: none;
}
/* Responsive design */
@media (max-width: 768px) {
    /*.chat-container {
        height: 95vh;
        border-radius: 8px;
    }*/

    .message[b-x3xqi9aaic] {
        max-width: 90%;
    }

    .document-preview[b-x3xqi9aaic] {
        justify-content: center;
    }
}


/**********************************************************/



.file-input-label[b-x3xqi9aaic] {
    background: rgba(75, 108, 183, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    .file-input-label:hover[b-x3xqi9aaic] {
        background: rgba(75, 108, 183, 0.2);
        transform: scale(1.05);
    }


.single-file-preview[b-x3xqi9aaic] {
    padding: 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: center;
}

.single-thumbnail[b-x3xqi9aaic] {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .single-thumbnail:hover[b-x3xqi9aaic] {
        transform: scale(1.05);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    }

    .single-thumbnail img[b-x3xqi9aaic] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .single-thumbnail .remove-btn[b-x3xqi9aaic] {
        position: absolute;
        top: 2px;
        right: 2px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 22px;
        height: 22px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--offline-color);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.pdf-icon[b-x3xqi9aaic] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7f9 0%, #e4e8ed 100%);
    color: #d93025;
    font-size: 2rem;
    height: 100%;
}

.thinking[b-x3xqi9aaic] {
    display: flex;
    align-items: center;
    color: #6c757d;
    padding: 10px 15px;
    background: white;
    border-radius: 18px;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.thinking-dots[b-x3xqi9aaic] {
    display: flex;
    margin-left: 10px;
}

    .thinking-dots span[b-x3xqi9aaic] {
        width: 8px;
        height: 8px;
        background-color: #6c757d;
        border-radius: 50%;
        margin: 0 2px;
        animation: bounce-b-x3xqi9aaic 1.5s infinite ease-in-out;
    }

        .thinking-dots span:nth-child(2)[b-x3xqi9aaic] {
            animation-delay: 0.2s;
        }

        .thinking-dots span:nth-child(3)[b-x3xqi9aaic] {
            animation-delay: 0.4s;
        }

@keyframes bounce-b-x3xqi9aaic {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.minimized .chat-body[b-x3xqi9aaic], .minimized .chat-footer[b-x3xqi9aaic], .minimized .single-file-preview[b-x3xqi9aaic] {
    display: none;
}

.timestamp[b-x3xqi9aaic] {
    font-size: 0.7rem;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}

.file-info[b-x3xqi9aaic] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    font-size: 0.7rem;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    /*  .chat-container {
        height: 95vh;
        border-radius: 8px;
    }*/

    .message[b-x3xqi9aaic] {
        max-width: 90%;
    }
}

.mensaje[b-x3xqi9aaic] {
    margin: 10px;
}

.file-message[b-x3xqi9aaic] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bloquea[b-x3xqi9aaic] {
    background-color: #cacaca !important;
    display: none;
}
/* /Components/Pages/Inicio/Modulos/OpenAI.razor.rz.scp.css */
.page[b-ki66xw5dwx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ki66xw5dwx] {
    flex: 1;
}

.sidebar[b-ki66xw5dwx] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ki66xw5dwx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ki66xw5dwx]  a, .top-row[b-ki66xw5dwx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-ki66xw5dwx]  a:hover, .top-row[b-ki66xw5dwx]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-ki66xw5dwx]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-ki66xw5dwx] {
        justify-content: space-between;
    }

        .top-row[b-ki66xw5dwx]  a, .top-row[b-ki66xw5dwx]  .btn-link {
            margin-left: 0;
            margin-right: 50px;
        }
}

@media (min-width: 641px) {
    .page[b-ki66xw5dwx] {
        flex-direction: row;
    }

    .sidebar[b-ki66xw5dwx] {
        /*  width: 250px;*/
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ki66xw5dwx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-ki66xw5dwx]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-ki66xw5dwx], article[b-ki66xw5dwx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ki66xw5dwx] {
    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-ki66xw5dwx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* En tu archivo CSS o en el style block */
/*@media (max-width: 768px) {
    .top-row .btn-link {
        padding: 8px;
        font-size: 0;*/ /* Oculta el texto */
/*}

        .top-row .btn-link i {
            font-size: 16px;*/ /* Mantiene el icono visible */
/*margin: 0;
        }

    .navbar-toggler {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1000;
    }

    .top-row {
        justify-content: flex-end;
        padding-left: 60px;
    }
}*/

.navbar-toggler[b-ki66xw5dwx] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked[b-ki66xw5dwx] {
        background-color: rgba(255, 255, 255, 0.5);
    }

/*.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}*/

.navbar-brand[b-ki66xw5dwx] {
    font-size: 1.1rem;
}

.bi[b-ki66xw5dwx] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ki66xw5dwx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ki66xw5dwx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ki66xw5dwx] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-ki66xw5dwx] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ki66xw5dwx] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ki66xw5dwx] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ki66xw5dwx]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

    .nav-item[b-ki66xw5dwx]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item[b-ki66xw5dwx]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

.nav-scrollable[b-ki66xw5dwx] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ki66xw5dwx] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ki66xw5dwx] {
        display: none;
    }

    .nav-scrollable[b-ki66xw5dwx] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}


.nav-scrollable.hide[b-ki66xw5dwx] {
    display: none;
}

.nav-scrollable.show[b-ki66xw5dwx] {
    display: block;
}
