/* /Components/Modal.razor.rz.scp.css */
/* Themed modal styles (light + dark via CSS variables) */
.app-modal-overlay[b-lus01vs1uy] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.app-modal[b-lus01vs1uy] {
    background: var(--card-bg, #fff);
    color: var(--text-color, #212529);
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.app-modal-header[b-lus01vs1uy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border-color, #dee2e6);
    background: transparent
}

.app-modal-title[b-lus01vs1uy] {
    margin: 0;
    font-weight: 700;
    letter-spacing: -.01em
}

.app-modal-actions[b-lus01vs1uy] {
    display: flex;
    align-items: center;
    gap: .5rem
}

.app-modal-actions .btn[b-lus01vs1uy] {
    border-radius: 10px
}

.app-modal-body[b-lus01vs1uy] {
    padding: 0;
    overflow: auto;
}

/* Document viewer area */
.doc-viewer[b-lus01vs1uy] {
    width: 100%;
    height: 78vh;
    border: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px
}

/* Grid for certification thumbnails */
.cert-grid[b-lus01vs1uy] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding: 1rem
}

.cert-card[b-lus01vs1uy] {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.cert-card:hover[b-lus01vs1uy] {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18)
}

.cert-thumb[b-lus01vs1uy] {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #e9ecef
}

.cert-caption[b-lus01vs1uy] {
    padding: .5rem .75rem;
    font-weight: 600;
    font-size: .9rem
}

/* Dark mode tweaks */
body.dark-mode .app-modal-actions .btn.btn-outline-light[b-lus01vs1uy] {
    border-color: var(--border-color);
    color: var(--text-color)
}

body.dark-mode .app-modal-actions .btn.btn-outline-light:hover[b-lus01vs1uy] {
    background: var(--border-color)
}

@media (max-width: 768px) {
    .doc-viewer[b-lus01vs1uy] {
        height: 70vh
    }
}
/* /Layout/JeanAI.Razor.rz.scp.css */
/* JeanAI theme-aware styles */
.jeanai-container[b-afga96in85] {
    position: fixed;
    right: 1rem;
    bottom: 4.5rem;
    /* sits above back-to-top */
    z-index: 1040;
    /* above content, below modals */
}

/* Backdrop covers page to allow click-outside close */
.jeanai-backdrop[b-afga96in85] {
    position: fixed;
    inset: 0;
    background: transparent;
    /* invisible click-catcher */
    z-index: 1039;
    /* below panel, above page */
}

.jeanai-trigger[b-afga96in85] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.jeanai-actions[b-afga96in85] {
    display: inline-flex;
    align-items: center;
}

.back-to-top-square[b-afga96in85] {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    /* square-ish */
}

body.dark-mode .back-to-top-square[b-afga96in85] {
    border-color: rgba(255, 255, 255, 0.25);
}

.jeanai-panel[b-afga96in85] {
    width: 320px;
    max-height: 60vh;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    background-color: var(--modal-bg, #ffffff);
    color: var(--modal-text, #212529);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    z-index: 1040;
}

/* Header */
.jeanai-header[b-afga96in85] {
    padding: 0.5rem 0.75rem;
    background-color: var(--modal-header-bg, #f8f9fa);
    color: var(--modal-header-text, #212529);
}

/* Body */
.jeanai-body[b-afga96in85] {
    padding: 0.75rem;
    overflow-y: auto;
    flex: 1;
    background-color: var(--modal-body-bg, #ffffff);
}

.message-row[b-afga96in85] {
    margin-bottom: 0.5rem;
    display: flex;
}

.message-row.system[b-afga96in85] {
    justify-content: flex-start;
}

.message-row.user[b-afga96in85] {
    justify-content: flex-end;
}

.message[b-afga96in85] {
    max-width: 85%;
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.message-row.system .message[b-afga96in85] {
    background: var(--bs-secondary-bg, #e9ecef);
    color: var(--modal-text, #212529);
}

.message-row.user .message[b-afga96in85] {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

/* Footer */
.jeanai-footer[b-afga96in85] {
    padding: 0.5rem;
    background-color: var(--modal-footer-bg, #f8f9fa);
}

/* Dark mode adjustments via body.dark-mode */
body.dark-mode .jeanai-panel[b-afga96in85] {
    background-color: var(--modal-bg-dark, #1e1e1e);
    color: var(--modal-text-dark, #e6e6e6);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .jeanai-header[b-afga96in85] {
    background-color: var(--modal-header-bg-dark, #2a2a2a);
    color: var(--modal-header-text-dark, #e6e6e6);
}

body.dark-mode .jeanai-body[b-afga96in85] {
    background-color: var(--modal-body-bg-dark, #1e1e1e);
}

body.dark-mode .message-row.system .message[b-afga96in85] {
    background: rgba(255, 255, 255, 0.08);
    color: var(--modal-text-dark, #e6e6e6);
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-pc807owm1g] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-pc807owm1g] {
    flex: 1;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.top-row[b-pc807owm1g] {
    background-color: var(--bg-color, #f7f7f7);
    border-bottom: 1px solid var(--border-color, #d6d5d5);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.top-row[b-pc807owm1g]  a,
.top-row[b-pc807owm1g]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-color, #212529);
}

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

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

/* Content area styling */
.content[b-pc807owm1g] {
    padding: 1.1rem 2rem;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
    .top-row[b-pc807owm1g] {
        justify-content: flex-end;
        padding-left: 70px;
        /* Space for mobile toggle button */
    }

    .top-row[b-pc807owm1g]  a,
    .top-row[b-pc807owm1g]  .btn-link {
        margin-left: 1rem;
    }

    .content[b-pc807owm1g] {
        padding: 1rem;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    main[b-pc807owm1g] {
        margin-left: 280px;
        /* Match the sidebar width */
    }

    .content[b-pc807owm1g] {
        margin-left: 0;
    }
}

/* Dark mode support */
body.dark-mode .top-row[b-pc807owm1g] {
    background-color: var(--bg-color);
    border-bottom-color: var(--border-color);
}

/* Back to Top button */
.back-to-top[b-pc807owm1g] {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.back-to-top i[b-pc807owm1g] {
    font-size: 1.1rem;
}

.back-to-top:hover[b-pc807owm1g] {
    transform: translateY(-2px);
}

/* Respect dark mode contrast when primary is customized */
body.dark-mode .back-to-top[b-pc807owm1g] {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Modern Sidebar Navigation */
.modern-sidebar[b-dkc5zj7fy5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

/* Profile Header */
.profile-header[b-dkc5zj7fy5] {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.profile-avatar[b-dkc5zj7fy5] {
    margin-bottom: 1rem;
}

.avatar-img[b-dkc5zj7fy5] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.avatar-img:hover[b-dkc5zj7fy5] {
    transform: scale(1.1);
}

.profile-info[b-dkc5zj7fy5] {
    color: white;
}

.profile-name[b-dkc5zj7fy5] {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.profile-title[b-dkc5zj7fy5] {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
}

/* Navigation */
.modern-nav[b-dkc5zj7fy5] {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-list[b-dkc5zj7fy5] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item[b-dkc5zj7fy5] {
    margin-bottom: 0.75rem;
}

/* IMPORTANT: Use ::deep so styles apply to the <a> rendered by NavLink */
.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem; /* spacing between icon and text */
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0 30px 30px 0;
    margin-right: 1.25rem;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    min-height: 50px; /* Minimum touch target */
    white-space: nowrap; /* prevent wrapping that could stack text */
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern:hover .nav-icon,
.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern:hover .nav-text {
    color: #fff;
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern:hover::before {
    transform: scaleY(1);
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern.active .nav-icon,
.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern.active .nav-text {
    color: #fff;
    font-weight: 600;
}

.modern-sidebar[b-dkc5zj7fy5]  .nav-link-modern.active::before {
    transform: scaleY(1);
}

.nav-icon[b-dkc5zj7fy5] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.95);
}

.nav-text[b-dkc5zj7fy5] {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    flex: 1;
}

/* Footer Section */
.nav-footer[b-dkc5zj7fy5] {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.social-links-nav[b-dkc5zj7fy5] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link[b-dkc5zj7fy5] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-link:hover[b-dkc5zj7fy5] {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-version[b-dkc5zj7fy5] {
    text-align: center;
}

/* Mobile Toggle */
.mobile-toggle[b-dkc5zj7fy5] {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: rgba(26, 29, 41, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-toggle:hover[b-dkc5zj7fy5] {
    background: rgba(26, 29, 41, 1);
    transform: scale(1.05);
}

/* Mobile Overlay */
.mobile-overlay[b-dkc5zj7fy5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.show[b-dkc5zj7fy5] {
    opacity: 1;
    visibility: visible;
}

/* Dark Mode Support */
body.dark-mode .modern-sidebar[b-dkc5zj7fy5] {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-right-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .profile-header[b-dkc5zj7fy5] {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .nav-footer[b-dkc5zj7fy5] {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

body.dark-mode .social-link[b-dkc5zj7fy5] {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .social-link:hover[b-dkc5zj7fy5] {
    background: rgba(255, 255, 255, 0.25);
}

body.dark-mode .mobile-toggle[b-dkc5zj7fy5] {
    background: rgba(31, 41, 55, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-sidebar[b-dkc5zj7fy5] {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .modern-sidebar.show[b-dkc5zj7fy5] {
        transform: translateX(0);
    }
}

@media (min-width: 769px) {
    .mobile-toggle[b-dkc5zj7fy5] {
        display: none;
    }

    .mobile-overlay[b-dkc5zj7fy5] {
        display: none;
    }
}

/* Smooth scrolling for navigation */
.modern-nav[b-dkc5zj7fy5] {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.modern-nav[b-dkc5zj7fy5]::-webkit-scrollbar {
    width: 4px;
}

.modern-nav[b-dkc5zj7fy5]::-webkit-scrollbar-track {
    background: transparent;
}

.modern-nav[b-dkc5zj7fy5]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.modern-nav[b-dkc5zj7fy5]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
/* /Pages/Contact.razor.rz.scp.css */
/* Flip only the avatar image on the Contact page */
.contact-avatar img[b-gyfv1djml5] {
    transform: scaleX(-1);
}
