/* /Components/Chat/ChatPanel.razor.rz.scp.css */
.avatar[b-qu6dk3agjc] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-back-btn[b-qu6dk3agjc] {
    display: none;
}

.chat-messages-container[b-qu6dk3agjc] {
    flex: 1;
    overflow-y: auto;
    padding: 0rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    word-break: break-all;
    word-wrap: break-word;
    line-break: loose;
    text-wrap-mode: wrap;
}

.message-wrapper[b-qu6dk3agjc] {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    position: absolute;
    padding-bottom: 10px;
    padding-top: 10px;
}

.message-wrapper.mine[b-qu6dk3agjc] {
    align-self: flex-end;
}

.message-wrapper.theirs[b-qu6dk3agjc] {
    align-self: flex-start;
}

.new-message-pill[b-qu6dk3agjc] {

    position: absolute;
    bottom: 100px;
    /* distance from bottom of wrapper */
    left: 50%;
    transform: translateX(-50%);

    background: #0078d4;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInUp-b-qu6dk3agjc 0.2s ease-out;
}

@keyframes fadeInUp-b-qu6dk3agjc {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
/* /Components/Chat/ContactsPanel.razor.rz.scp.css */
.relay-info[b-k3izbnl323] {
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.relays-no-relays-configured[b-k3izbnl323] {
    color: var(--text-muted);
    font-style: italic;
}

.new-contact-panel[b-k3izbnl323] {
    padding: 1rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-glass);
}
/* /Components/Chat/MessageComponent.razor.rz.scp.css */
.message-bubble[b-dcj6bzxncw] {
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 80%;
    /* Evita que los mensajes largos ocupen todo el ancho */
    overflow-wrap: anywhere;
}

/* Burbuja del usuario actual (Derecha) */
.message-bubble.mine[b-dcj6bzxncw] {
    background: var(--accent-gradient);
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    margin-left: auto;
    /* Empuja a la derecha en Flexbox */
    margin-right: 1em;
    /* Empuja a la derecha en Flexbox */
}

/* Burbuja de otros (Izquierda) */
.message-bubble.theirs[b-dcj6bzxncw] {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    color: var(--text-main);
    /* Asegúrate de definir el color del texto */
    margin-left: 1em;
}

.message-inner[b-dcj6bzxncw] {
    display: flex;
}

/* My message */
.message-inner.mine[b-dcj6bzxncw] {
    align-self: flex-end;
}

/* Other user's message */
.message-inner.theirs[b-dcj6bzxncw] {
    align-self: flex-start;
}
/* /Components/LoadingOverlay.razor.rz.scp.css */
.loading-overlay[b-un9oxl8d0s] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(8px);
}

.loading-content[b-un9oxl8d0s] {
    text-align: center;
    z-index: 10000;
    pointer-events: none;
}

.loading-message[b-un9oxl8d0s] {
    color: white;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.loading-subtext[b-un9oxl8d0s] {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    animation: flicker-b-un9oxl8d0s 1.5s infinite;
}

.spinner-modern[b-un9oxl8d0s] {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: spin-b-un9oxl8d0s 1s ease-in-out infinite;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

@keyframes spin-b-un9oxl8d0s {
    to {
        transform: rotate(360deg);
    }
}

@keyframes flicker-b-un9oxl8d0s {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-6jxdja7zxm] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6jxdja7zxm] {
    flex: 1;
}

.sidebar[b-6jxdja7zxm] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-6jxdja7zxm] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6jxdja7zxm]  a, .top-row[b-6jxdja7zxm]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-6jxdja7zxm]  a:hover, .top-row[b-6jxdja7zxm]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-6jxdja7zxm]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-6jxdja7zxm] {
        justify-content: space-between;
    }

    .top-row[b-6jxdja7zxm]  a, .top-row[b-6jxdja7zxm]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6jxdja7zxm] {
        flex-direction: row;
    }

    .sidebar[b-6jxdja7zxm] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6jxdja7zxm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-6jxdja7zxm]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-6jxdja7zxm], article[b-6jxdja7zxm] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4eaeho16ut] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-4eaeho16ut] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-4eaeho16ut] {
    font-size: 1.1rem;
}

.bi[b-4eaeho16ut] {
    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-4eaeho16ut] {
    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-4eaeho16ut] {
    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-4eaeho16ut] {
    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-4eaeho16ut] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4eaeho16ut] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4eaeho16ut] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4eaeho16ut]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-4eaeho16ut]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-4eaeho16ut]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4eaeho16ut] {
        display: none;
    }

    .collapse[b-4eaeho16ut] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-4eaeho16ut] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Chat.razor.rz.scp.css */


[b-qfnyjfmq44] .chat-screen {
    width: 100%!important; 
    height: calc(var(--vh, 1vh) * var(--h-factor));
    padding: 1rem;
    box-sizing: border-box;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1) 0%, var(--bg-base) 80%);
}
/* /Pages/Index.razor.rz.scp.css */
.welcome-card[b-0r43sl6l6n] {
    width: 100%;
    max-width: 480px;
    text-align: center;
    padding: 3rem 2rem;
}

.logo-text[b-0r43sl6l6n] {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle[b-0r43sl6l6n] {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.action-buttons[b-0r43sl6l6n] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.w-100[b-0r43sl6l6n] {
    width: 100%;
}

.divider[b-0r43sl6l6n] {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: var(--text-muted);
}

.divider[b-0r43sl6l6n]::before,
.divider[b-0r43sl6l6n]::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-glass);
}

.divider span[b-0r43sl6l6n] {
    padding: 0 1rem;
    font-size: 0.875rem;
}

.restore-section[b-0r43sl6l6n] {
    margin-top: 1.5rem;
    text-align: left;
}

.warning-text[b-0r43sl6l6n] {
    color: var(--danger);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.error-text[b-0r43sl6l6n] {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mnemonic-box[b-0r43sl6l6n] {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    padding: 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--accent-primary);
    word-spacing: 0.5rem;
    line-height: 1.5;
    user-select: all;
}

.spinner[b-0r43sl6l6n] {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: spin-b-0r43sl6l6n 1s ease-in-out infinite;
    margin: 0 auto 1.5rem auto;
}

@keyframes spin-b-0r43sl6l6n {
    to {
        transform: rotate(360deg);
    }
}

.unlock-section[b-0r43sl6l6n] {
    text-align: left;
    margin-top: 1rem;
}

.unlock-section h3[b-0r43sl6l6n] {
    text-align: center;
    margin-bottom: 1rem;
}

.unlock-section p[b-0r43sl6l6n] {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
