/* ==========================================================================

   Larapak Documentation Official Stylesheet (docs.css)

   Clean, high-end developer documentation layout inspired by Laravel & Vercel

   ========================================================================== */



*, *::before, *::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



:root {

    --bg-body: #0d0d0e;

    --bg-nav: #121214;

    --bg-sidebar: #0f0f11;

    --bg-card: #141418;

    --bg-canvas: #09090b;

    --bg-code: #161619;

    --border-color: #232327;

    --border-subtle: rgba(255, 255, 255, 0.07);

    --primary: #ff2d20;

    --primary-hover: #e02418;

    --primary-muted: rgba(255, 45, 32, 0.12);

    --text-main: #f4f4f5;

    --text-muted: #9ca3af;

    --text-dim: #71717a;

    --code-text: #ff756b;

}



body {

    background-color: var(--bg-body);

    color: var(--text-main);

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

}



/* --------------------------------------------------------------------------

   Top Navbar

   -------------------------------------------------------------------------- */

.topbar {

    position: sticky;

    top: 0;

    z-index: 50;

    height: 62px;

    background-color: rgba(15, 15, 17, 0.94);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--border-color);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 1.75rem;

}



.brand-container {

    display: flex;

    align-items: center;

    gap: 0.85rem;

    text-decoration: none;

    color: inherit;

}



.brand-logo {

    width: 28px;

    height: 28px;

    object-fit: contain;

}



.brand-title {

    font-size: 1.25rem;

    font-weight: 800;

    color: var(--primary);

    letter-spacing: -0.03em;

}



/* --------------------------------------------------------------------------

   Search Bar & Quick Search Shortcut

   -------------------------------------------------------------------------- */

.search-box-wrapper {

    flex-grow: 1;

    max-width: 480px;

    margin: 0 2rem;

    position: relative;

    display: flex;

    align-items: center;

}



.search-icon {

    position: absolute;

    left: 0.85rem;

    top: 50%;

    transform: translateY(-50%);

    width: 16px;

    height: 16px;

    color: var(--text-dim);

    pointer-events: none;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 2;

    transition: color 0.15s ease;

}



.search-box {

    width: 100%;

    height: 38px;

    background-color: #161619;

    border: 1px solid var(--border-color);

    border-radius: 8px;

    padding: 0 2.85rem 0 2.45rem;

    color: var(--text-main);

    font-size: 0.875rem;

    outline: none;

    transition: all 0.15s ease;

}



.search-box:focus {

    border-color: var(--primary);

    background-color: #1a1a1f;

    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.15);

}



.search-box-wrapper:focus-within .search-icon {

    color: var(--primary);

}



.search-shortcut {

    position: absolute;

    right: 0.75rem;

    top: 50%;

    transform: translateY(-50%);

    background-color: #202024;

    color: var(--text-dim);

    font-size: 0.7rem;

    font-weight: 600;

    padding: 2px 6px;

    border-radius: 4px;

    border: 1px solid #333338;

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    pointer-events: none;

    user-select: none;

    z-index: 2;

}



/* --------------------------------------------------------------------------

   Navbar Right Actions

   -------------------------------------------------------------------------- */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 1.25rem;

    font-size: 0.875rem;

}



.version-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.35rem;

    background-color: #1a1a1f;

    border: 1px solid var(--border-color);

    color: #d4d4d8;

    padding: 0.35rem 0.75rem;

    border-radius: 6px;

    font-size: 0.8rem;

    font-weight: 500;

}



.nav-link {

    color: var(--text-muted);

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

    transition: color 0.15s;

}



.nav-link:hover {

    color: #ffffff;

}



.nav-link svg {

    transition: transform 0.15s ease;

}



.nav-link:hover svg {

    transform: scale(1.05);

}



.nav-btn-studio {

    background-color: var(--primary-muted);

    color: var(--primary);

    border: 1px solid rgba(255, 45, 32, 0.35);

    padding: 0.35rem 0.85rem;

    border-radius: 6px;

    font-weight: 600;

    font-size: 0.8rem;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

    transition: all 0.15s;

}



.nav-btn-studio:hover {

    background-color: var(--primary);

    color: #ffffff;

}



/* --------------------------------------------------------------------------

   App Body Layout & Sidebar Nav

   -------------------------------------------------------------------------- */

.layout-container {

    display: flex;

    flex-grow: 1;

    width: 100%;

}



.sidebar {

    width: 285px;

    min-width: 285px;

    position: sticky;

    top: 62px;

    height: calc(100vh - 62px);

    overflow-y: auto;

    border-right: 1px solid var(--border-color);

    background-color: var(--bg-sidebar);

    padding: 1.75rem 1.25rem 3rem 1.5rem;

}



.sidebar::-webkit-scrollbar {

    width: 5px;

}



.sidebar::-webkit-scrollbar-thumb {

    background-color: #27272a;

    border-radius: 4px;

}



.menu-category {

    margin-bottom: 1.65rem;

}



.menu-heading {

    font-size: 0.75rem;

    font-weight: 700;

    color: var(--text-dim);

    text-transform: uppercase;

    letter-spacing: 0.08em;

    margin-bottom: 0.5rem;

    padding-left: 0.5rem;

}



.menu-collapsible-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0.35rem 0.5rem;

    border-radius: 6px;

    cursor: pointer;

    transition: color 0.15s, background-color 0.15s;

    user-select: none;

}



.menu-collapsible-heading:hover {

    color: var(--text-main);

    background-color: rgba(255, 255, 255, 0.04);

}



.menu-collapsible-heading .collapse-chevron {

    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    color: var(--text-dim);

}



.menu-collapsible-heading:hover .collapse-chevron {

    color: var(--text-main);

}



.menu-collapsible-heading.collapsed .collapse-chevron {

    transform: rotate(-90deg);

}



.collapse-content {

    transition: all 0.2s ease;

}



.collapse-content.collapsed {

    display: none;

}



.menu-list {

    list-style: none;

}



.menu-item {

    margin-bottom: 0.15rem;

}



.menu-link {

    display: block;

    padding: 0.42rem 0.65rem;

    color: var(--text-muted);

    text-decoration: none;

    font-size: 0.875rem;

    border-radius: 6px;

    transition: all 0.15s ease;

}



.menu-link:hover {

    color: #ffffff;

    background-color: rgba(255, 255, 255, 0.05);

}



.menu-link.active {

    color: var(--primary);

    background-color: rgba(255, 45, 32, 0.12);

    font-weight: 600;

}



.menu-link-external {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.menu-link-external svg {

    color: var(--text-dim);

    opacity: 0.7;

    transition: all 0.15s;

}



.menu-link-external:hover svg {

    color: var(--primary);

    opacity: 1;

    transform: translate(1px, -1px);

}



/* --------------------------------------------------------------------------

   Main Content Area & Typography

   -------------------------------------------------------------------------- */

.main-wrapper {

    flex-grow: 1;

    max-width: 980px;

    padding: 3rem 4rem 6rem;

    margin: 0 auto;

}



.page-header {

    margin-bottom: 2.5rem;

    padding-bottom: 1.5rem;

    border-bottom: 1px solid var(--border-color);

}



.page-title {

    font-size: 2.25rem;

    font-weight: 800;

    letter-spacing: -0.03em;

    color: #ffffff;

    margin-bottom: 0.75rem;

}



.page-desc {

    font-size: 1.1rem;

    color: var(--text-muted);

    line-height: 1.6;

    margin-bottom: 1.25rem;

}



.version-pill {

    display: inline-block;

    background-color: var(--primary-muted);

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 600;

    padding: 0.25rem 0.75rem;

    border-radius: 9999px;

    border: 1px solid rgba(255, 45, 32, 0.25);

}



.prose {

    font-size: 1rem;

    line-height: 1.75;

    color: #d4d4d8;

}



.prose h2 {

    font-size: 1.6rem;

    font-weight: 700;

    color: #ffffff;

    margin-top: 2.75rem;

    margin-bottom: 1rem;

    letter-spacing: -0.02em;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    padding-bottom: 0.5rem;

}



.prose h3 {

    font-size: 1.25rem;

    font-weight: 600;

    color: #f4f4f5;

    margin-top: 2rem;

    margin-bottom: 0.75rem;

}



.prose p {

    margin-bottom: 1.25rem;

}



.prose ul, .prose ol {

    margin-bottom: 1.25rem;

    padding-left: 1.5rem;

}



.prose li {

    margin-bottom: 0.5rem;

}



.prose a {

    color: var(--primary);

    text-decoration: underline;

    text-underline-offset: 3px;

}



.prose a:hover {

    color: #ff574d;

}



.prose code {

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    background-color: #1f1f23;

    color: var(--code-text);

    padding: 0.15rem 0.4rem;

    border-radius: 4px;

    font-size: 0.875rem;

    border: 1px solid rgba(255, 255, 255, 0.06);

}



.prose pre {

    background-color: var(--bg-code);

    border: 1px solid var(--border-color);

    border-radius: 8px;

    padding: 1.25rem 1.5rem;

    overflow-x: auto;

    margin: 1.5rem 0;

    position: relative;

}



.prose pre code {

    background: transparent;

    color: #f4f4f5;

    padding: 0;

    border: none;

    font-size: 0.9rem;

    line-height: 1.6;

}



.callout {

    background: rgba(255, 255, 255, 0.03);

    border-left: 3px solid var(--primary);

    padding: 1rem 1.25rem;

    border-radius: 0 8px 8px 0;

    margin: 1.5rem 0;

    font-size: 0.925rem;

    color: #d4d4d8;

}



.callout strong {

    color: #ffffff;

}



.prose table {

    width: 100%;

    border-collapse: collapse;

    margin: 1.5rem 0;

    font-size: 0.9rem;

}



.prose th, .prose td {

    padding: 0.75rem 1rem;

    border: 1px solid var(--border-color);

    text-align: left;

}



.prose th {

    background-color: #1a1a1f;

    color: #ffffff;

    font-weight: 600;

}



.prose tr:nth-child(even) {

    background-color: rgba(255, 255, 255, 0.02);

}



/* --------------------------------------------------------------------------

   Component Showcase Cards & Live Canvas Preview (High-End & Bulletproof)

   -------------------------------------------------------------------------- */

.component-card {

    background-color: var(--bg-card);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    margin: 2rem 0;

    overflow: hidden;

    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);

}



.component-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0.75rem 1.25rem;

    background-color: #17171c;

    border-bottom: 1px solid var(--border-color);

}



.component-title {

    font-size: 0.85rem;

    font-weight: 600;

    color: #e4e4e7;

    letter-spacing: -0.01em;

}



.btn-copy-code {

    all: unset;

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    background-color: #212127;

    border: 1px solid #33333a;

    color: var(--text-muted);

    font-size: 0.75rem;

    font-weight: 500;

    padding: 0.3rem 0.65rem;

    border-radius: 6px;

    cursor: pointer;

    transition: all 0.15s ease;

    user-select: none;

}



.btn-copy-code:hover {

    color: #ffffff;

    border-color: var(--primary);

    background-color: rgba(255, 45, 32, 0.12);

}



.btn-copy-code svg {

    width: 13px !important;

    height: 13px !important;

    min-width: 13px !important;

    max-width: 13px !important;

    max-height: 13px !important;

    flex-shrink: 0;

}



.component-canvas {

    padding: 2.25rem 2rem;

    background-color: var(--bg-canvas);

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: flex-start;

    gap: 1rem;

    min-height: 90px;

    border-bottom: 1px solid var(--border-color);

}



.component-canvas-stacked {

    flex-direction: column;

    align-items: stretch;

}



.component-code-block {

    margin: 0 !important;

    border: none !important;

    border-radius: 0 !important;

    background-color: #121215 !important;

    padding: 1.15rem 1.35rem !important;

    font-size: 0.85rem !important;

}



/* --------------------------------------------------------------------------

   UI Component Classes (Custom Rikat UI Kit)

   -------------------------------------------------------------------------- */

.c-btn {

    all: unset;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    font-size: 0.875rem;

    font-weight: 500;

    height: 38px;

    padding: 0 1.15rem;

    border-radius: 8px;

    border: 1px solid transparent;

    cursor: pointer;

    transition: all 0.15s ease;

    text-decoration: none;

    box-sizing: border-box;

    user-select: none;

    line-height: 1;

}



.c-btn svg {

    width: 15px !important;

    height: 15px !important;

    min-width: 15px !important;

    max-width: 15px !important;

    max-height: 15px !important;

    flex-shrink: 0;

}



.c-btn-primary {

    background-color: var(--primary) !important;

    color: #ffffff !important;

    border-color: var(--primary) !important;

    box-shadow: 0 1px 3px rgba(255, 45, 32, 0.25);

}



.c-btn-primary:hover {

    background-color: var(--primary-hover) !important;

    border-color: var(--primary-hover) !important;

}



.c-btn-secondary {

    background-color: #242429 !important;

    color: #f4f4f5 !important;

    border-color: #383840 !important;

}



.c-btn-secondary:hover {

    background-color: #2e2e35 !important;

    border-color: #484852 !important;

}



.c-btn-outline {

    background-color: transparent !important;

    color: #e4e4e7 !important;

    border-color: #33333a !important;

}



.c-btn-outline:hover {

    background-color: rgba(255, 255, 255, 0.05) !important;

    border-color: #52525b !important;

    color: #ffffff !important;

}



.c-btn-danger {

    background-color: #dc2626 !important;

    color: #ffffff !important;

    border-color: #dc2626 !important;

}



.c-btn-danger:hover {

    background-color: #b91c1c !important;

}



.c-btn-ghost {

    background-color: transparent !important;

    color: var(--text-muted) !important;

    border-color: transparent !important;

}



.c-btn-ghost:hover {

    color: #ffffff !important;

    background-color: rgba(255, 255, 255, 0.06) !important;

}



.c-btn:disabled, .c-btn[disabled] {

    opacity: 0.45 !important;

    cursor: not-allowed !important;

    pointer-events: none !important;

}



.c-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.35rem;

    font-size: 0.75rem;

    font-weight: 600;

    padding: 0.22rem 0.65rem;

    border-radius: 9999px;

    border: 1px solid transparent;

    line-height: 1;

}



.c-badge-success {

    background-color: rgba(16, 185, 129, 0.12);

    color: #34d399;

    border-color: rgba(16, 185, 129, 0.25);

}



.c-badge-warning {

    background-color: rgba(245, 158, 11, 0.12);

    color: #fbbf24;

    border-color: rgba(245, 158, 11, 0.25);

}



.c-badge-danger {

    background-color: rgba(239, 68, 68, 0.12);

    color: #f87171;

    border-color: rgba(239, 68, 68, 0.25);

}



.c-badge-info {

    background-color: rgba(59, 130, 246, 0.12);

    color: #60a5fa;

    border-color: rgba(59, 130, 246, 0.25);

}



.c-badge-primary {

    background-color: var(--primary-muted);

    color: var(--primary);

    border-color: rgba(255, 45, 32, 0.3);

}



.c-badge-dot {

    width: 6px;

    height: 6px;

    border-radius: 9999px;

    background-color: currentColor;

    display: inline-block;

}



.c-alert {

    width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 0.85rem;

    padding: 1rem 1.25rem;

    border-radius: 8px;

    font-size: 0.875rem;

    border: 1px solid transparent;

}



.c-alert-info {

    background-color: rgba(59, 130, 246, 0.08);

    border-color: rgba(59, 130, 246, 0.25);

    color: #bfdbfe;

}



.c-alert-success {

    background-color: rgba(16, 185, 129, 0.08);

    border-color: rgba(16, 185, 129, 0.25);

    color: #a7f3d0;

}



.c-alert-warning {

    background-color: rgba(245, 158, 11, 0.08);

    border-color: rgba(245, 158, 11, 0.25);

    color: #fde68a;

}



.c-alert-danger {

    background-color: rgba(239, 68, 68, 0.08);

    border-color: rgba(239, 68, 68, 0.25);

    color: #fecaca;

}



.c-input {

    background-color: #161619;

    border: 1px solid var(--border-color);

    border-radius: 7px;

    padding: 0.55rem 0.85rem;

    color: var(--text-main);

    font-size: 0.875rem;

    outline: none;

    transition: all 0.15s ease;

    box-sizing: border-box;

}



.c-input:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.15);

}



.c-card {

    background-color: #141418;

    border: 1px solid var(--border-color);

    border-radius: 10px;

    padding: 1.5rem;

    transition: all 0.15s ease;

}



.c-card:hover {

    border-color: #383840;

}



/* --------------------------------------------------------------------------

   Next / Prev Navigation Buttons

   -------------------------------------------------------------------------- */

.bottom-nav {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 4rem;

    padding-top: 2rem;

    border-top: 1px solid var(--border-color);

    gap: 1rem;

}



.btn-page-nav {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.75rem 1.25rem;

    background-color: #18181c;

    border: 1px solid var(--border-color);

    border-radius: 8px;

    color: var(--text-main);

    text-decoration: none;

    font-size: 0.875rem;

    font-weight: 500;

    transition: all 0.15s;

}



.btn-page-nav svg {

    width: 15px !important;

    height: 15px !important;

    stroke-width: 2.2;

    transition: transform 0.15s ease;

}



.btn-page-nav:hover {

    border-color: var(--primary);

    color: var(--primary);

    background-color: rgba(255, 45, 32, 0.06);

}



.btn-page-nav-prev:hover svg {

    transform: translateX(-3px);

}



.btn-page-nav-next:hover svg {

    transform: translateX(3px);

}



/* --------------------------------------------------------------------------

   Responsive Breakpoints

   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

    .sidebar {

        display: none;

    }

    .main-wrapper {

        padding: 2rem 1.5rem;

    }

    .search-box-wrapper {

        display: none;

    }

}



/* Extra styling for 15 UI component templates */

.c-switch {

    position: relative;

    display: inline-block;

    width: 44px;

    height: 24px;

}

.c-switch input {

    opacity: 0;

    width: 0;

    height: 0;

}

.c-slider, .c-switch-slider {

    position: absolute;

    cursor: pointer;

    top: 0; left: 0; right: 0; bottom: 0;

    background-color: #27272a;

    transition: .2s;

    border-radius: 24px;

    border: 1px solid #3f3f46;

}

.c-slider:before, .c-switch-slider:before {

    position: absolute;

    content: "";

    height: 16px;

    width: 16px;

    left: 3px;

    bottom: 3px;

    background-color: #ffffff;

    transition: .2s;

    border-radius: 50%;

}

.c-switch input:checked + .c-slider,

.c-switch input:checked + .c-switch-slider {

    background-color: var(--primary);

    border-color: var(--primary);

}

.c-switch input:checked + .c-slider:before,

.c-switch input:checked + .c-switch-slider:before {

    transform: translateX(20px);

}



.c-avatar {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    object-fit: cover;

    background-color: #27272a;

    border: 2px solid #18181b;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 0.85rem;

    font-weight: 600;

    color: #ffffff;

}



.c-avatar-group {

    display: flex;

    align-items: center;

}

.c-avatar-group .c-avatar {

    margin-left: -10px;

}

.c-avatar-group .c-avatar:first-child {

    margin-left: 0;

}



.c-tabs {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    border-bottom: 1px solid var(--border-color);

    width: 100%;

}

.c-tab {

    padding: 0.5rem 1rem;

    font-size: 0.875rem;

    font-weight: 500;

    color: var(--text-muted);

    text-decoration: none;

    border-bottom: 2px solid transparent;

    transition: all 0.15s ease;

    cursor: pointer;

}

.c-tab:hover {

    color: #ffffff;

}

.c-tab.active {

    color: var(--primary);

    border-bottom-color: var(--primary);

    font-weight: 600;

}



.c-progress-track {

    width: 100%;

    height: 8px;

    background-color: #27272a;

    border-radius: 9999px;

    overflow: hidden;

}

.c-progress-bar {

    height: 100%;

    background-color: var(--primary);

    border-radius: 9999px;

    transition: width 0.3s ease;

}



.c-skeleton {
    background: linear-gradient(90deg, #27272e 25%, #383844 50%, #27272e 75%);
    background-size: 200% 100%;
    animation: rikatShimmer 1.5s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes rikatShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

l-skeleton {
    display: block;
}

l-skeleton[shape="circle"] {
    display: inline-block;
}

    100% { background-position: 0 50%; }

}



.c-spinner {

    width: 20px;

    height: 20px;

    border: 2px solid rgba(255, 255, 255, 0.2);

    border-top-color: var(--primary);

    border-radius: 50%;

    animation: spin 0.8s linear infinite;

    display: inline-block;

}

@keyframes spin {

    to { transform: rotate(360deg); }

}



.c-accordion-item {

    border: 1px solid var(--border-color);

    border-radius: 8px;

    margin-bottom: 0.5rem;

    background-color: #161619;

    overflow: hidden;

}

.c-accordion-header {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0.85rem 1.25rem;

    font-size: 0.9rem;

    font-weight: 600;

    color: #ffffff;

    cursor: pointer;

    background: transparent;

    border: none;

    text-align: left;

}

.c-accordion-body {

    padding: 0.85rem 1.25rem;

    font-size: 0.85rem;

    color: var(--text-muted);

    border-top: 1px solid var(--border-color);

    line-height: 1.6;

}


/* ==========================================================================
   Rikat Web Component Icon (<l-icon> & <r-icon>)
   ========================================================================== */
l-icon, r-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    vertical-align: middle;
}
l-icon svg, r-icon svg {
    display: inline-block;
    flex-shrink: 0;
}

/* ==========================================================================
   Koleksi 9 Komponen Baru (Breadcrumb, Paginasi, Toast, Drawer, dll.)
   ========================================================================== */

/* 1. Breadcrumb */
.c-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.c-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.c-breadcrumb-item:hover {
    color: #ffffff;
}
.c-breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}
.c-breadcrumb-separator {
    color: var(--text-dim);
    user-select: none;
}

/* 2. Paginasi */
.c-pagination {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.c-page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 0.5rem;
    border-radius: 6px;
    background-color: #161619;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}
.c-page-item:hover {
    border-color: var(--primary);
    color: #ffffff;
}
.c-page-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
}
.c-page-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* 3. Toast Notifikasi */
.c-toast-demo {
    background-color: #1a1a20;
    border: 1px solid #2e2e38;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 380px;
}
.c-toast-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.c-toast-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}
.c-toast-desc {
    font-size: 0.775rem;
    color: var(--text-muted);
}

/* 4. Drawer & Offcanvas */
.c-drawer-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #121214;
    min-height: 280px;
    overflow: hidden;
    display: flex;
}
.c-drawer-content {
    flex: 1;
    padding: 1.5rem;
    color: var(--text-muted);
}
.c-drawer-panel {
    width: 280px;
    background-color: #18181c;
    border-left: 1px solid var(--border-color);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 5. Unggah Berkas (Upload Dropzone) */
.c-dropzone {
    border: 2px dashed #2f2f38;
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background-color: #141418;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}
.c-dropzone:hover {
    border-color: var(--primary);
    background-color: rgba(255, 45, 32, 0.03);
}
.c-file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}
.c-file-item {
    background-color: #18181c;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* 6. Stepper Wizard */
.c-stepper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}
.c-step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.c-step-bubble {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.c-step-bubble.completed {
    background-color: #10b981;
    color: #ffffff;
}
.c-step-bubble.active {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.25);
}
.c-step-bubble.pending {
    background-color: #27272a;
    color: var(--text-dim);
}
.c-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}
.c-step-line {
    flex: 1;
    height: 2px;
    background-color: #27272a;
    margin: 0 0.5rem;
}
.c-step-line.completed {
    background-color: #10b981;
}

/* 7. Timeline Aktivitas */
.c-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid #27272a;
    margin-left: 0.75rem;
}
.c-timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
}
.c-timeline-item:last-child {
    margin-bottom: 0;
}
.c-timeline-dot {
    position: absolute;
    left: calc(-2rem - 7px);
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid #121214;
}
.c-timeline-time {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}
.c-timeline-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}
.c-timeline-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 8. Empty State */
.c-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    background-color: #141418;
    width: 100%;
}
.c-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #1e1e24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    margin-bottom: 1rem;
}
.c-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}
.c-empty-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 380px;
    margin: 0 auto 1.25rem;
    line-height: 1.5;
}

/* 9. Koleksi Ikon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.icon-card {
    background-color: #161619;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.icon-card:hover {
    border-color: var(--primary);
    background-color: #1c1c22;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.1);
}
.icon-name {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    word-break: break-all;
    font-family: var(--font-mono);
}

/* ==========================================================================
   Display Styles for PrimeNG-Style Web Components
   ========================================================================== */
l-button, r-button {
    display: inline-flex;
    vertical-align: middle;
}
l-badge, r-badge, l-tag, r-tag {
    display: inline-flex;
    vertical-align: middle;
}
l-switch, r-switch {
    display: inline-flex;
    vertical-align: middle;
}
l-avatar, r-avatar {
    display: inline-flex;
    vertical-align: middle;
}
l-avatar-group, r-avatar-group {
    display: inline-flex;
    align-items: center;
}
l-icon, r-icon {
    display: inline-flex;
    vertical-align: middle;
}
l-card, r-card,
l-alert, r-alert,
l-accordion, r-accordion,
l-accordion-tab, r-accordion-tab,
l-tabs, r-tabs,
l-table, r-table,
l-stepper, r-stepper,
l-timeline, r-timeline,
l-empty-state, r-empty-state,
l-stat, r-stat,
l-skeleton, r-skeleton,
l-progress, r-progress,
l-input, r-input,
l-breadcrumb, r-breadcrumb {
    display: block;
    width: 100%;
}


/* Sidebar Tree Navigation (Larapak Modern) */
.sidebar-tree {
    display: block;
    width: 100%;
}
.sidebar-tree .c-tree {
    font-size: 0.84rem;
}
.sidebar-tree > .c-tree > .c-tree-item > .c-tree-row {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim, #71717a);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.5rem;
    margin-top: 0.85rem;
    margin-bottom: 0.2rem;
    border-radius: 6px;
}
.sidebar-tree > .c-tree > .c-tree-item > .c-tree-row:hover {
    color: #f4f4f5;
    background: rgba(255, 255, 255, 0.04) !important;
}
.sidebar-tree .c-tree-row.active {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
    font-weight: 600 !important;
    border-left: 2px solid #ef4444 !important;
}
.sidebar-tree .c-tree-row.active l-icon {
    color: #ef4444 !important;
}
.sidebar-tree .c-tree-branch {
    padding-left: 0.85rem !important;
    border-left: 1px dashed rgba(255, 255, 255, 0.08) !important;
    margin-left: 0.65rem !important;
}
