/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-z5wo3ijd8h] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-z5wo3ijd8h] {
    flex: 1;
    background-color: var(--iba-gray-50, #f9fafb);
}

.sidebar[b-z5wo3ijd8h] {
    background: linear-gradient(180deg, #052767 0%, #041d4d 100%);
}

.top-row[b-z5wo3ijd8h] {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    justify-content: flex-end;
    height: 4rem;
    display: flex;
    align-items: center;
}

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

    .top-row[b-z5wo3ijd8h]  a:hover, .top-row[b-z5wo3ijd8h]  .btn-link:hover {
        text-decoration: underline;
        color: #052767;
    }

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

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

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

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

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

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

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

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

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

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

.brand-logo[b-ore4eswkm9] {
    height: 32px;
    width: 32px;
    margin-right: 10px;
    border-radius: 6px;
    object-fit: cover;
}

.bi[b-ore4eswkm9] {
    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-ore4eswkm9] {
    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-person-badge-nav-menu[b-ore4eswkm9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-envelope-nav-menu[b-ore4eswkm9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z'/%3E%3C/svg%3E");
}

.bi-app-nav-menu[b-ore4eswkm9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M11 2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h6zM5 1a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h6a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4H5z'/%3E%3C/svg%3E");
}

.bi-person-circle-nav-menu[b-ore4eswkm9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-circle' viewBox='0 0 16 16'%3E%3Cpath d='M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath fill-rule='evenodd' d='M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z'/%3E%3C/svg%3E");
}

.bi-gear-nav-menu[b-ore4eswkm9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.nav-divider[b-ore4eswkm9] {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 1rem;
}

.nav-item[b-ore4eswkm9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

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

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

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

/* IBA Badge in Nav */
.iba-badge[b-ore4eswkm9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f4c430;
    color: #052767;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    min-width: 1.25rem;
    margin-left: auto;
}

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

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

    .nav-scrollable[b-ore4eswkm9] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Connect.razor.rz.scp.css */
.connect-container[b-40rr867o5b] {
    max-width: 700px;
    margin: 0 auto;
}

.identity-card[b-40rr867o5b] {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #052767;
}

.identity-header[b-40rr867o5b] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.avatar-section[b-40rr867o5b] {
    flex-shrink: 0;
}

.avatar-placeholder[b-40rr867o5b] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #052767 0%, #041d4d 100%);
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
}

.identity-info[b-40rr867o5b] {
    flex: 1;
}

.identity-name[b-40rr867o5b] {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #052767;
}

.identity-email[b-40rr867o5b] {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
}

/* Identity Fields */
.identity-fields[b-40rr867o5b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.identity-field[b-40rr867o5b] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.identity-field .field-label[b-40rr867o5b] {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.identity-field .field-value[b-40rr867o5b] {
    font-size: 1rem;
    color: #111827;
    font-weight: 500;
}

/* Identity Footer */
.identity-footer[b-40rr867o5b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.user-id-section[b-40rr867o5b] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.id-label[b-40rr867o5b] {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
}

.id-value[b-40rr867o5b] {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #374151;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.iba-branding[b-40rr867o5b] {
    color: #052767;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons[b-40rr867o5b] {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 576px) {
    .identity-header[b-40rr867o5b] {
        flex-direction: column;
        text-align: center;
    }

    .identity-fields[b-40rr867o5b] {
        grid-template-columns: 1fr;
    }

    .identity-footer[b-40rr867o5b] {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .user-id-section[b-40rr867o5b] {
        flex-direction: column;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.home-container[b-3pl40qmr4y] {
    max-width: 900px;
    margin: 0 auto;
}

.hero-section[b-3pl40qmr4y] {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #052767 0%, #041d4d 100%);
    border-radius: 0.75rem;
    color: white;
    margin-bottom: 2rem;
}

.hero-logo[b-3pl40qmr4y] {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.hero-section h1[b-3pl40qmr4y] {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-section .subtitle[b-3pl40qmr4y] {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin: 0;
}

.welcome-section[b-3pl40qmr4y] {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-section h2[b-3pl40qmr4y] {
    color: #111827;
    margin-bottom: 0.5rem;
}

.welcome-section p[b-3pl40qmr4y] {
    color: #6b7280;
}

.quick-actions[b-3pl40qmr4y] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-card[b-3pl40qmr4y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
    text-align: center;
}

.action-card:hover[b-3pl40qmr4y] {
    border-color: #052767;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: #052767;
    transform: translateY(-2px);
}

.action-card svg[b-3pl40qmr4y] {
    color: #052767;
    margin-bottom: 1rem;
}

.action-card span[b-3pl40qmr4y] {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.action-card small[b-3pl40qmr4y] {
    color: #6b7280;
    font-size: 0.875rem;
}

.cta-section[b-3pl40qmr4y] {
    margin-bottom: 2rem;
}

.cta-section .iba-card[b-3pl40qmr4y] {
    padding: 3rem 2rem;
}

.cta-section h2[b-3pl40qmr4y] {
    margin-bottom: 1rem;
}

.cta-section p[b-3pl40qmr4y] {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.about-section .iba-card h3[b-3pl40qmr4y] {
    margin-bottom: 1rem;
    color: #111827;
}

.about-section .iba-card p[b-3pl40qmr4y] {
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}
/* /Pages/Messages.razor.rz.scp.css */
.messages-container[b-ivxqyh31ca] {
    max-width: 800px;
    margin: 0 auto;
}

.messages-list[b-ivxqyh31ca] {
    padding: 0;
    overflow: hidden;
}

.iba-message-item[b-ivxqyh31ca] {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.iba-message-item:last-child[b-ivxqyh31ca] {
    border-bottom: none;
}

.iba-message-item:hover[b-ivxqyh31ca] {
    background-color: #f9fafb;
}

.iba-message-item.unread[b-ivxqyh31ca] {
    background-color: rgba(5, 39, 103, 0.03);
    border-left: 3px solid #052767;
}

.message-header[b-ivxqyh31ca] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-from[b-ivxqyh31ca] {
    font-weight: 600;
    color: #052767;
    font-size: 0.875rem;
}

.message-time[b-ivxqyh31ca] {
    font-size: 0.75rem;
    color: #6b7280;
}

.message-title[b-ivxqyh31ca] {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    color: #111827;
}

.message-preview[b-ivxqyh31ca] {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.message-actions[b-ivxqyh31ca] {
    display: flex;
    gap: 0.5rem;
}

.empty-state[b-ivxqyh31ca] {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state svg[b-ivxqyh31ca] {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.empty-state h3[b-ivxqyh31ca] {
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p[b-ivxqyh31ca] {
    color: #6b7280;
    margin: 0;
}

/* Modal */
.message-modal-backdrop[b-ivxqyh31ca] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.message-modal[b-ivxqyh31ca] {
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header[b-ivxqyh31ca] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.modal-header h2[b-ivxqyh31ca] {
    font-size: 1.25rem;
    margin: 0;
    color: #111827;
}

.modal-meta[b-ivxqyh31ca] {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.modal-body[b-ivxqyh31ca] {
    line-height: 1.7;
    color: #374151;
}

.modal-body p[b-ivxqyh31ca] {
    margin: 0;
    white-space: pre-wrap;
}

.modal-actions[b-ivxqyh31ca] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.btn-outline-danger[b-ivxqyh31ca] {
    color: #dc3545;
    border-color: #dc3545;
    background: transparent;
}

.btn-outline-danger:hover[b-ivxqyh31ca] {
    color: white;
    background-color: #dc3545;
}
/* /Pages/Profile.razor.rz.scp.css */
.profile-container[b-wpletrn6un] {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.profile-header[b-wpletrn6un] {
    margin-bottom: 2rem;
}

.profile-header h1[b-wpletrn6un] {
    color: #052767;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-title[b-wpletrn6un] {
    color: #052767;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.profile-avatar[b-wpletrn6un] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #052767;
}

.profile-avatar-placeholder[b-wpletrn6un] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #052767, #0a3d8f);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.field-with-toggle[b-wpletrn6un] {
    position: relative;
}

.field-with-toggle .input-group[b-wpletrn6un] {
    flex-wrap: wrap;
}

.field-with-toggle .form-control[b-wpletrn6un],
.field-with-toggle .form-select[b-wpletrn6un],
.field-with-toggle textarea[b-wpletrn6un] {
    flex: 1;
    min-width: 200px;
}

.toggle-container[b-wpletrn6un] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
    margin-top: 0.5rem;
}

.toggle-label[b-wpletrn6un] {
    font-size: 0.85rem;
    color: #666;
}

/* Toggle Switch */
.toggle-switch[b-wpletrn6un] {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
}

.toggle-switch input[b-wpletrn6un] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-wpletrn6un] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider[b-wpletrn6un]:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider[b-wpletrn6un] {
    background-color: #052767;
}

.toggle-switch input:checked + .toggle-slider[b-wpletrn6un]:before {
    transform: translateX(24px);
}

/* Responsive */
@media (min-width: 576px) {
    .toggle-container[b-wpletrn6un] {
        width: auto;
        margin-top: 0;
        padding: 0 0.75rem;
    }

    .field-with-toggle .input-group[b-wpletrn6un] {
        flex-wrap: nowrap;
    }
}

/* Form styling */
.form-label[b-wpletrn6un] {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control:disabled[b-wpletrn6un] {
    background-color: #f8f9fa;
    color: #666;
}

textarea.form-control[b-wpletrn6un] {
    resize: vertical;
    min-height: 60px;
}
