/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-t4ixol2i8i] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f6f8fb;
}

main[b-t4ixol2i8i] {
    flex: 1;
    width: 100%;
    transition: margin-left 0.3s ease-in-out;
}

.sidebar[b-t4ixol2i8i] {
    background:
        linear-gradient(180deg, rgba(7, 7, 27, 0.98) 0%, rgba(17, 16, 58, 0.98) 58%, rgba(24, 22, 76, 0.98) 100%);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 270px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 18px 0 44px rgba(7, 7, 27, 0.18);
}

.sidebar[b-t4ixol2i8i]::after {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    background: url("/branding/noma-mark-white.png") center / contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

/* Sidebar collapsed on mobile */
.sidebar.collapsed[b-t4ixol2i8i] {
    transform: translateX(-100%);
}

/* Overlay for mobile when sidebar is open */
.sidebar-overlay[b-t4ixol2i8i] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 27, 0.55);
    z-index: 999;
    display: none; /* Oculto por defecto, JavaScript lo maneja */
    cursor: pointer;
}

/* Hamburger Button */
.hamburger-button[b-t4ixol2i8i] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    order: -1;
    transition: all 0.3s ease;
    color: #11103a;
    font-size: 1.05rem;
}

.hamburger-button:hover[b-t4ixol2i8i] {
    color: #087f8e;
    border-color: rgba(22, 199, 222, 0.55);
    background: #f7fdfe;
}

.hamburger-button:active[b-t4ixol2i8i] {
    transform: scale(0.95);
}

.hamburger-button i[b-t4ixol2i8i] {
    pointer-events: none;
}

.top-row[b-t4ixol2i8i] {
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #dbe2ea;
    height: 4.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    padding-left: 1rem;
    padding-right: 1rem;
    backdrop-filter: blur(16px);
}

.top-row-start[b-t4ixol2i8i] {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.8rem;
}

.topbar-brand[b-t4ixol2i8i] {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.72rem;
    color: #11103a;
    text-decoration: none;
}

.topbar-brand:hover[b-t4ixol2i8i] {
    color: #11103a;
    text-decoration: none;
}

.topbar-brand img[b-t4ixol2i8i] {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.topbar-brand span[b-t4ixol2i8i] {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
}

.topbar-brand strong[b-t4ixol2i8i] {
    color: #11103a;
    font-size: 0.98rem;
    line-height: 1;
}

.topbar-brand small[b-t4ixol2i8i] {
    color: #667085;
    font-size: 0.76rem;
    line-height: 1;
}

    .top-row[b-t4ixol2i8i]  a, .top-row[b-t4ixol2i8i]  .btn-link {
        white-space: nowrap;
        text-decoration: none;
    }

    .top-row[b-t4ixol2i8i]  a:hover, .top-row[b-t4ixol2i8i]  .btn-link:hover {
        text-decoration: none;
    }

/* Logout Button Styles */
.logout-button[b-t4ixol2i8i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.5rem 0.9rem;
    background: #11103a;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(17, 16, 58, 0.16);
}

.logout-button:hover[b-t4ixol2i8i] {
    background: #18164c;
    box-shadow: 0 14px 26px rgba(17, 16, 58, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
    color: #ffffff;
}

.logout-button:active[b-t4ixol2i8i] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logout-button i[b-t4ixol2i8i] {
    font-size: 1rem;
}

.logout-text[b-t4ixol2i8i] {
    display: inline;
}

/* Mobile First - Sidebar hidden by default */
@media (max-width: 640.98px) {
    main[b-t4ixol2i8i] {
        margin-left: 0 !important;
    }

    .top-row[b-t4ixol2i8i] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .topbar-brand small[b-t4ixol2i8i] {
        display: none;
    }

    .topbar-brand img[b-t4ixol2i8i] {
        width: 30px;
        height: 30px;
    }

    /* En mobile, el sidebar inicia cerrado (collapsed) */
    .sidebar[b-t4ixol2i8i] {
        transform: translateX(0);
    }

    /* Cuando tiene clase collapsed, se oculta */
    .sidebar.collapsed[b-t4ixol2i8i] {
        transform: translateX(-100%);
    }

    /* En mobile, el overlay es manejado por JavaScript */
    
    /* Logout button responsive - ocultar texto en móvil */
    .logout-text[b-t4ixol2i8i] {
        display: none;
    }
    
    .logout-button[b-t4ixol2i8i] {
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        justify-content: center;
    }
}

/* Desktop - Sidebar always visible */
@media (min-width: 641px) {
    .page[b-t4ixol2i8i] {
        flex-direction: row;
    }

    .sidebar[b-t4ixol2i8i] {
        position: fixed;
        transform: translateX(0); /* Por defecto visible en desktop */
    }

    .sidebar.collapsed[b-t4ixol2i8i] {
        transform: translateX(-100%);
    }

    main[b-t4ixol2i8i] {
        margin-left: 270px; /* Por defecto con margen */
        transition: margin-left 0.3s ease-in-out;
    }

    .sidebar.collapsed ~ main[b-t4ixol2i8i] {
        margin-left: 0;
    }

    .sidebar-overlay[b-t4ixol2i8i] {
        display: none !important;
    }

    .hamburger-button[b-t4ixol2i8i] {
        margin-right: 1rem;
    }

    .top-row[b-t4ixol2i8i], article[b-t4ixol2i8i] {
        padding-left: 1rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Large screens - More space */
@media (min-width: 1200px) {
    .top-row[b-t4ixol2i8i], article[b-t4ixol2i8i] {
        padding-left: 2rem !important;
        padding-right: 2.5rem !important;
    }
}

@media (min-width: 641px) and (max-width: 940px) {
    .topbar-brand small[b-t4ixol2i8i] {
        display: none;
    }
}

#blazor-error-ui[b-t4ixol2i8i] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-t4ixol2i8i] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.top-row[b-itbirtc2n1] {
    min-height: 6.25rem;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.container-fluid[b-itbirtc2n1] {
    padding: 1rem 1.2rem;
}

.navbar-brand[b-itbirtc2n1] {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0;
    color: #ffffff !important;
    text-decoration: none;
}

.navbar-brand img[b-itbirtc2n1] {
    width: 100%;
    max-width: 196px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.3));
}

.nav-scrollable[b-itbirtc2n1] {
    position: relative;
    z-index: 1;
    display: block;
    height: calc(100vh - 6.25rem);
    overflow-y: auto;
    padding: 0.9rem 0 1.2rem;
}

.nav[b-itbirtc2n1] {
    gap: 0.15rem;
}

.nav-item[b-itbirtc2n1] {
    font-size: 0.92rem;
}

.nav-item:first-of-type[b-itbirtc2n1] {
    padding-top: 0.25rem;
}

.nav-item:last-of-type[b-itbirtc2n1] {
    padding-bottom: 1rem;
}

.nav-item[b-itbirtc2n1]  .nav-link {
    min-height: 2.85rem;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.68rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.2;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.nav-item[b-itbirtc2n1]  a.active {
    border-color: rgba(79, 220, 234, 0.34);
    background: rgba(79, 220, 234, 0.14);
    color: #ffffff;
}

.nav-item[b-itbirtc2n1]  .nav-link:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-item[b-itbirtc2n1]  .nav-link span {
    width: 1.25rem;
    margin-right: 0.72rem;
    color: rgba(79, 220, 234, 0.92);
    text-align: center;
}

.bi[b-itbirtc2n1] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.72rem;
    top: -1px;
    background-size: cover;
    color: rgba(79, 220, 234, 0.92);
}

.nav-divider[b-itbirtc2n1] {
    margin: 0.85rem 1rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.nav-section-title[b-itbirtc2n1] {
    margin: 0.45rem 0 0.35rem;
}

.nav-section-title small[b-itbirtc2n1] {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nav-scrollable[b-itbirtc2n1]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-itbirtc2n1]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

.nav-scrollable[b-itbirtc2n1]::-webkit-scrollbar-thumb {
    background: rgba(79, 220, 234, 0.28);
    border-radius: 999px;
}

.nav-scrollable[b-itbirtc2n1]::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 220, 234, 0.45);
}

@media (max-width: 640.98px) {
    .top-row[b-itbirtc2n1] {
        min-height: 5.4rem;
    }

    .navbar-brand img[b-itbirtc2n1] {
        max-width: 168px;
    }

    .nav-scrollable[b-itbirtc2n1] {
        height: calc(100vh - 5.4rem);
    }
}
/* /Components/Pages/ChatSurface.razor.rz.scp.css */
.chat-container[b-vovlwsdz5u] {
    display: flex;
    height: calc(100vh - 60px);
    background: #f5f5f5;
    max-width: 100vw;
    overflow-x: hidden;
}

.sidebar[b-vovlwsdz5u] {
    width: 280px;
    min-width: 220px;
    max-width: 280px;
    background: white;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header[b-vovlwsdz5u] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3[b-vovlwsdz5u] {
    font-size: 1rem;
    margin: 0;
    color: #333;
}

.conversation-list[b-vovlwsdz5u] {
    overflow-y: auto;
    flex: 1;
}

.conversation-item[b-vovlwsdz5u] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.conversation-item:hover[b-vovlwsdz5u] {
    background: #f8f9fa;
}

.conversation-item.active[b-vovlwsdz5u] {
    background: linear-gradient(135deg, #0f766e 0%, #1e3a5f 100%);
    border-left: 3px solid #2196f3;
}

.conversation-item.active .conversation-title[b-vovlwsdz5u],
.conversation-item.active .conversation-title *[b-vovlwsdz5u] {
    color: #fff !important;
}

.conversation-item.active .conversation-meta[b-vovlwsdz5u] {
    color: rgba(255, 255, 255, 0.75);
}

.conversation-title[b-vovlwsdz5u] {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.conversation-meta[b-vovlwsdz5u] {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.85rem;
}

.chat-main[b-vovlwsdz5u] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    min-width: 0;
    overflow-x: hidden;
}

.chat-header[b-vovlwsdz5u] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.prompt-selector[b-vovlwsdz5u] {
    max-width: 100%;
}

.prompt-selector label[b-vovlwsdz5u] {
    font-weight: 500;
    margin-right: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.prompt-selector select[b-vovlwsdz5u] {
    max-width: 100%;
    font-size: 0.9rem;
}

.messages-container[b-vovlwsdz5u] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.empty-state[b-vovlwsdz5u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
}

.empty-state i[b-vovlwsdz5u] {
    margin-bottom: 1rem;
    color: #ccc;
}

.message[b-vovlwsdz5u] {
    display: flex;
    margin-bottom: 1rem;
    animation: fadeIn-b-vovlwsdz5u 0.3s;
    width: 100%;
    max-width: none;
}

@keyframes fadeIn-b-vovlwsdz5u {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-avatar[b-vovlwsdz5u] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.user-message .message-avatar[b-vovlwsdz5u] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.assistant-message .message-avatar[b-vovlwsdz5u] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.message-content[b-vovlwsdz5u] {
    max-width: 100%;
    min-width: 260px;
    width: 100%;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.user-message[b-vovlwsdz5u] {
    flex-direction: row-reverse;
}

.user-message .message-avatar[b-vovlwsdz5u] {
    margin-right: 0;
    margin-left: 0.65rem;
}

.user-message .message-content[b-vovlwsdz5u] {
    align-items: flex-end;
}

.user-message .message-content :deep(.message-text)[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content)[b-vovlwsdz5u] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.65rem 0.9rem;
    border-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.user-message .message-content :deep(.markdown-content)[b-vovlwsdz5u] {
    color: white;
}

.user-message .message-content :deep(.markdown-content) h1[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) h2[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) h3[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) h4[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) h5[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) h6[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) p[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) li[b-vovlwsdz5u],
.user-message .message-content :deep(.markdown-content) span[b-vovlwsdz5u] {
    color: white !important;
}

.user-message .message-content :deep(.markdown-content) code[b-vovlwsdz5u] {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.user-message .message-content :deep(.markdown-content) a[b-vovlwsdz5u] {
    color: #a8daff;
    border-bottom-color: #a8daff;
}

.user-message .message-content :deep(.markdown-content) strong[b-vovlwsdz5u] {
    color: white;
}

.assistant-message .message-content :deep(.message-text)[b-vovlwsdz5u],
.assistant-message .message-content :deep(.markdown-content)[b-vovlwsdz5u] {
    background: white;
    color: #333;
    padding: 0.65rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 0.25rem;
    line-height: 1.3;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.message-time[b-vovlwsdz5u] {
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.2rem;
    padding: 0 0.5rem;
}

.message-content :deep(.markdown-content) p[b-vovlwsdz5u],
.message-content :deep(.markdown-content) li[b-vovlwsdz5u],
.message-content :deep(.markdown-content) span[b-vovlwsdz5u] {
    line-height: 1.3;
}

.message-content :deep(.markdown-content) p[b-vovlwsdz5u] {
    margin-bottom: 0.35em;
}

.message-content :deep(.markdown-content) ul[b-vovlwsdz5u],
.message-content :deep(.markdown-content) ol[b-vovlwsdz5u] {
    margin: 0.4em 0;
    padding-left: 1.4em;
}

.message-content :deep(.markdown-content) li[b-vovlwsdz5u] {
    margin: 0.15em 0;
}

.typing-indicator[b-vovlwsdz5u] {
    display: flex;
    gap: 0.25rem;
    padding: 0.65rem 0.9rem;
}

.typing-indicator span[b-vovlwsdz5u] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    animation: typing-b-vovlwsdz5u 1.4s infinite;
}

.typing-indicator span:nth-child(2)[b-vovlwsdz5u] {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3)[b-vovlwsdz5u] {
    animation-delay: 0.4s;
}

@keyframes typing-b-vovlwsdz5u {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.chat-input-container[b-vovlwsdz5u] {
    padding: 0.75rem 1rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    max-width: 100%;
}

.input-group[b-vovlwsdz5u] {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.input-group textarea[b-vovlwsdz5u] {
    flex: 1;
    resize: none;
    border-radius: 0.5rem;
    width: 100%;
    font-size: 0.95rem;
    min-height: 42px;
    max-height: 200px;
}

.input-group button[b-vovlwsdz5u] {
    flex-shrink: 0;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    height: 42px;
    min-width: 100px;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .message[b-vovlwsdz5u] {
        max-width: 95%;
    }

    .input-group[b-vovlwsdz5u] {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .sidebar[b-vovlwsdz5u] {
        width: 220px;
        min-width: 180px;
    }

    .message-content[b-vovlwsdz5u] {
        max-width: 85%;
    }

    .messages-container[b-vovlwsdz5u] {
        padding: 0.75rem;
    }

    .message[b-vovlwsdz5u] {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .chat-container[b-vovlwsdz5u] {
        flex-direction: column;
    }

    .sidebar[b-vovlwsdz5u] {
        width: 100%;
        max-width: 100%;
        height: 180px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .message-content[b-vovlwsdz5u] {
        max-width: 90%;
    }

    .messages-container[b-vovlwsdz5u] {
        padding: 0.5rem;
    }

    .message[b-vovlwsdz5u] {
        margin-bottom: 0.65rem;
    }

    .input-group[b-vovlwsdz5u] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .input-group button[b-vovlwsdz5u] {
        width: 100%;
    }
}

.attachment-toggle-bar[b-vovlwsdz5u] {
    max-width: 1100px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.attachment-toggle[b-vovlwsdz5u] {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.attachment-toggle:hover[b-vovlwsdz5u] {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.attachment-toggle:active[b-vovlwsdz5u] {
    transform: translateY(0);
}

.attachment-badge[b-vovlwsdz5u] {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #0ea5e9;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.35);
}

.attachment-close[b-vovlwsdz5u] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.attachment-close:hover[b-vovlwsdz5u] {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

.attachment-panel[b-vovlwsdz5u] {
    margin-bottom: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.attachment-panel[b-vovlwsdz5u]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 55%);
    pointer-events: none;
}

.attachment-header[b-vovlwsdz5u],
.attachment-section[b-vovlwsdz5u],
.attachment-hint[b-vovlwsdz5u],
.attachment-error[b-vovlwsdz5u],
.attachment-empty[b-vovlwsdz5u] {
    position: relative;
    z-index: 1;
}

.attachment-header[b-vovlwsdz5u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.attachment-title[b-vovlwsdz5u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1f2937;
}

.attachment-count[b-vovlwsdz5u] {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
}

.attachment-actions[b-vovlwsdz5u] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-attach[b-vovlwsdz5u] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-attach:hover[b-vovlwsdz5u] {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.attachment-input[b-vovlwsdz5u] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.attachment-hint[b-vovlwsdz5u] {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.attachment-error[b-vovlwsdz5u] {
    margin-top: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attachment-section[b-vovlwsdz5u] {
    margin-top: 0.85rem;
}

.attachment-section-title[b-vovlwsdz5u] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

.attachment-grid[b-vovlwsdz5u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
}

.attachment-card[b-vovlwsdz5u] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.attachment-card.context[b-vovlwsdz5u] {
    cursor: pointer;
}

.attachment-card.pending[b-vovlwsdz5u] {
    border-style: dashed;
}

.attachment-card.context:hover[b-vovlwsdz5u] {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.attachment-icon[b-vovlwsdz5u] {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.attachment-type-pdf .attachment-icon[b-vovlwsdz5u] {
    background: #ef4444;
}

.attachment-type-docx .attachment-icon[b-vovlwsdz5u] {
    background: #2563eb;
}

.attachment-type-xlsx .attachment-icon[b-vovlwsdz5u] {
    background: #16a34a;
}

.attachment-type-generic .attachment-icon[b-vovlwsdz5u] {
    background: #64748b;
}

.attachment-details[b-vovlwsdz5u] {
    flex: 1;
    min-width: 0;
}

.attachment-name[b-vovlwsdz5u] {
    font-weight: 600;
    font-size: 0.86rem;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-meta[b-vovlwsdz5u] {
    font-size: 0.75rem;
    color: #6b7280;
}

.attachment-upload[b-vovlwsdz5u] {
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: #0ea5e9;
}

.attachment-upload.error[b-vovlwsdz5u] {
    color: #dc2626;
}

.attachment-spinner[b-vovlwsdz5u] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(14, 165, 233, 0.25);
    border-top-color: #0ea5e9;
    animation: attachment-spin-b-vovlwsdz5u 0.8s linear infinite;
}

.attachment-remove:disabled[b-vovlwsdz5u] {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes attachment-spin-b-vovlwsdz5u {
    to { transform: rotate(360deg); }
}

.attachment-remove[b-vovlwsdz5u] {
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.attachment-remove:hover[b-vovlwsdz5u] {
    background: #fee2e2;
    color: #dc2626;
}

.attachment-action[b-vovlwsdz5u] {
    color: #0ea5e9;
    font-size: 0.9rem;
}

.attachment-empty[b-vovlwsdz5u] {
    margin-top: 0.85rem;
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
    background: rgba(248, 250, 252, 0.8);
    text-align: center;
    color: #6b7280;
}

.attachment-empty-icon[b-vovlwsdz5u] {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    color: #94a3b8;
}

.message-attachments[b-vovlwsdz5u] {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.message-attachment-card[b-vovlwsdz5u] {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.4rem 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    max-width: 100%;
}

.message-attachment-card:hover[b-vovlwsdz5u] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.message-attachment-icon[b-vovlwsdz5u] {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #1f2937;
    flex-shrink: 0;
}

.message-attachment-meta[b-vovlwsdz5u] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.message-attachment-name[b-vovlwsdz5u] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-attachment-size[b-vovlwsdz5u] {
    font-size: 0.7rem;
    color: #6b7280;
}

.message-attachment-download[b-vovlwsdz5u] {
    color: #0ea5e9;
    font-size: 0.85rem;
}

.user-message .message-attachment-card[b-vovlwsdz5u] {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
}

.user-message .message-attachment-icon[b-vovlwsdz5u] {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.user-message .message-attachment-name[b-vovlwsdz5u],
.user-message .message-attachment-card[b-vovlwsdz5u] {
    color: #ffffff;
}

.user-message .message-attachment-size[b-vovlwsdz5u] {
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 576px) {
    .attachment-header[b-vovlwsdz5u] {
        flex-direction: column;
        align-items: flex-start;
    }

    .attachment-actions[b-vovlwsdz5u] {
        width: 100%;
        justify-content: flex-start;
    }

    .attachment-grid[b-vovlwsdz5u] {
        grid-template-columns: 1fr;
    }

    .message-attachment-card[b-vovlwsdz5u] {
        width: 100%;
        justify-content: space-between;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-page[b-kbbr0wpakf] {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(1rem, 2.4vw, 2rem) 0 3rem;
}

.home-hero[b-kbbr0wpakf] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.43fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: stretch;
    min-height: min(620px, calc(100vh - 7rem));
    padding: clamp(2rem, 5vw, 4.8rem);
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(22, 199, 222, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(22, 199, 222, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, #07071b 0%, #11103a 52%, #18164c 100%);
    background-size: 76px 76px, 76px 76px, auto;
    color: #ffffff;
}

.home-hero[b-kbbr0wpakf]::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -170px;
    width: min(58vw, 680px);
    aspect-ratio: 1;
    background: url("/branding/noma-mark-white.png") center / contain no-repeat;
    opacity: 0.11;
    pointer-events: none;
}

.hero-copy[b-kbbr0wpakf],
.hero-panel[b-kbbr0wpakf] {
    position: relative;
    z-index: 1;
}

.hero-copy[b-kbbr0wpakf] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 780px;
}

.hero-logo[b-kbbr0wpakf] {
    width: min(300px, 62vw);
    height: auto;
    margin-bottom: clamp(1.5rem, 5vh, 3.2rem);
    filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.32));
}

.hero-eyebrow[b-kbbr0wpakf],
.section-eyebrow[b-kbbr0wpakf] {
    margin: 0 0 0.8rem;
    color: #4fdcea;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1[b-kbbr0wpakf] {
    max-width: 660px;
    margin: 0;
    font-size: clamp(1.85rem, 2.85vw, 3.1rem);
    line-height: 1.1;
    font-weight: 760;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.hero-lead[b-kbbr0wpakf] {
    max-width: 720px;
    margin: 1.15rem 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
    line-height: 1.58;
}

.hero-actions[b-kbbr0wpakf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.primary-action[b-kbbr0wpakf],
.secondary-action[b-kbbr0wpakf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-action[b-kbbr0wpakf] {
    border: 1px solid #4fdcea;
    background: #4fdcea;
    color: #071527;
}

.secondary-action[b-kbbr0wpakf] {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.primary-action:hover[b-kbbr0wpakf],
.secondary-action:hover[b-kbbr0wpakf] {
    transform: translateY(-1px);
    text-decoration: none;
}

.secondary-action:hover[b-kbbr0wpakf] {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.hero-panel[b-kbbr0wpakf] {
    align-self: center;
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.hero-panel-header[b-kbbr0wpakf] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    font-weight: 700;
}

.status-dot[b-kbbr0wpakf] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #35d37d;
    box-shadow: 0 0 0 5px rgba(53, 211, 125, 0.14);
}

.workflow-steps[b-kbbr0wpakf] {
    display: grid;
    gap: 0.72rem;
}

.workflow-step[b-kbbr0wpakf] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    min-height: 58px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 8, 24, 0.36);
    color: rgba(255, 255, 255, 0.9);
}

.workflow-step i[b-kbbr0wpakf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(22, 199, 222, 0.14);
    color: #4fdcea;
}

.quick-actions[b-kbbr0wpakf] {
    padding-top: clamp(1.5rem, 4vw, 3rem);
}

.section-heading[b-kbbr0wpakf] {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
}

.section-heading h2[b-kbbr0wpakf] {
    margin: 0;
    color: #11103a;
    font-size: clamp(1.25rem, 1.65vw, 1.55rem);
    line-height: 1.18;
    font-weight: 760;
}

.action-grid[b-kbbr0wpakf] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.action-card[b-kbbr0wpakf] {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.75rem;
    min-height: 210px;
    padding: 1.2rem;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(12, 18, 38, 0.07);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.action-card:hover[b-kbbr0wpakf] {
    transform: translateY(-2px);
    border-color: rgba(22, 199, 222, 0.52);
    box-shadow: 0 18px 38px rgba(12, 18, 38, 0.1);
    color: #111827;
    text-decoration: none;
}

.action-icon[b-kbbr0wpakf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1rem;
}

.action-icon-cyan[b-kbbr0wpakf] {
    background: #e8fbfd;
    color: #087f8e;
}

.action-icon-amber[b-kbbr0wpakf] {
    background: #fff5e6;
    color: #b9610a;
}

.action-icon-navy[b-kbbr0wpakf] {
    background: #eceef8;
    color: #18164c;
}

.action-icon-red[b-kbbr0wpakf] {
    background: #fff1f2;
    color: #8f0b18;
}

.action-title[b-kbbr0wpakf] {
    color: #11103a;
    font-size: 1.05rem;
    font-weight: 800;
}

.action-copy[b-kbbr0wpakf] {
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.5;
}

@media (max-width: 1180px) {
    .home-hero[b-kbbr0wpakf] {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-panel[b-kbbr0wpakf] {
        align-self: stretch;
        max-width: 760px;
    }

    .action-grid[b-kbbr0wpakf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-page[b-kbbr0wpakf] {
        padding-top: 0.5rem;
    }

    .home-hero[b-kbbr0wpakf] {
        padding: 1.5rem;
    }

    .hero-copy h1[b-kbbr0wpakf] {
        font-size: clamp(1.45rem, 6.2vw, 1.95rem);
        line-height: 1.18;
        overflow-wrap: normal;
    }

    .hero-actions[b-kbbr0wpakf] {
        width: 100%;
    }

    .primary-action[b-kbbr0wpakf],
    .secondary-action[b-kbbr0wpakf] {
        width: 100%;
    }

    .action-grid[b-kbbr0wpakf] {
        grid-template-columns: 1fr;
    }

    .action-card[b-kbbr0wpakf] {
        min-height: 170px;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Reset b�sico */
*[b-5y4qaueeq7] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contenedor principal del login */
.login-container[b-5y4qaueeq7] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Decoraci�n de fondo */
.background-decoration[b-5y4qaueeq7] {
 position: absolute;
    inset: 0;
    pointer-events: none;
}

.circle[b-5y4qaueeq7] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-b-5y4qaueeq7 20s infinite ease-in-out;
}

.circle-1[b-5y4qaueeq7] {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle-2[b-5y4qaueeq7] {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
    animation-delay: 5s;
}

.circle-3[b-5y4qaueeq7] {
width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float-b-5y4qaueeq7 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    33% {
 transform: translate(30px, -30px) scale(1.1);
    }
    66% {
      transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Tarjeta de login */
.login-card[b-5y4qaueeq7] {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
    z-index: 1;
    animation: slideUp-b-5y4qaueeq7 0.5s ease-out;
}

@keyframes slideUp-b-5y4qaueeq7 {
    from {
        opacity: 0;
     transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header del login */
.login-header[b-5y4qaueeq7] {
    text-align: center;
  margin-bottom: 40px;
}

.logo-container[b-5y4qaueeq7] {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.logo-icon[b-5y4qaueeq7] {
    font-size: 40px;
    color: white;
}

.login-title[b-5y4qaueeq7] {
  font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.login-subtitle[b-5y4qaueeq7] {
    color: #64748b;
    font-size: 15px;
    font-weight: 400;
}

/* Alertas */
.alert[b-5y4qaueeq7] {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shake-b-5y4qaueeq7 0.5s;
}

.alert-error[b-5y4qaueeq7] {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@keyframes shake-b-5y4qaueeq7 {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Formulario */
.login-form[b-5y4qaueeq7] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group[b-5y4qaueeq7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label[b-5y4qaueeq7] {
  font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i[b-5y4qaueeq7] {
    color: #667eea;
    font-size: 16px;
}

.form-input[b-5y4qaueeq7] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
    color: #1e293b;
}

.form-input:focus[b-5y4qaueeq7] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-input:disabled[b-5y4qaueeq7] {
    background: #f8fafc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Wrapper del password con toggle */
.password-input-wrapper[b-5y4qaueeq7] {
 position: relative;
display: flex;
    align-items: center;
}

.password-toggle[b-5y4qaueeq7] {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.password-toggle:hover[b-5y4qaueeq7] {
    color: #667eea;
}

.password-toggle:disabled[b-5y4qaueeq7] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Mensajes de validaci�n */
.validation-error[b-5y4qaueeq7] {
    color: #dc2626;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.validation-error[b-5y4qaueeq7]::before {
    content: "?";
  font-size: 14px;
}

/* Acciones del formulario */
.form-actions[b-5y4qaueeq7] {
    margin-top: 8px;
}

.btn-login[b-5y4qaueeq7] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.btn-login:hover:not(:disabled)[b-5y4qaueeq7] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-login:active:not(:disabled)[b-5y4qaueeq7] {
    transform: translateY(0);
}

.btn-login:disabled[b-5y4qaueeq7] {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Spinner de carga */
.spinner[b-5y4qaueeq7] {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
    border-radius: 50%;
    animation: spin-b-5y4qaueeq7 0.8s linear infinite;
}

@keyframes spin-b-5y4qaueeq7 {
    to { transform: rotate(360deg); }
}

/* Footer del login */
.login-footer[b-5y4qaueeq7] {
    margin-top: 32px;
 text-align: center;
}

.footer-text[b-5y4qaueeq7] {
    color: #64748b;
  font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  gap: 8px;
}

.footer-text i[b-5y4qaueeq7] {
    color: #10b981;
}

.footer-links[b-5y4qaueeq7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link[b-5y4qaueeq7] {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover[b-5y4qaueeq7] {
    color: #764ba2;
    text-decoration: underline;
}

.separator[b-5y4qaueeq7] {
    color: #cbd5e1;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets */
@media (max-width: 768px) {
    .login-card[b-5y4qaueeq7] {
     padding: 36px 28px;
        border-radius: 20px;
  }

    .login-title[b-5y4qaueeq7] {
      font-size: 28px;
    }

    .logo-container[b-5y4qaueeq7] {
        width: 70px;
        height: 70px;
    }

    .logo-icon[b-5y4qaueeq7] {
        font-size: 36px;
    }

    .circle-1[b-5y4qaueeq7] {
        width: 200px;
   height: 200px;
    }

    .circle-2[b-5y4qaueeq7] {
        width: 150px;
        height: 150px;
    }
}

/* M�viles */
@media (max-width: 480px) {
    .login-container[b-5y4qaueeq7] {
        padding: 16px;
    }

    .login-card[b-5y4qaueeq7] {
        padding: 32px 24px;
    }

    .login-title[b-5y4qaueeq7] {
 font-size: 24px;
    }

    .login-subtitle[b-5y4qaueeq7] {
        font-size: 14px;
    }

    .form-input[b-5y4qaueeq7] {
    padding: 12px 14px;
        font-size: 14px;
 }

    .btn-login[b-5y4qaueeq7] {
  padding: 14px;
        font-size: 15px;
    }
}

/* ==================== DARK MODE (OPCIONAL) ==================== */

@media (prefers-color-scheme: dark) {
    .login-card[b-5y4qaueeq7] {
        background: #1e293b;
        color: #e2e8f0;
    }

    .login-subtitle[b-5y4qaueeq7] {
        color: #94a3b8;
    }

    .form-label[b-5y4qaueeq7] {
   color: #e2e8f0;
    }

  .form-input[b-5y4qaueeq7] {
        background: #0f172a;
        border-color: #334155;
        color: #e2e8f0;
    }

    .form-input:focus[b-5y4qaueeq7] {
      border-color: #667eea;
        background: #0f172a;
    }

  .footer-text[b-5y4qaueeq7] {
   color: #94a3b8;
    }
}
