fluent-dialog::part(control) {
    overflow: hidden !important;
}

/* Reserve space for bold text to prevent layout shift */
.navtab-label::after {
    content: '';
    font-weight: 600;
    height: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    pointer-events: none;
}

body {
    --body-font: 'Exo 2', sans-serif;
    --type-ramp-base-font-size: 16px;
    --type-ramp-base-font-variations: normal;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: var(--body-font), sans-serif;
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    font-weight: var(--font-weight);
    color: var(--neutral-foreground-rest);
    background: var(--neutral-fill-layer-rest);
    --severe-warning: var(--error);
    overscroll-behavior-y: none;
}

p:last-child {
    margin-bottom: 0;
}

.page {
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.header {
    width: 100%;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    background-color: var(--neutral-layer-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    justify-content: space-between;
    user-select: none;
}

.top-navigation {
    width: 100%;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 0 16px 0 16px;
    border-bottom: 1px solid #d6d5d5;
    box-sizing: border-box;
    background-color: var(--neutral-layer-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    justify-content: space-between;
    user-select: none;
}

.no-top-navigation {
    width: 100%;
    height: 0;
    min-height: 0;
    max-height: 0;
    border-bottom: 1px solid #d6d5d5;
}

.content-scrollbox {
    width: 100%;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overscroll-behavior-y: none;
}

.content-full-width {
    padding: 2rem 0;
    width: 100%;
    margin-bottom: auto;
}

.content-max-width-800 {
    width: 800px;
    max-width: 800px;
    padding: 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}

.content-max-width-1000 {
    width: 1000px;
    max-width: 1000px;
    padding: 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}

.content-max-width-1200 {
    width: 1200px;
    max-width: 1200px;
    padding: 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 0.5rem;
    color: var(--neutral-foreground-hint);
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--accent-fill-rest);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--neutral-foreground-hint);
}

/* Docs Layout with ToC */
.docs-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.docs-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

.docs-toc-container {
    width: 250px;
    margin-left: 2rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
    display: none; /* Hidden on small screens */
}

@media (min-width: 1024px) {
    .docs-toc-container {
        display: block;
    }
}

.docs-toc {
    font-size: 0.9rem;
}

.docs-toc-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--neutral-foreground-hint);
}

.docs-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid var(--neutral-stroke-layer-rest);
}

.docs-toc li {
    margin-bottom: 0.25rem;
}

.docs-toc a {
    text-decoration: none;
    color: var(--neutral-foreground-rest);
    display: block;
    padding: 0.25rem 1rem;
    border-left: 2px solid transparent;
    margin-left: -1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-toc a:hover {
    color: var(--accent-fill-rest);
}

.docs-toc li.toc-level-1 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.docs-toc li.toc-level-3 {
    padding-left: 1rem;
}

/* Scroll behavior for smooth ToC navigation */
html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

.statusbar {
    position: relative;
    align-self: flex-end;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    height: 32px;
    min-height: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid var(--neutral-layer-2);
    justify-content: space-between;
    background-color: var(--neutral-layer-3);
    user-select: none;
}

.navmenu-icon {
    display: none;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    margin: 20px 0;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::before {
    content: "An error has occurred. "
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #c02d76;
}

/* Root Pages Standard Styles */
.root-hero {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    position: relative;
}

.root-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 120, 212, 0.08) 0%, rgba(0, 120, 212, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.root-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--neutral-foreground-rest);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neutral-foreground-rest) 0%, var(--accent-fill-rest) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
}

.root-hero .hero-subtitle,
.root-hero .hero-description {
    font-size: 1.25rem;
    color: var(--neutral-foreground-rest);
    line-height: 1.6;
}

.root-section {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 3rem 2rem;
    position: relative;
    border-radius: 24px;
}

.root-section:nth-of-type(even) {
    background: radial-gradient(circle at 10% 20%, rgba(0, 120, 212, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 120, 212, 0.03) 0%, transparent 40%);
}

.root-section-title {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    color: var(--neutral-foreground-rest);
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 0.15em;
}

.root-section-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-fill-rest), transparent);
    border-radius: 4px;
    opacity: 0.6;
}


/* Common Questions - Book Theme */
.common-questions {
    margin-top: 0;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .questions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .questions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.question-book {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-stroke-rest);
    border-left: 8px solid var(--accent-fill-rest);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    background: linear-gradient(to bottom, rgba(0, 120, 212, 0.02), transparent);
}

.question-book:hover {
    box-shadow: 0 12px 24px rgba(0, 120, 212, 0.15);
    border-color: var(--accent-fill-rest);
    background: linear-gradient(135deg, var(--neutral-layer-1) 0%, rgba(0, 120, 212, 0.02) 100%);
}

.question-book h4 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    border-bottom: 1px solid var(--neutral-stroke-rest);
    padding-bottom: 0.5rem;
}

.question-book p {
    margin: 0;
    color: var(--neutral-foreground-hint);
    line-height: 1.6;
}

/* Documentation Links - Book Theme */
.documentation-links {
    margin-top: 0;
}

.docs-shelf {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .docs-shelf {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .docs-shelf {
        grid-template-columns: repeat(3, 1fr);
    }
}

.doc-book-category {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-stroke-rest);
    border-left: 8px solid var(--accent-fill-rest);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    background: linear-gradient(to bottom, rgba(0, 120, 212, 0.02), transparent);
}

.doc-book-category:hover {
    box-shadow: 0 12px 24px rgba(0, 120, 212, 0.15);
    border-color: var(--accent-fill-rest);
    background: linear-gradient(135deg, var(--neutral-layer-1) 0%, rgba(0, 120, 212, 0.02) 100%);
}

.doc-book-category h3 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    border-bottom: 1px solid var(--neutral-stroke-rest);
    padding-bottom: 0.5rem;
}

.doc-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-links-list li {
    margin-bottom: 0.75rem;
    position: relative;
}

.doc-links-list li::before {
    content: none;
}

.root-cta-section {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--neutral-layer-1) 0%, rgba(0, 120, 212, 0.05) 100%);
    border: 2px solid var(--accent-fill-rest);
    border-radius: 12px;
    color: var(--neutral-foreground-rest);
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

@keyframes radiating-glow {
    0% {
        box-shadow: 0 8px 24px rgba(0, 120, 212, 0.08), 0 0 0 0 rgba(0, 120, 212, 0);
    }
    50% {
        box-shadow: 0 8px 24px rgba(0, 120, 212, 0.12), 0 0 30px 15px rgba(0, 120, 212, 0.3);
        border-color: rgba(0, 120, 212, 1);
    }
    100% {
        box-shadow: 0 8px 24px rgba(0, 120, 212, 0.08), 0 0 0 0 rgba(0, 120, 212, 0);
    }
}

.root-cta-section:hover {
    box-shadow: 0 16px 32px rgba(0, 120, 212, 0.2);
    animation: radiating-glow 2s infinite ease-in-out;
}

.root-cta-section h2 {
    color: var(--accent-fill-rest);
    margin-bottom: 1.25rem;
    font-size: 2rem;
    line-height: 1.2;
    padding-bottom: 0.1em;
}

.root-cta-section p {
    color: var(--neutral-foreground-rest);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.doc-link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 26.3287C15.175 27.3482 13.9136 28 12.5 28H4C2.89543 28 2 27.1046 2 26V6C2 4.89543 2.89543 4 4 4H12.5C13.9136 4 15.175 4.65183 16 5.67134C16.825 4.65183 18.0864 4 19.5 4H28C29.1046 4 30 4.89543 30 6V26C30 27.1046 29.1046 28 28 28H19.5C18.0864 28 16.825 27.3482 16 26.3287ZM17 8.5V23.5C17 24.8807 18.1193 26 19.5 26H28V6L19.5 6C18.1193 6 17 7.11929 17 8.5ZM15 8.5C15 7.11929 13.8807 6 12.5 6H4V26H12.5C13.8807 26 15 24.8807 15 23.5V8.5Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 26.3287C15.175 27.3482 13.9136 28 12.5 28H4C2.89543 28 2 27.1046 2 26V6C2 4.89543 2.89543 4 4 4H12.5C13.9136 4 15.175 4.65183 16 5.67134C16.825 4.65183 18.0864 4 19.5 4H28C29.1046 4 30 4.89543 30 6V26C30 27.1046 29.1046 28 28 28H19.5C18.0864 28 16.825 27.3482 16 26.3287ZM17 8.5V23.5C17 24.8807 18.1193 26 19.5 26H28V6L19.5 6C18.1193 6 17 7.11929 17 8.5ZM15 8.5C15 7.11929 13.8807 6 12.5 6H4V26H12.5C13.8807 26 15 24.8807 15 23.5V8.5Z'/%3E%3C/svg%3E") no-repeat center;
    transform: translateY(1px);
}

.root-cta-section a,
.root-cta-section .cta-docs a {
    color: var(--accent-fill-rest);
    text-decoration: underline;
}

.root-cta-section .cta-docs {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--neutral-stroke-rest);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    background: var(--neutral-layer-1);
}

.card:hover, .card-hover-effect:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 212, 0.08);
    border-color: var(--accent-fill-rest);
    background: linear-gradient(135deg, var(--neutral-layer-1) 0%, rgba(0, 120, 212, 0.02) 100%);
}

.card.no-hover:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--neutral-stroke-rest) !important;
}

.card-center {
    text-align: center;
}

.card-center .card-icon {
    justify-content: center;
}

.card-highlight {
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.card.card-highlight {
    border-top-color: var(--accent-fill-rest);
    background: linear-gradient(to bottom, rgba(0, 120, 212, 0.02), transparent);
}

/* Specific styling for when a card is also a highlight */
.card.card-highlight:hover, .card-highlight.card-hover-effect:hover {
    border-color: var(--accent-fill-rest) !important;
    box-shadow: 0 12px 24px rgba(0, 120, 212, 0.15) !important;
}

.card.card-highlight.no-hover:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.08) !important;
    border-color: rgba(0, 120, 212, 0.2) !important;
}

/* Reset nested elements inside a highlighted area if needed, 
   but generally we want consistent boxes now */
.card-highlight .card {
    border: 1px solid var(--neutral-stroke-rest) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

.card-highlight .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--accent-fill-rest) !important;
}

.card-highlight .card-description {
    text-align: left;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-fill-rest);
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: var(--neutral-foreground-hint);
    line-height: 1.6;
}

.navtab-label {
    gap: 4px;
    margin-right: 16px;
}

.centered {
    position: fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    max-width: 50vw;
    max-height: 50vh;
}

.order-version {
    font-family: monospace;
    background-color: #e0e0e0;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    color: #475569;
}

.rounded-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    background-color: #e2e8f0;
    color: #475569;
}

.rounded-badge-primary {
    background-color: #3b82f6;
    color: white;
}

.rounded-badge-success {
    background-color: #10b981;
    color: white;
}

.rounded-badge-warning {
    background-color: #f59e0b;
    color: white;
}

.rounded-badge-danger {
    background-color: #ef4444;
    color: white;
}

.rounded-badge-info {
    background-color: #06b6d4;
    color: white;
}

.rounded-badge-purple {
    background-color: #8b5cf6;
    color: white;
}

.rounded-badge-pink {
    background-color: #ec4899;
    color: white;
}

.rounded-badge-orange {
    background-color: #f97316;
    color: white;
}

.rounded-badge-teal {
    background-color: #14b8a6;
    color: white;
}

.rounded-badge-indigo {
    background-color: #6366f1;
    color: white;
}

.rounded-badge-pastel-blue {
    background-color: #bfdbfe;
    color: #1e40af;
}

.rounded-badge-pastel-green {
    background-color: #bbf7d0;
    color: #166534;
}

.rounded-badge-pastel-red {
    background-color: #fecaca;
    color: #b91c1c;
}

.rounded-badge-pastel-yellow {
    background-color: #fef08a;
    color: #854d0e;
}

.rounded-badge-pastel-purple {
    background-color: #ddd6fe;
    color: #5b21b6;
}

.rounded-badge-outlined {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.rounded-badge-outlined-blue {
    background-color: transparent;
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.rounded-badge-outlined-green {
    background-color: transparent;
    border: 1px solid #10b981;
    color: #10b981;
}

.rounded-badge-outlined-red {
    background-color: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
}

.rounded-badge-outlined-purple {
    background-color: transparent;
    border: 1px solid #8b5cf6;
    color: #8b5cf6;
}

.rounded-badge-admin {
    background-color: #fecaca;
    color: #b91c1c;
}

.rounded-badge-legal {
    background-color: #fef08a;
    color: #854d0e;
}

.rounded-badge-finance {
    background-color: #bbf7d0;
    color: #166534;
}

.loading-dots,
.loading-dots div {
    box-sizing: border-box;
}

.loading-dots {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-dots div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading-dots div:nth-child(1) {
    left: 8px;
    animation: loading-dots1 0.6s infinite;
}

.loading-dots div:nth-child(2) {
    left: 8px;
    animation: loading-dots2 0.6s infinite;
}

.loading-dots div:nth-child(3) {
    left: 32px;
    animation: loading-dots2 0.6s infinite;
}

.loading-dots div:nth-child(4) {
    left: 56px;
    animation: loading-dots3 0.6s infinite;
}

@keyframes loading-dots1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes loading-dots3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes loading-dots2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

@media (max-width: 600px) {
    .header-gutters {
        margin: 0.5rem 3rem 0.5rem 1.5rem !important;
    }

    [dir="rtl"] .header-gutters {
        margin: 0.5rem 1.5rem 0.5rem 3rem !important;
    }

    .main {
        flex-direction: column !important;
        row-gap: 0 !important;
    }

    nav.sitenav {
        width: 100%;
        height: 100%;
    }

    #main-menu {
        width: 100% !important;
    }

    #main-menu > div:first-child:is(.expander) {
        display: none;
    }

    .navmenu {
        width: 100%;
    }

    #navmenu-toggle {
        appearance: none;
    }

    #navmenu-toggle ~ nav {
        display: none;
    }

    #navmenu-toggle:checked ~ nav {
        display: block;
    }

    .navmenu-icon {
        cursor: pointer;
        z-index: 10;
        display: block;
        position: absolute;
        top: 15px;
        left: unset;
        right: 20px;
        width: 20px;
        height: 20px;
        border: none;
    }

    [dir="rtl"] .navmenu-icon {
        left: 20px;
        right: unset;
    }
}