/* /Components/Layout/FontView.razor.rz.scp.css */
.font-view-container[b-ktqry78omf] {
    display: inline-block;
}

.font-toggle-btn[b-ktqry78omf] {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    color: #006bb7;
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    min-width: 75px;
    text-align: center;
    display: inline-block;
}

.font-toggle-btn:hover[b-ktqry78omf] {
    text-decoration: underline;
    color: #1861ac;
}

.font-toggle-btn:focus[b-ktqry78omf] {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}
/* /Components/Layout/footer.razor.rz.scp.css */
.site-footer[b-ovw2axwxt3] {
    flex-shrink: 0;
    background: #2c3e50;
    color: #fff;
    padding: 0.1rem 0;
    text-align: center;
}

    .site-footer .footer-terms[b-ovw2axwxt3] {
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

        .site-footer .footer-terms a[b-ovw2axwxt3] {
            color: #3498db;
            text-decoration: underline;
        }

    .site-footer ul[b-ovw2axwxt3] {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .site-footer li[b-ovw2axwxt3] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        min-width: 0;
    }

    .site-footer a[b-ovw2axwxt3] {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }

        .site-footer a.active[b-ovw2axwxt3] {
            text-decoration: underline;
        }

    /* copyright div: keep on one line so it doesn't add height */
    .site-footer .footer-copy[b-ovw2axwxt3] {
        white-space: nowrap;
    }

/* Step 1: reduce gap so li items get narrower before any font changes */
@media (max-width: 767.98px) {
    .site-footer ul[b-ovw2axwxt3] {
        gap: 0.5rem;
    }

    /* Hide ` - ` text; show a narrower | bar instead */
    .site-footer .footer-sep[b-ovw2axwxt3] {
        font-size: 0;
    }

    .site-footer .footer-sep[b-ovw2axwxt3]::before {
        content: "|";
        font-size: 1rem;
        color: #fff;
    }
}

/* If more space is needed: copyright -50%, other elements -25% */
@media (max-width: 639.98px) {
    .site-footer ul[b-ovw2axwxt3] {
        gap: 0.25rem;
    }

    .site-footer li[b-ovw2axwxt3] {
        font-size: 0.75rem;
    }

    .site-footer .footer-copy[b-ovw2axwxt3] {
        font-size: 0.5rem;
    }

    /* Keep separator hidden and scale | to match other elements */
    .site-footer .footer-sep[b-ovw2axwxt3] {
        font-size: 0;
    }

    .site-footer .footer-sep[b-ovw2axwxt3]::before {
        font-size: 0.75rem;
    }
}

/* Allow wrap only after fonts are at their minimum */
@media (max-width: 380px) {
    .site-footer ul[b-ovw2axwxt3] {
        flex-wrap: wrap;
        gap: 0.25rem 0.4rem;
    }

    .site-footer li[b-ovw2axwxt3] {
        font-size: 0.5rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .site-footer .footer-copy[b-ovw2axwxt3] {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Separators look odd between wrapped rows — hide them */
    .site-footer .footer-sep[b-ovw2axwxt3] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-539w56e94t] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the page takes at least full viewport height */
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

main[b-539w56e94t] {
    flex: 1;
}

.sidebar[b-539w56e94t] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-539w56e94t] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.left-section[b-539w56e94t] {
    display: flex;
    align-items: center;
    min-width: 0; /* allow SiteTitle to shrink and truncate rather than push header wider */
    flex-shrink: 1;
}

.right-section[b-539w56e94t] {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between TopNav, Profile and FontView */
    flex-shrink: 0; /* keep nav items visible; SiteTitle shrinks first */
}

.content[b-539w56e94t] {
    flex: 1; /* This will take up all available space, pushing footer to bottom */
    padding-top: 1.1rem;
}

.bottom-row[b-539w56e94t] {
    flex-shrink: 0; /* Prevent footer from shrinking */
    margin-top: auto; /* Push footer to bottom if content is short */
    padding-left: 0 !important; /* Footer manages its own width; override Bootstrap px-4 */
    padding-right: 0 !important;
}

    .top-row[b-539w56e94t]  a, .top-row[b-539w56e94t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-539w56e94t]  a:hover, .top-row[b-539w56e94t]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-539w56e94t]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-539w56e94t] {
        justify-content: space-between;
    }

    .top-row[b-539w56e94t]  a, .top-row[b-539w56e94t]  .btn-link {
        margin-left: 0;
    }

    .right-section[b-539w56e94t] {
        gap: 0.5rem; /* Reduce gap on mobile */
    }
}

@media (min-width: 641px) {
    .page[b-539w56e94t] {
        flex-direction: column; /* Keep column layout for sticky footer */
    }

    .sidebar[b-539w56e94t] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-539w56e94t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-539w56e94t]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-539w56e94t], .content[b-539w56e94t] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
    
    .bottom-row[b-539w56e94t] {
        padding-left: 0 !important; /* Footer background must reach page edges */
        padding-right: 0 !important;
    }
}

#blazor-error-ui[b-539w56e94t] {
    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-539w56e94t] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-cpfzy7aoih] {
    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-cpfzy7aoih] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-cpfzy7aoih] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-cpfzy7aoih] {
    font-size: 1.1rem;
}

.bi[b-cpfzy7aoih] {
    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-cpfzy7aoih] {
    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-cpfzy7aoih] {
    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-cpfzy7aoih] {
    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");
}

.bi-lock-nav-menu[b-cpfzy7aoih] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-cpfzy7aoih] {
    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' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-cpfzy7aoih] {
    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-badge' 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-person-fill-nav-menu[b-cpfzy7aoih] {
    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-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-cpfzy7aoih] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-cpfzy7aoih] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-cpfzy7aoih] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-cpfzy7aoih] {
        padding-bottom: 1rem;
    }

    .nav-item[b-cpfzy7aoih]  .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-cpfzy7aoih]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-cpfzy7aoih]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-cpfzy7aoih] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-cpfzy7aoih] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-cpfzy7aoih] {
        display: none;
    }

    .nav-scrollable[b-cpfzy7aoih] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/Profile.razor.rz.scp.css */
.top-nav[b-6zjbati4hd] {
    background: transparent;
    float: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.top-nav ul[b-6zjbati4hd] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.top-nav li[b-6zjbati4hd] {
    display: block;
}

.top-nav a[b-6zjbati4hd],
.top-nav button[b-6zjbati4hd] {
    color: #333333;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.top-nav a.active[b-6zjbati4hd] {
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.top-nav a:hover[b-6zjbati4hd],
.top-nav button:hover[b-6zjbati4hd] {
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.top-nav .bi[b-6zjbati4hd] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.25rem;
    top: -1px;
    background-size: cover;
}

.bi-person-circle[b-6zjbati4hd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' 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-box-arrow-right[b-6zjbati4hd] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' class='bi bi-box-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

/* /Components/Layout/SiteTitle.razor.rz.scp.css */
.site-title[b-qgpgm482a7] {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* Override global h2 styling on desktop */
@media (min-width: 768px) {
    .site-title[b-qgpgm482a7] {
        font-size: clamp(1.5rem, 2.5vw, 2.25rem) !important; /* Responsive scaling capped at 2.25rem to prevent overflow at XL */
    }
}

/* Responsive font sizes */
@media (max-width: 768px) {
    .site-title[b-qgpgm482a7] {
        font-size: clamp(1.0rem, 2.5vw, 1.25rem);
        margin: 0.25rem 0;
    }
}

@media (max-width: 480px) {
    .site-title[b-qgpgm482a7] {
        font-size: clamp(0.85rem, 2vw, 1.1rem);
        margin: 0.125rem 0;
    }
}

@media (max-width: 320px) {
    .site-title[b-qgpgm482a7] {
        font-size: clamp(0.75rem, 2vw, 1rem);
    }
}

/* Ensure the title doesn't cause horizontal scrolling */
@media (max-width: 280px) {
    .site-title[b-qgpgm482a7] {
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    }
}
/* /Components/Layout/TopNav.razor.rz.scp.css */
.top-nav[b-hm5gujgu16] {
    background: transparent;
    float: none;
    padding: 0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

/* Desktop: horizontal menu */
@media (min-width: 993px) {
    .nav-menu[b-hm5gujgu16] {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        height: 100%;
    }

    /* Tighter padding and icon spacing on desktop to prevent overflow at LG/XL */
    .nav-link[b-hm5gujgu16] {
        padding: 0 0.5rem;
    }

    .bi[b-hm5gujgu16] {
        margin-right: 0.4rem;
    }
}

.nav-item[b-hm5gujgu16] {
    font-size: 0.9rem;
    padding: 0;
}

.nav-link[b-hm5gujgu16] {
    color: #333333;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.nav-link.active[b-hm5gujgu16] {
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.nav-link:hover[b-hm5gujgu16] {
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

/* Navigation placeholder to maintain spacing when cart is hidden */
.nav-placeholder[b-hm5gujgu16] {
    color: transparent;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 4px;
    pointer-events: none;
}

.bi[b-hm5gujgu16] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill[b-hm5gujgu16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' 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[b-hm5gujgu16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' 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[b-hm5gujgu16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' 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");
}

.bi-award[b-hm5gujgu16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' class='bi bi-award' viewBox='0 0 16 16'%3E %3Cpath d='M9.669.864 8 0 6.331.864l-1.858.282-.842 1.68-1.337 1.32L2.6 6l-.306 1.854 1.337 1.32.842 1.68 1.858.282L8 12l1.669-.864 1.858-.282.842-1.68 1.337-1.32L13.4 6l.306-1.854-1.337-1.32-.842-1.68zm1.196 1.193.684 1.365 1.086 1.072L12.387 6l.248 1.506-1.086 1.072-.684 1.365-1.51.229L8 10.874l-1.355-.702-1.51-.229-.684-1.365-1.086-1.072L3.614 6l-.25-1.506 1.087-1.072.684-1.365 1.51-.229L8 1.126l1.356.702z'/%3E %3Cpath d='M4 11.794V16l4-1 4 1v-4.206l-2.018.306L8 13.126 6.018 12.1z'/%3E %3C/svg%3E");
}

.bi-cart[b-hm5gujgu16] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' class='bi bi-cart' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5M3.102 4l1.313 7h8.17l1.313-7zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4m7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2m7 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3E%3C/svg%3E");
}

/* Hide hamburger toggle checkbox */
.nav-toggle[b-hm5gujgu16] {
    display: none;
}

/* Hide hamburger button on desktop */
.nav-toggle-label[b-hm5gujgu16] {
    display: none;
}

/* Responsive: Mobile hamburger menu */
@media (max-width: 992px) {
    /* Show hamburger button */
    .nav-toggle-label[b-hm5gujgu16] {
        display: flex;
        align-items: center;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
        z-index: 1001;
    }

    /* Hamburger icon */
    .hamburger[b-hm5gujgu16],
    .hamburger[b-hm5gujgu16]::before,
    .hamburger[b-hm5gujgu16]::after {
        display: block;
        width: 1.5rem;
        height: 2px;
        background: #333;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger[b-hm5gujgu16]::before,
    .hamburger[b-hm5gujgu16]::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .hamburger[b-hm5gujgu16]::before {
        top: -6px;
    }

    .hamburger[b-hm5gujgu16]::after {
        top: 6px;
    }

    /* Animate hamburger to X when checked */
    .nav-toggle:checked ~ .nav-toggle-label .hamburger[b-hm5gujgu16] {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger[b-hm5gujgu16]::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger[b-hm5gujgu16]::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Hide menu by default on mobile */
    .nav-menu[b-hm5gujgu16] {
        display: none;
        position: absolute;
        top: 3.5rem;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-width: 200px;
        height: auto;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        z-index: 1000;
    }

    /* Show menu when checkbox is checked */
    .nav-toggle:checked ~ .nav-menu[b-hm5gujgu16] {
        display: flex;
    }

    /* Stack nav items vertically on mobile */
    .nav-menu .nav-item[b-hm5gujgu16] {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu .nav-item:last-child[b-hm5gujgu16] {
        border-bottom: none;
    }

    .nav-menu .nav-link[b-hm5gujgu16],
    .nav-menu .nav-placeholder[b-hm5gujgu16] {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.98);
        color: #000;
        font-weight: 600;
    }

    .nav-menu .nav-link:hover[b-hm5gujgu16] {
        background-color: rgba(0, 123, 255, 0.15);
        color: #000;
    }

    /* Hide invisible placeholder on mobile */
    .nav-placeholder[b-hm5gujgu16] {
        display: none !important;
    }
}


.nav-item[b-hm5gujgu16] {
    font-size: 0.9rem;
    padding: 0; /* Remove padding to fit within header height */
}

    .nav-item:first-of-type[b-hm5gujgu16] {
        padding-top: 0; /* Remove top padding */
    }

    .nav-item:last-of-type[b-hm5gujgu16] {
        padding-bottom: 0; /* Remove bottom padding */
    }

    .nav-item[b-hm5gujgu16]  a {
        color: #333333; /* Match the main nav link color */
        border-radius: 4px;
        height: 2.5rem; /* Fit within the header height */
        display: flex;
        align-items: center;
        line-height: normal; /* Reset line-height */
        padding: 0 0.75rem;
    }

        .nav-item[b-hm5gujgu16]  a.active {
            background-color: rgba(0, 0, 0, 0.1);
            color: #333333;
        }

        .nav-item[b-hm5gujgu16]  a:hover {
            background-color: rgba(0, 0, 0, 0.05);
            color: #333333;
        }

.nav-scrollable[b-hm5gujgu16] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-hm5gujgu16] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-hm5gujgu16] {
        display: none;
    }
}
/* /Components/Pages/AddToCart.razor.rz.scp.css */
/* Increase font size for all non-header elements by 20% (from 1rem to 1.2rem) */
label[b-2csgrh5nko],
span[b-2csgrh5nko],
input[b-2csgrh5nko],
select[b-2csgrh5nko],
button[b-2csgrh5nko],
.form-control[b-2csgrh5nko],
.form-select[b-2csgrh5nko],
.form-check-label[b-2csgrh5nko],
.alert[b-2csgrh5nko],
.btn[b-2csgrh5nko],
p[b-2csgrh5nko],
div:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6)[b-2csgrh5nko] {
    font-size: 1.2rem;
}

/* Ensure form controls maintain proper sizing with larger text */
.form-control[b-2csgrh5nko],
.form-select[b-2csgrh5nko] {
    padding: 0.5rem 0.75rem;
    border: 2px solid #495057;
}

.form-control:focus[b-2csgrh5nko],
.form-select:focus[b-2csgrh5nko] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control.is-invalid[b-2csgrh5nko] {
    border-color: #dc3545;
}

.form-control-plaintext[b-2csgrh5nko] {
    border: 2px solid #6c757d;
}

/* Adjust button padding for larger text */
.btn[b-2csgrh5nko] {
    padding: 0.5rem 1rem;
}

/* Adjust checkbox/switch sizing for larger text and consistent appearance */
.form-check-input[b-2csgrh5nko] {
    width: 2.5em;
    height: 1.5em;
    margin-top: 0;
    cursor: pointer;
}

.form-check-input:focus[b-2csgrh5nko] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Ensure switch container aligns properly with other form controls */
.form-switch[b-2csgrh5nko] {
    padding-left: 2.5em;
    min-height: calc(1.5em + 1rem);
    display: flex;
    align-items: center;
}

.form-switch .form-check-input[b-2csgrh5nko] {
    margin-left: -2.5em;
}

/* Adjust alert icon and text alignment */
.alert i[b-2csgrh5nko] {
    font-size: 1.2rem;
}

/* Adjust invalid feedback text */
.invalid-feedback[b-2csgrh5nko] {
    font-size: 1.08rem; /* Slightly smaller than main text but still 20% larger than default 0.875rem */
}

/* Table layout styles */
.add-to-cart-table[b-2csgrh5nko] {
    background-color: white;
    width: 100%;
    max-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.add-to-cart-table tbody tr[b-2csgrh5nko] {
    border-bottom: 1px solid #e9ecef;
}

.add-to-cart-table tbody tr:last-child[b-2csgrh5nko] {
    border-bottom: none;
}

.add-to-cart-table td[b-2csgrh5nko] {
    padding: 15px 20px;
    vertical-align: middle;
}

.add-to-cart-table .label-column[b-2csgrh5nko] {
    width: 30%;
    font-weight: 500;
    color: #495057;
}

.add-to-cart-table .input-column[b-2csgrh5nko] {
    width: 70%;
}

.add-to-cart-table .checkbox-column[b-2csgrh5nko],
.add-to-cart-table .button-column[b-2csgrh5nko] {
    padding: 20px;
}

.add-to-cart-table .button-column[b-2csgrh5nko] {
    text-align: center;
}

.add-to-cart-table .form-control[b-2csgrh5nko],
.add-to-cart-table .form-select[b-2csgrh5nko],
.add-to-cart-table .form-control-plaintext[b-2csgrh5nko] {
    width: 100%;
}

.add-to-cart-table .alert[b-2csgrh5nko] {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .add-to-cart-table[b-2csgrh5nko] {
        display: block;
        width: 100%;
        box-shadow: none;
    }

    .add-to-cart-table tbody[b-2csgrh5nko],
    .add-to-cart-table tr[b-2csgrh5nko],
    .add-to-cart-table td[b-2csgrh5nko] {
        display: block;
        width: 100%;
    }

    .add-to-cart-table td[b-2csgrh5nko] {
        padding: 10px 15px;
    }

    .add-to-cart-table .label-column[b-2csgrh5nko] {
        width: 100%;
        padding-bottom: 5px;
        border-bottom: none;
    }

    .add-to-cart-table .input-column[b-2csgrh5nko] {
        width: 100%;
        padding-top: 5px;
    }

    .add-to-cart-table tbody tr[b-2csgrh5nko] {
        border-bottom: 2px solid #e9ecef;
        margin-bottom: 10px;
    }
}

/* /Components/Pages/Admin/AdminHome.razor.rz.scp.css */
/* Admin Home Page Styles */

.welcome-heading[b-av5wayri7c] {
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

.home-layout-table[b-av5wayri7c] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px;
}

.left-column[b-av5wayri7c] {
    width: 250px;
    vertical-align: top;
}

.right-column[b-av5wayri7c] {
    vertical-align: top;
}

/* Admin Navigation Section */
.admin-nav-section[b-av5wayri7c] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.admin-nav-section h3[b-av5wayri7c] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

.admin-nav-list[b-av5wayri7c] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav-list li[b-av5wayri7c] {
    margin-bottom: 0.5rem;
}

/* Email Statistics Section */
.email-statistics-section[b-av5wayri7c] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.email-statistics-section h3[b-av5wayri7c] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

.email-stats-table[b-av5wayri7c] {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.email-stats-table thead th[b-av5wayri7c] {
    background-color: rgba(0, 0, 0, 0.03);
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 0.5rem 0.4rem;
    white-space: nowrap;
    font-size: 0.8rem;
}

.email-stats-table tbody td[b-av5wayri7c] {
    padding: 0.4rem 0.4rem;
    vertical-align: middle;
}

.email-stats-table tbody tr:hover[b-av5wayri7c] {
    background-color: rgba(0, 123, 255, 0.05);
}

.email-stats-table .btn-sm[b-av5wayri7c] {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
}

.alert-sm[b-av5wayri7c] {
    padding: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Action Buttons Section */
.action-buttons-section[b-av5wayri7c] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons-section .btn-sm[b-av5wayri7c] {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
}

.action-buttons-section .btn-sm i[b-av5wayri7c] {
    font-size: 0.8rem;
}

/* Statistics Section */
.statistics-section[b-av5wayri7c] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 50%;
}

.statistics-section h3[b-av5wayri7c] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

.statistics-section .table[b-av5wayri7c] {
    margin-bottom: 0;
    font-size: 0.8rem;
    table-layout: fixed;
    width: 100%;
}

.statistics-section .table thead th[b-av5wayri7c] {
    background-color: rgba(0, 0, 0, 0.03);
    color: #495057;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 0.5rem 0.3rem;
    white-space: nowrap;
    font-size: 0.75rem;
}

.statistics-section .table tbody td[b-av5wayri7c] {
    padding: 0.4rem 0.3rem;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.statistics-section .table tbody tr:hover[b-av5wayri7c] {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .home-layout-table[b-av5wayri7c] {
        display: block;
    }

    .left-column[b-av5wayri7c],
    .right-column[b-av5wayri7c] {
        display: block;
        width: 100%;
        padding: 0;
    }

    .left-column[b-av5wayri7c] {
        margin-bottom: 20px;
    }
}


.admin-nav-link[b-av5wayri7c] {
    display: block;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

/* Font Diagnostics Section */
.font-diagnostics-section[b-av5wayri7c] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.font-diagnostics-section h3[b-av5wayri7c] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

.diagnostics-summary .alert[b-av5wayri7c] {
    margin-bottom: 1rem;
}

.diagnostics-category[b-av5wayri7c] {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
}

.diagnostics-category h5[b-av5wayri7c] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.diagnostics-category details summary[b-av5wayri7c] {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.diagnostics-category details summary:hover[b-av5wayri7c] {
    background-color: rgba(0, 0, 0, 0.05);
}

.font-list[b-av5wayri7c] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.font-item[b-av5wayri7c] {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.font-item strong[b-av5wayri7c] {
    font-weight: 600;
    margin-right: 0.5rem;
}

.font-item .text-muted[b-av5wayri7c] {
    font-size: 0.75rem;
}

.font-item .badge[b-av5wayri7c] {
    font-size: 0.65rem;
}

.admin-nav-link:hover[b-av5wayri7c] {
    background-color: #e9ecef;
    color: #212529;
    text-decoration: none;
    transform: translateX(4px);
}

.admin-nav-link i[b-av5wayri7c] {
    color: #6c757d;
    font-size: 0.9rem;
}

.admin-nav-link:hover i[b-av5wayri7c] {
    color: #495057;
}

/* Active state for current page */
.admin-nav-link.active[b-av5wayri7c] {
    background-color: #007bff;
    color: #ffffff;
}

.admin-nav-link.active i[b-av5wayri7c] {
    color: #ffffff;
}

/* Responsive design */
@media (max-width: 768px) {
    .home-layout-table[b-av5wayri7c] {
        display: block;
    }
    
    .left-column[b-av5wayri7c],
    .right-column[b-av5wayri7c] {
        display: block;
        width: 100%;
    }
    
    
    .left-column[b-av5wayri7c] {
        margin-bottom: 1.5rem;
    }
}

/* Key Vault Diagnostics Section */
.key-vault-diagnostics[b-av5wayri7c] {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.key-vault-diagnostics h3[b-av5wayri7c] {
    color: #856404;
    margin-bottom: 1rem;
}

.diagnostic-info code[b-av5wayri7c] {
    background-color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.test-result[b-av5wayri7c] {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
}

.test-result pre[b-av5wayri7c] {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.9rem;
}

.stripe-keys[b-av5wayri7c] {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
}

.stripe-keys ul[b-av5wayri7c] {
    list-style: none;
    padding-left: 0;
}

.stripe-keys li[b-av5wayri7c] {
    margin-bottom: 0.5rem;
}

/* /Components/Pages/EmailCustomization.razor.rz.scp.css */
/* EmailCustomization - Enhanced button visibility on colorful backgrounds */

/* Override Bootstrap outline buttons to ensure visibility */
.btn-outline-secondary[b-rf0piokuaa],
.btn-outline-primary[b-rf0piokuaa] {
    color: #000 !important;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.95);
    border-width: 2px;
}

.btn-outline-secondary[b-rf0piokuaa] {
    border-color: #6c757d;
}

.btn-outline-primary[b-rf0piokuaa] {
    border-color: #007bff;
}

.btn-outline-secondary:hover[b-rf0piokuaa] {
    color: #fff !important;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-primary:hover[b-rf0piokuaa] {
    color: #fff !important;
    background-color: #007bff;
    border-color: #007bff;
}

/* Ensure solid buttons are also visible */
.btn-secondary[b-rf0piokuaa],
.btn-success[b-rf0piokuaa] {
    font-weight: 600;
    border-width: 2px;
}

/* Input group buttons - extra visibility */
.input-group .btn[b-rf0piokuaa] {
    min-width: 44px;
    font-weight: 600;
}

/* Icons in buttons */
.btn i.bi[b-rf0piokuaa] {
    font-size: 1rem;
}

/* Form labels and text */
.form-label[b-rf0piokuaa] {
    color: #000;
    font-weight: 600;
}

.form-text[b-rf0piokuaa] {
    color: #333;
}

/* Card styling for better contrast */
.card[b-rf0piokuaa] {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.card-header[b-rf0piokuaa] {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* Alert styling */
.alert[b-rf0piokuaa] {
    background-color: rgba(255, 255, 255, 0.95);
    border-width: 2px;
    color: #000;
}

/* Email preview area */
.bg-light[b-rf0piokuaa] {
    background-color: rgba(248, 249, 250, 0.95) !important;
}
/* /Components/Pages/FormatCertificate.razor.rz.scp.css */
.format-certificate-container[b-obqclpyxwa] {
    display: flex;
    min-height: calc(100vh - 120px);
    height: auto;
    gap: 20px;
}

.control-panel[b-obqclpyxwa] {
    width: 350px;
    flex-shrink: 0;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    max-height: calc(100vh - 140px);
    position: sticky;
    top: 20px;
    box-sizing: border-box; /* Include padding in width calculation */
    z-index: 0;
}

/* Ensure all child elements respect the panel width */
.control-panel *[b-obqclpyxwa] {
    box-sizing: border-box;
    max-width: 100%;
}

/* Button container styling */
.save-button-container[b-obqclpyxwa],
.back-button-container[b-obqclpyxwa] {
    width: 100%;
    margin-bottom: 1rem;
}

/* Buttons should fill container width */
.save-button-container .btn[b-obqclpyxwa],
.back-button-container .btn[b-obqclpyxwa] {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Accordion Styling */
.accordion[b-obqclpyxwa] {
    --bs-accordion-color: #212529;
    --bs-accordion-bg: #fff;
    --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
    --bs-accordion-border-color: #dee2e6;
    --bs-accordion-border-width: 1px;
    --bs-accordion-border-radius: 0.375rem;
    --bs-accordion-inner-border-radius: calc(0.375rem - 1px);
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-color: #212529;
    --bs-accordion-btn-bg: var(--bs-accordion-bg);
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-focus-border-color: #86b7fe;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: #052c65;
    --bs-accordion-active-bg: #cfe2ff;
}

.accordion-button[b-obqclpyxwa] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-accordion-btn-color);
    text-align: center;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

.accordion-button[b-obqclpyxwa]::after {
    position: absolute;
    right: 1.25rem;
    flex-shrink: 0;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-left: 0;
    content: "";
    background-image: var(--bs-accordion-btn-icon);
    background-repeat: no-repeat;
    background-size: var(--bs-accordion-btn-icon-width);
    transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:not(.collapsed)[b-obqclpyxwa] {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:not(.collapsed)[b-obqclpyxwa]::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button:hover[b-obqclpyxwa] {
    z-index: 2;
}

.accordion-button:focus[b-obqclpyxwa] {
    z-index: 3;
    border-color: var(--bs-accordion-btn-focus-border-color);
    outline: 0;
    box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

.accordion-header[b-obqclpyxwa] {
    margin-bottom: 0;
}

.accordion-item[b-obqclpyxwa] {
    color: var(--bs-accordion-color);
    background-color: var(--bs-accordion-bg);
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}

.accordion-item:first-of-type[b-obqclpyxwa] {
    border-top-left-radius: var(--bs-accordion-border-radius);
    border-top-right-radius: var(--bs-accordion-border-radius);
}

.accordion-item:first-of-type .accordion-button[b-obqclpyxwa] {
    border-top-left-radius: var(--bs-accordion-inner-border-radius);
    border-top-right-radius: var(--bs-accordion-inner-border-radius);
}

.accordion-item:not(:first-of-type)[b-obqclpyxwa] {
    border-top: 0;
}

.accordion-item:last-of-type[b-obqclpyxwa] {
    border-bottom-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
}

.accordion-item:last-of-type .accordion-button.collapsed[b-obqclpyxwa] {
    border-bottom-right-radius: var(--bs-accordion-inner-border-radius);
    border-bottom-left-radius: var(--bs-accordion-inner-border-radius);
}

.accordion-item:last-of-type .accordion-collapse[b-obqclpyxwa] {
    border-bottom-right-radius: var(--bs-accordion-border-radius);
    border-bottom-left-radius: var(--bs-accordion-border-radius);
}

.accordion-body[b-obqclpyxwa] {
    padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
    max-width: 100%;
    overflow-x: hidden;
}

.accordion-collapse[b-obqclpyxwa] {
    border: 0;
    max-width: 100%;
}

.collapse:not(.show)[b-obqclpyxwa] {
    display: none;
}

.collapse.show[b-obqclpyxwa] {
    display: block;
}

.form-group[b-obqclpyxwa] {
    margin-bottom: 15px;
    max-width: 100%;
    overflow: hidden;
}

.form-group label[b-obqclpyxwa] {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Section subtitles within accordions (e.g., "Font", "Style", "Position") */
.accordion-body h6[b-obqclpyxwa],
.accordion-body .section-subtitle[b-obqclpyxwa] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d6efd;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table labels within TextFormatControls */
.accordion-body table label[b-obqclpyxwa] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
}

.form-control[b-obqclpyxwa] {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Exception for font-selector-button to allow icon to display */
.font-selector-button.form-control[b-obqclpyxwa] {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.form-control:focus[b-obqclpyxwa] {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* Input fields should respect width */
input.form-control[b-obqclpyxwa],
textarea.form-control[b-obqclpyxwa] {
    max-width: 100%;
}

/* Select dropdown specific styling */
select.form-control[b-obqclpyxwa] {
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 14px 10px;
    padding-right: 2rem;
    cursor: pointer;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Option elements in dropdowns */
select.form-control option[b-obqclpyxwa] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select.form-control:hover[b-obqclpyxwa] {
    border-color: #80bdff;
}

select.form-control:focus[b-obqclpyxwa] {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: 0;
}

/* Plaintext form control for readonly fields */
.form-control-plaintext[b-obqclpyxwa] {
    padding: 8px 0;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    border: none;
    font-weight: 500;
}

.form-range[b-obqclpyxwa] {
    width: 100%;
    margin: 5px 0;
}

.position-controls[b-obqclpyxwa] {
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.preview-area[b-obqclpyxwa] {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    min-height: calc(100vh - 140px);
    position: relative;
    z-index: 0;
}

.certificate-container[b-obqclpyxwa] {
    width: 100%;
    max-width: 900px;
    height: auto; /* Changed from fixed height to support dynamic aspect ratio */
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 0;
}

.certificate-background[b-obqclpyxwa] {
    width: 100%;
    /* aspect-ratio is set dynamically in the component via inline style */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.certificate-text[b-obqclpyxwa] {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    user-select: none;
    z-index: 0;
}

.name-text[b-obqclpyxwa] {
    font-weight: bold;
}

.middle-text[b-obqclpyxwa] {
    font-style: normal;
    opacity: 0.9;
}

.title-text[b-obqclpyxwa] {
    /* Italic removed - will be added as user-configurable option in future */
}

.no-background[b-obqclpyxwa] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

.btn[b-obqclpyxwa] {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-primary[b-obqclpyxwa] {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover[b-obqclpyxwa] {
    background-color: #0056b3;
}

.btn-secondary[b-obqclpyxwa] {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover[b-obqclpyxwa] {
    background-color: #545b62;
}

.btn-warning[b-obqclpyxwa] {
    background-color: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.btn-warning:hover[b-obqclpyxwa] {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.btn-reset[b-obqclpyxwa] {
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
}

.btn-reset:hover[b-obqclpyxwa] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-reset:active[b-obqclpyxwa] {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Export and Format sections */
.export-section[b-obqclpyxwa], .format-section[b-obqclpyxwa] {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    max-width: 100%;
    overflow: hidden;
}

.export-section:last-child[b-obqclpyxwa], .format-section:last-child[b-obqclpyxwa] {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.export-section h6[b-obqclpyxwa], .format-section h6[b-obqclpyxwa] {
    margin: 0 0 10px 0;
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.export-buttons[b-obqclpyxwa] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}

.export-buttons .btn[b-obqclpyxwa], .format-section .btn[b-obqclpyxwa] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.export-buttons .btn:hover:not(:disabled)[b-obqclpyxwa], .format-section .btn:hover[b-obqclpyxwa] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.export-buttons .btn:disabled[b-obqclpyxwa] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-success[b-obqclpyxwa] {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover:not(:disabled)[b-obqclpyxwa] {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-info[b-obqclpyxwa] {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-info:hover:not(:disabled)[b-obqclpyxwa] {
    background-color: #138496;
    border-color: #117a8b;
}

.spinner-border-sm[b-obqclpyxwa] {
    width: 1rem;
    height: 1rem;
    border-width: 0.1rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .format-certificate-container[b-obqclpyxwa] {
        flex-direction: column;
        height: auto;
    }

    .control-panel[b-obqclpyxwa] {
        width: 100%;
        max-height: none; /* Remove height restriction - let it scroll naturally */
        position: relative; /* Not sticky on smaller screens */
    }

    .certificate-container[b-obqclpyxwa] {
        max-width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .control-panel[b-obqclpyxwa] {
        padding: 15px;
    }
    
    .certificate-container[b-obqclpyxwa] {
        height: 300px;
    }
    
    .accordion-button[b-obqclpyxwa] {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .form-control[b-obqclpyxwa] {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* 
 * Font Preference Exception - FormatCertificate dropdowns must preserve their font display
 * This overrides the global font-pirata-one and font-arial classes from app.css
 */
.format-certificate-container select.form-control[b-obqclpyxwa],
.format-certificate-container select.form-control option[b-obqclpyxwa],
.control-panel select.form-control[b-obqclpyxwa],
.control-panel select.form-control option[b-obqclpyxwa] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Default: thin black border between rows */
#titletable tbody tr[b-9t2nudregi] {
    border-bottom: 1px solid black;
}

/* Tablet only (MD) - stack first 3 columns vertically on left, URL on right */
@media (min-width: 768px) and (max-width: 991px) {
    .table-wrapper-compact[b-9t2nudregi] {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #titletable[b-9t2nudregi] {
        width: 100%;
        max-width: 100%;
    }

    /* Keep header visible but make it responsive */
    #titletable thead th[b-9t2nudregi] {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }

    #titletable[b-9t2nudregi],
    #titletable tbody[b-9t2nudregi] {
        display: block;
    }

    /* Use CSS Grid for the 2-column layout */
    #titletable tbody tr[b-9t2nudregi] {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 equal columns */
        grid-template-rows: auto auto auto; /* 3 rows for the 3 stacked cells */
        gap: 0.25rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid black;
        padding: 0.25rem 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #titletable td[b-9t2nudregi] {
        padding: 0.25rem 0.5rem;
        overflow-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }

    /* First 3 cells stack vertically in the left column */
    #titletable td:nth-child(1)[b-9t2nudregi] {
        grid-column: 1;
        grid-row: 1;
    }

    #titletable td:nth-child(2)[b-9t2nudregi] {
        grid-column: 1;
        grid-row: 2;
    }

    #titletable td:nth-child(3)[b-9t2nudregi] {
        grid-column: 1;
        grid-row: 3;
    }

    /* URL cell spans all 3 rows on the right */
    #titletable td:nth-child(4)[b-9t2nudregi] {
        grid-column: 2;
        grid-row: 1 / 4; /* Span rows 1 through 3 */
        align-self: start;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
}

/* SM and below: first stage - Name, Title, IssuedOn stay in row (40%, 40%, 20%), URL moves below */
@media (max-width: 767px) {
    .table-wrapper-compact[b-9t2nudregi] {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #titletable[b-9t2nudregi] {
        width: 100%;
        max-width: 100%;
    }

    #titletable thead[b-9t2nudregi] {
        display: none; /* Hide headers on small screens */
    }

    #titletable[b-9t2nudregi],
    #titletable tbody[b-9t2nudregi] {
        display: block !important; /* Override app.css */
    }

    #titletable tbody tr[b-9t2nudregi] {
        display: grid !important; /* Override app.css */
        grid-template-columns: 2fr 2fr 1fr; /* Name, Title, IssuedOn - fr units handle gaps correctly */
        grid-template-rows: auto auto; /* 2 rows: first 3 cols, then URL */
        gap: 0.25rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid black;
        padding: 0.25rem 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #titletable td[b-9t2nudregi] {
        padding: 0.25rem;
        overflow-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }

    /* First 3 cells in first row */
    #titletable td:nth-child(1)[b-9t2nudregi] {
        grid-column: 1;
        grid-row: 1;
    }

    #titletable td:nth-child(2)[b-9t2nudregi] {
        grid-column: 2;
        grid-row: 1;
    }

    #titletable td:nth-child(3)[b-9t2nudregi] {
        grid-column: 3;
        grid-row: 1;
    }

    /* URL cell spans all columns in second row */
    #titletable td:nth-child(4)[b-9t2nudregi] {
        grid-column: 1 / 4;
        grid-row: 2;
        display: flex;
        justify-content: center;
    }
}

/* XS (below 576px): second stage - Name+Title on row 1 (50% each), IssuedOn on row 2 (100%), URL on row 3 (100%) */
@media (max-width: 575px) {
    .table-wrapper-compact[b-9t2nudregi] {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #titletable[b-9t2nudregi] {
        width: 100%;
        max-width: 100%;
    }

    #titletable tbody tr[b-9t2nudregi] {
        display: grid !important; /* Override app.css */
        grid-template-columns: 1fr 1fr; /* Name and Title - fr units handle gaps correctly */
        grid-template-rows: auto auto auto; /* 3 rows */
        gap: 0.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #titletable td[b-9t2nudregi] {
        padding: 0.25rem;
        overflow-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }

    /* Name and Title in first row */
    #titletable td:nth-child(1)[b-9t2nudregi] {
        grid-column: 1;
        grid-row: 1;
    }

    #titletable td:nth-child(2)[b-9t2nudregi] {
        grid-column: 2;
        grid-row: 1;
    }

    /* IssuedOn spans both columns in second row */
    #titletable td:nth-child(3)[b-9t2nudregi] {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    /* URL spans both columns in third row */
    #titletable td:nth-child(4)[b-9t2nudregi] {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

/* LG and larger: expand wrapper to fill available width and add generous horizontal padding */
@media (min-width: 992px) {
    .table-wrapper-compact[b-9t2nudregi] {
        max-width: 100%;
    }

    #titletable th[b-9t2nudregi],
    #titletable td[b-9t2nudregi] {
        padding: 0.75rem 3rem;
    }
}

/* XL and larger: even more horizontal space */
@media (min-width: 1200px) {
    #titletable th[b-9t2nudregi],
    #titletable td[b-9t2nudregi] {
        padding: 1rem 4rem;
    }
}
/* /Components/Pages/ProfilePage.razor.rz.scp.css */
/* ProfilePage component-specific styles */

/* Tighter gutter spacing for info rows */
[b-1ryrbru96o] .row.gx-2 {
    --bs-gutter-x: 0.5rem;
}

/* Align items vertically in rows */
[b-1ryrbru96o] .row.align-items-center {
    align-items: center;
}

/* Larger text for profile info rows */
[b-1ryrbru96o] .profile-info-row {
    font-size: 1.25rem;
}

/* Transparent card backgrounds to show page background */
[b-1ryrbru96o] .card {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[b-1ryrbru96o] .card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

[b-1ryrbru96o] .card-body {
    background-color: transparent !important;
}

[b-1ryrbru96o] .card-footer {
    background-color: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Tables already transparent from global app.css, but ensure specificity */
[b-1ryrbru96o] .table {
    background-color: transparent !important;
}

[b-1ryrbru96o] .table thead th {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[b-1ryrbru96o] .table tbody td {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[b-1ryrbru96o] .table tbody tr {
    background-color: transparent !important;
}

[b-1ryrbru96o] .table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Table-dark header with semi-transparency */
[b-1ryrbru96o] .table-dark th {
    background-color: rgba(33, 37, 41, 0.7) !important;
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Ensure striped rows remain transparent */
[b-1ryrbru96o] .table-striped tbody tr:nth-of-type(odd),
[b-1ryrbru96o] .table-striped tbody tr:nth-of-type(even) {
    background-color: transparent !important;
}

[b-1ryrbru96o] .table-striped tbody tr:nth-of-type(odd) td,
[b-1ryrbru96o] .table-striped tbody tr:nth-of-type(even) td {
    background-color: transparent !important;
}

/* Loading and empty state containers */
[b-1ryrbru96o] .text-center.py-4 {
    background-color: transparent !important;
}

/* Ensure text remains readable on transparent backgrounds */
[b-1ryrbru96o] .card-body .row {
    color: #212529;
}

/* Badges maintain visibility with slight background */
[b-1ryrbru96o] .badge {
    backdrop-filter: blur(5px);
}

/* Default: thin black border between rows */
#mytitlestable tbody tr[b-1ryrbru96o] {
    border-bottom: 1px solid black;
}

/* Sortable table headers */
#mytitlestable thead th[b-1ryrbru96o] {
    user-select: none;
}

#mytitlestable thead th[style*="cursor: pointer"][b-1ryrbru96o] {
    transition: background-color 0.2s ease;
}

#mytitlestable thead th[style*="cursor: pointer"]:hover[b-1ryrbru96o] {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Ensure sort icons display properly */
#mytitlestable thead th i[b-1ryrbru96o] {
    display: inline-block;
    font-size: 0.875rem;
    vertical-align: middle;
}

/* Desktop: Fixed column widths to prevent shifting when sorting */
@media (min-width: 992px) {
    #mytitlestable[b-1ryrbru96o] {
        table-layout: fixed !important;
        width: 100% !important;
    }

    /* First 3 columns: fixed widths */
    #mytitlestable th:nth-child(1)[b-1ryrbru96o],
    #mytitlestable td:nth-child(1)[b-1ryrbru96o] {
        width: 15% !important; /* Name */
    }

    #mytitlestable th:nth-child(2)[b-1ryrbru96o],
    #mytitlestable td:nth-child(2)[b-1ryrbru96o] {
        width: 20% !important; /* Title */
    }

    #mytitlestable th:nth-child(3)[b-1ryrbru96o],
    #mytitlestable td:nth-child(3)[b-1ryrbru96o] {
        width: 12% !important; /* Expiration */
    }

    /* Remaining columns auto-distribute remaining space */
    #mytitlestable th:nth-child(4)[b-1ryrbru96o],
    #mytitlestable td:nth-child(4)[b-1ryrbru96o] {
        width: 8% !important; /* Status */
    }

    #mytitlestable th:nth-child(5)[b-1ryrbru96o],
    #mytitlestable td:nth-child(5)[b-1ryrbru96o] {
        width: 10% !important; /* URL */
    }

    #mytitlestable th:nth-child(6)[b-1ryrbru96o],
    #mytitlestable td:nth-child(6)[b-1ryrbru96o] {
        width: 8% !important; /* Renew */
    }

    #mytitlestable th:nth-child(7)[b-1ryrbru96o],
    #mytitlestable td:nth-child(7)[b-1ryrbru96o] {
        width: 8% !important; /* Format */
    }

    #mytitlestable th:nth-child(8)[b-1ryrbru96o],
    #mytitlestable td:nth-child(8)[b-1ryrbru96o] {
        width: 12% !important; /* Email */
    }

    /* Transfer column (conditional - if present, 9th column) */
    #mytitlestable th:nth-child(9)[b-1ryrbru96o],
    #mytitlestable td:nth-child(9)[b-1ryrbru96o] {
        width: 7% !important; /* Transfer */
    }

    /* Allow text wrapping in fixed-width columns */
    #mytitlestable td[b-1ryrbru96o] {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    /* Override global .table-compact white-space: nowrap */
    #mytitlestable.table-compact th[b-1ryrbru96o],
    #mytitlestable.table-compact td[b-1ryrbru96o] {
        white-space: normal !important;
    }
}

/* XL and XXL: Ensure columns stay fixed even on very large screens */
@media (min-width: 1400px) {
    #mytitlestable[b-1ryrbru96o] {
        table-layout: fixed !important;
        max-width: 100%;
    }
}

/* Tablet and below - stack first 3 columns vertically on left, remaining columns on right */
@media (max-width: 991px) {
    #mytitlestable thead[b-1ryrbru96o] {
        display: none;
    }
    
    #mytitlestable[b-1ryrbru96o],
    #mytitlestable tbody[b-1ryrbru96o],
    #mytitlestable tr[b-1ryrbru96o] {
        display: block;
    }
    
    #mytitlestable tr[b-1ryrbru96o] {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        border-bottom: 1px solid black;
        padding: 0.5rem 0;
    }
    
    #mytitlestable td[b-1ryrbru96o] {
        display: block;
        padding: 0.25rem 0.5rem;
    }
    
    /* First 3 columns (Name, Title, Expiration) take left half */
    #mytitlestable td:nth-child(1)[b-1ryrbru96o],
    #mytitlestable td:nth-child(2)[b-1ryrbru96o],
    #mytitlestable td:nth-child(3)[b-1ryrbru96o] {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Remaining columns (Status, URL, Renew, Format, Email) take right half */
    #mytitlestable td:nth-child(4)[b-1ryrbru96o],
    #mytitlestable td:nth-child(5)[b-1ryrbru96o],
    #mytitlestable td:nth-child(6)[b-1ryrbru96o],
    #mytitlestable td:nth-child(7)[b-1ryrbru96o],
    #mytitlestable td:nth-child(8)[b-1ryrbru96o] {
        flex: 0 0 50%;
        max-width: 50%;
        align-self: flex-start;
    }
}

/* Smaller tablets - Right columns shrink to 50% font size (but not images) */
@media (max-width: 767px) {
    #mytitlestable td:nth-child(4)[b-1ryrbru96o],
    #mytitlestable td:nth-child(5)[b-1ryrbru96o],
    #mytitlestable td:nth-child(6)[b-1ryrbru96o],
    #mytitlestable td:nth-child(7)[b-1ryrbru96o],
    #mytitlestable td:nth-child(8)[b-1ryrbru96o] {
        font-size: 50%;
    }
    
    /* Prevent font-size from affecting images */
    #mytitlestable td:nth-child(4) img[b-1ryrbru96o],
    #mytitlestable td:nth-child(5) img[b-1ryrbru96o],
    #mytitlestable td:nth-child(6) img[b-1ryrbru96o],
    #mytitlestable td:nth-child(7) img[b-1ryrbru96o],
    #mytitlestable td:nth-child(8) img[b-1ryrbru96o] {
        font-size: initial;
    }
}

/* Large phones - All columns stack vertically */
@media (max-width: 575px) {
    #mytitlestable td:nth-child(1)[b-1ryrbru96o],
    #mytitlestable td:nth-child(2)[b-1ryrbru96o],
    #mytitlestable td:nth-child(3)[b-1ryrbru96o],
    #mytitlestable td:nth-child(4)[b-1ryrbru96o],
    #mytitlestable td:nth-child(5)[b-1ryrbru96o],
    #mytitlestable td:nth-child(6)[b-1ryrbru96o],
    #mytitlestable td:nth-child(7)[b-1ryrbru96o],
    #mytitlestable td:nth-child(8)[b-1ryrbru96o] {
        flex: 0 0 100%;
        max-width: 100%;
        font-size: 100%; /* Reset font size when full width */
    }
}
/* /Components/Pages/SearchTitles.razor.rz.scp.css */
/* Default: thin black border between rows for both tables */
#exacttable tbody tr[b-70hc1yfajh],
#partialtable tbody tr[b-70hc1yfajh] {
    border-bottom: 1px solid black;
}

/* Tablet and below - stack first 3 columns vertically on left, remaining columns on right */
@media (max-width: 991px) {
    #exacttable thead[b-70hc1yfajh],
    #partialtable thead[b-70hc1yfajh] {
        display: none;
    }
    
    #exacttable[b-70hc1yfajh],
    #exacttable tbody[b-70hc1yfajh],
    #exacttable tr[b-70hc1yfajh],
    #partialtable[b-70hc1yfajh],
    #partialtable tbody[b-70hc1yfajh],
    #partialtable tr[b-70hc1yfajh] {
        display: block;
    }
    
    #exacttable tr[b-70hc1yfajh],
    #partialtable tr[b-70hc1yfajh] {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        border-bottom: 1px solid black;
        padding: 0.5rem 0;
    }
    
    #exacttable td[b-70hc1yfajh],
    #partialtable td[b-70hc1yfajh] {
        display: block;
        padding: 0.25rem 0.5rem;
    }
    
    /* First 3 columns (Name, Title, IssuedOn) take left half */
    #exacttable td:nth-child(1)[b-70hc1yfajh],
    #exacttable td:nth-child(2)[b-70hc1yfajh],
    #exacttable td:nth-child(3)[b-70hc1yfajh],
    #partialtable td:nth-child(1)[b-70hc1yfajh],
    #partialtable td:nth-child(2)[b-70hc1yfajh],
    #partialtable td:nth-child(3)[b-70hc1yfajh] {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Remaining columns (Owner and/or URL) take right half */
    #exacttable td:nth-child(4)[b-70hc1yfajh],
    #exacttable td:nth-child(5)[b-70hc1yfajh],
    #partialtable td:nth-child(4)[b-70hc1yfajh],
    #partialtable td:nth-child(5)[b-70hc1yfajh] {
        flex: 0 0 50%;
        max-width: 50%;
        align-self: flex-start;
    }
}

/* Smaller tablets - Remaining columns shrink to 50% font size (but not images) */
@media (max-width: 767px) {
    #exacttable td:nth-child(4)[b-70hc1yfajh],
    #exacttable td:nth-child(5)[b-70hc1yfajh],
    #partialtable td:nth-child(4)[b-70hc1yfajh],
    #partialtable td:nth-child(5)[b-70hc1yfajh] {
        font-size: 50%;
    }
    
    /* Prevent font-size from affecting images */
    #exacttable td:nth-child(4) img[b-70hc1yfajh],
    #exacttable td:nth-child(5) img[b-70hc1yfajh],
    #partialtable td:nth-child(4) img[b-70hc1yfajh],
    #partialtable td:nth-child(5) img[b-70hc1yfajh] {
        font-size: initial;
    }
}

/* Large phones - All columns stack vertically */
@media (max-width: 575px) {
    #exacttable td:nth-child(1)[b-70hc1yfajh],
    #exacttable td:nth-child(2)[b-70hc1yfajh],
    #exacttable td:nth-child(3)[b-70hc1yfajh],
    #exacttable td:nth-child(4)[b-70hc1yfajh],
    #exacttable td:nth-child(5)[b-70hc1yfajh],
    #partialtable td:nth-child(1)[b-70hc1yfajh],
    #partialtable td:nth-child(2)[b-70hc1yfajh],
    #partialtable td:nth-child(3)[b-70hc1yfajh],
    #partialtable td:nth-child(4)[b-70hc1yfajh],
    #partialtable td:nth-child(5)[b-70hc1yfajh] {
        flex: 0 0 100%;
        max-width: 100%;
        font-size: 100%; /* Reset font size when full width */
    }
}
/* /Components/Shared/BackgroundSelector.razor.rz.scp.css */
/* BackgroundSelector Component Styles */

.background-selector[b-yybao4h152] {
    width: 100%;
}

/* Thumbnail Grid Layout */
.background-grid[b-yybao4h152] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #f8f9fa;
}

/* Individual Background Option */
.background-option[b-yybao4h152] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.background-option:hover[b-yybao4h152] {
    border-color: #0d6efd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.background-option:focus[b-yybao4h152] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.background-option.selected[b-yybao4h152] {
    border-color: #198754;
    background-color: #d1e7dd;
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

/* Thumbnail Image */
.background-thumbnail[b-yybao4h152] {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    border: 1px solid #dee2e6;
}

/* Background Name Label */
.background-name[b-yybao4h152] {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    color: #495057;
    word-break: break-word;
    width: 100%;
}

.background-option.selected .background-name[b-yybao4h152] {
    color: #198754;
    font-weight: 600;
}

/* Selected Indicator Badge */
.selected-indicator[b-yybao4h152] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #198754;
    font-size: 1.5rem;
    background-color: white;
    border-radius: 50%;
    padding: 0.125rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .background-grid[b-yybao4h152] {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .background-option[b-yybao4h152] {
        padding: 0.5rem;
    }

    .background-name[b-yybao4h152] {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .background-grid[b-yybao4h152] {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Scrollbar Styling */
.background-grid[b-yybao4h152]::-webkit-scrollbar {
    width: 8px;
}

.background-grid[b-yybao4h152]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.background-grid[b-yybao4h152]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.background-grid[b-yybao4h152]::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* /Components/Shared/ConfirmationDialog.razor.rz.scp.css */
.confirmation-overlay[b-st29s6tol5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn-b-st29s6tol5 0.2s ease-in-out;
}

.confirmation-dialog[b-st29s6tol5] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn-b-st29s6tol5 0.3s ease-out;
}

.confirmation-header[b-st29s6tol5] {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.confirmation-title[b-st29s6tol5] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmation-icon[b-st29s6tol5] {
    font-size: 1.5rem;
    color: #ffc107;
}

.confirmation-body[b-st29s6tol5] {
    padding: 24px;
    color: #495057;
    line-height: 1.5;
}

.confirmation-body p[b-st29s6tol5] {
    margin: 0;
    font-size: 1rem;
}

.confirmation-footer[b-st29s6tol5] {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.confirmation-footer .btn[b-st29s6tol5] {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.confirmation-footer .btn-secondary[b-st29s6tol5] {
    background-color: #6c757d;
    color: white;
}

.confirmation-footer .btn-secondary:hover[b-st29s6tol5] {
    background-color: #545b62;
    transform: translateY(-1px);
}

.confirmation-footer .btn-warning[b-st29s6tol5] {
    background-color: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.confirmation-footer .btn-warning:hover[b-st29s6tol5] {
    background-color: #e0a800;
    border-color: #d39e00;
    transform: translateY(-1px);
}

.confirmation-footer .btn:active[b-st29s6tol5] {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn-b-st29s6tol5 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-st29s6tol5 {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .confirmation-dialog[b-st29s6tol5] {
        width: 95%;
        margin: 0 10px;
    }
    
    .confirmation-header[b-st29s6tol5],
    .confirmation-body[b-st29s6tol5],
    .confirmation-footer[b-st29s6tol5] {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .confirmation-footer[b-st29s6tol5] {
        flex-direction: column-reverse;
    }
    
    .confirmation-footer .btn[b-st29s6tol5] {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .confirmation-footer .btn:last-child[b-st29s6tol5] {
        margin-bottom: 0;
    }
}
/* /Components/Shared/FontSelector.razor.rz.scp.css */
.font-selector[b-oetab5pvqt] {
    position: relative;
    margin-bottom: 1rem;
    max-width: 100%;
}

/* Ensure label displays with original casing - use !important to override any inherited styles */
.font-selector label[b-oetab5pvqt],
.font-selector .form-label[b-oetab5pvqt] {
    text-transform: none !important;
}

.font-selector-wrapper[b-oetab5pvqt] {
    position: relative;
    max-width: 100%;
}

/* Boost z-index when dropdown is open to ensure it appears above other table rows */
.font-selector-wrapper.dropdown-open[b-oetab5pvqt] {
    z-index: 1001;
}

.font-selector-button[b-oetab5pvqt] {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.font-selector-button:hover[b-oetab5pvqt] {
    background-color: #f8f9fa;
}

.font-selector-button:focus[b-oetab5pvqt] {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.selected-font[b-oetab5pvqt] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ensure the chevron icon doesn't shrink and cause layout issues */
.font-selector-button .fa-chevron-down[b-oetab5pvqt] {
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.font-selector-dropdown[b-oetab5pvqt] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1002; /* Higher than wrapper to ensure it's on top */
    max-height: 400px;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.font-search-box[b-oetab5pvqt] {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.font-list[b-oetab5pvqt] {
    overflow-y: auto;
    flex: 1;
}

.font-category[b-oetab5pvqt] {
    border-bottom: 1px solid #e9ecef;
}

.font-category:last-child[b-oetab5pvqt] {
    border-bottom: none;
}

.font-category-header[b-oetab5pvqt] {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: none;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #dee2e6;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}

.font-item[b-oetab5pvqt] {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    border-bottom: 1px solid #f1f3f5;
}

.font-item:last-child[b-oetab5pvqt] {
    border-bottom: none;
}

.font-item:hover[b-oetab5pvqt] {
    background-color: #e9ecef;
}

.font-item.selected[b-oetab5pvqt] {
    background-color: #0d6efd;
    color: white;
}

.font-item.selected .badge[b-oetab5pvqt] {
    background-color: white !important;
    color: #0d6efd !important;
}

.font-item span[b-oetab5pvqt] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Custom scrollbar for font list */
.font-list[b-oetab5pvqt]::-webkit-scrollbar {
    width: 8px;
}

.font-list[b-oetab5pvqt]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.font-list[b-oetab5pvqt]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.font-list[b-oetab5pvqt]::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-selector-dropdown[b-oetab5pvqt] {
        max-height: 300px;
    }
}
/* /Components/Shared/SystemMetricsCard.razor.rz.scp.css */
.system-metrics-card[b-snye7688bn] {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.system-metrics-card h3[b-snye7688bn] {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #333;
}

.metrics-grid[b-snye7688bn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-item[b-snye7688bn] {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.metric-item:hover[b-snye7688bn] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.metric-icon[b-snye7688bn] {
    font-size: 2rem;
    margin-right: 1rem;
    line-height: 1;
}

.metric-content[b-snye7688bn] {
    flex: 1;
}

.metric-value[b-snye7688bn] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.metric-label[b-snye7688bn] {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.metric-sublabel[b-snye7688bn] {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 0.125rem;
}

.last-updated[b-snye7688bn] {
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.last-updated i[b-snye7688bn] {
    margin-right: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .metrics-grid[b-snye7688bn] {
        grid-template-columns: 1fr;
    }
    
    .metric-value[b-snye7688bn] {
        font-size: 1.5rem;
    }
    
    .metric-icon[b-snye7688bn] {
        font-size: 1.5rem;
    }
}
/* /Components/Shared/TextFormatControls.razor.rz.scp.css */
/* Ensure labels display with their original casing - use !important to override any inherited styles */
label[b-jz8gfjo8d6] {
    text-transform: none !important;
}

/* Table styling for better layout */
.table[b-jz8gfjo8d6] {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    table-layout: fixed; /* Force table to respect width constraints */
}

.table tbody tr[b-jz8gfjo8d6] {
    border: none;
}

.table tbody td[b-jz8gfjo8d6] {
    padding: 0.75rem 0;
    vertical-align: middle;
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Allow dropdown to escape - CRITICAL for z-index */
    box-sizing: border-box;
    position: relative; /* Create positioning context for absolute children */
}

/* Label styling */
.table label[b-jz8gfjo8d6] {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
    text-transform: none !important;
}

/* Form controls */
.form-range[b-jz8gfjo8d6] {
    width: 100%;
}

.form-control[b-jz8gfjo8d6] {
    width: 100%;
}
/* /Components/Shared/TitleEmailCell.razor.rz.scp.css */
/* Email cell styling for better visibility on colorful backgrounds */

/* Override Bootstrap outline button colors to ensure readability */
.btn-outline-warning[b-98uuunun4z],
.btn-outline-primary[b-98uuunun4z] {
    color: #000 !important;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.95);
    border-width: 2px;
}

.btn-outline-warning[b-98uuunun4z] {
    border-color: #ffc107;
}

.btn-outline-primary[b-98uuunun4z] {
    border-color: #007bff;
}

.btn-outline-warning:hover[b-98uuunun4z],
.btn-outline-primary:hover[b-98uuunun4z] {
    color: #fff !important;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-primary:hover[b-98uuunun4z] {
    background-color: #007bff;
    border-color: #007bff;
}

/* Ensure all text in email cell is readable */
span[b-98uuunun4z] {
    color: #000;
    font-weight: 500;
}

.text-muted[b-98uuunun4z] {
    color: #666 !important;
}

.text-success[b-98uuunun4z] {
    color: #28a745 !important;
}
/* /Components/Shared/TitleNameCell.razor.rz.scp.css */
.name-text[b-2zb64bc89d] {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.2;
    white-space: normal;
}

/* Responsive adjustments - reduce max-width on smaller screens */
@media (max-width: 768px) {
    .name-text[b-2zb64bc89d] {
        max-width: 20ch; /* Override for mobile */
    }
}

@media (min-width: 1200px) {
    .name-text[b-2zb64bc89d] {
        /* Allow parameter value on large screens, no override */
    }
}
/* /Components/Shared/TitlePermUrlCell.razor.rz.scp.css */
/* Thumbnail Container */
.perm-url-container[b-7smu4lwqae] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Thumbnail Image */
.perm-url-thumbnail[b-7smu4lwqae] {
    max-height: 200px;
    min-height: 50px; /* Never scale below 50px */
    max-width: 100%;
    min-width: 50px; /* Never scale below 50px wide */
    width: auto;
    height: auto;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.perm-url-thumbnail:hover[b-7smu4lwqae] {
    border-color: #0d6efd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.perm-url-thumbnail:focus[b-7smu4lwqae] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Full Image Dialog Overlay */
.image-dialog-overlay[b-7smu4lwqae] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-7smu4lwqae 0.2s ease-in-out;
}

@keyframes fadeIn-b-7smu4lwqae {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Dialog Box */
.image-dialog[b-7smu4lwqae] {
    background: white;
    border-radius: 0.5rem;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-7smu4lwqae 0.3s ease-in-out;
}

@keyframes slideIn-b-7smu4lwqae {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Dialog Header */
.image-dialog-header[b-7smu4lwqae] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.image-dialog-title[b-7smu4lwqae] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
}

.btn-close[b-7smu4lwqae] {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    width: 1.5em;
    height: 1.5em;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.btn-close:hover[b-7smu4lwqae] {
    opacity: 1;
}

/* Dialog Body */
.image-dialog-body[b-7smu4lwqae] {
    padding: 1rem;
    overflow: auto;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.full-size-image[b-7smu4lwqae] {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dialog Footer */
.image-dialog-footer[b-7smu4lwqae] {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .perm-url-thumbnail[b-7smu4lwqae] {
        max-height: 120px;
        /* min-height and min-width already set to 50px in base style */
    }

    .image-dialog[b-7smu4lwqae] {
        max-width: 95vw;
        max-height: 95vh;
    }

    .image-dialog-header[b-7smu4lwqae],
    .image-dialog-footer[b-7smu4lwqae] {
        padding: 0.75rem 1rem;
    }

    .image-dialog-title[b-7smu4lwqae] {
        font-size: 1.1rem;
    }

    .full-size-image[b-7smu4lwqae] {
        max-height: 60vh;
    }

    .image-dialog-footer[b-7smu4lwqae] {
        flex-direction: column;
    }

    .image-dialog-footer button[b-7smu4lwqae] {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .perm-url-thumbnail[b-7smu4lwqae] {
        max-height: 50px; /* Enforces 50px minimum - won't go below this */
        /* min-height and min-width already set to 50px in base style */
    }
}

/* Copy Success Animation */
@keyframes successPulse-b-7smu4lwqae {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/* /Components/Shared/TitleTitleCell.razor.rz.scp.css */
.title-text[b-xiw1xl3ia5] {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.2;
    white-space: normal;
}

/* Responsive adjustments - reduce max-width on smaller screens */
@media (max-width: 768px) {
    .title-text[b-xiw1xl3ia5] {
        max-width: 30ch; /* Override for mobile */
    }
}

@media (min-width: 1200px) {
    .title-text[b-xiw1xl3ia5] {
        /* Allow parameter value on large screens, no override */
    }
}
