.evrak-page-wrapper {
            animation: fadeInPage 0.7s ease-out;
            overflow-x: clip;
            font-family: inherit;
        }

        @keyframes fadeInPage {
            from {
                opacity: 0;
                transform: translateY(12px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }



        .evrak-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 40px;
            max-width: 1300px;
            margin: 0 auto;
            padding: 20px 0 80px;
        }

        .evrak-sidebar {
            align-self: start;
            position: -webkit-sticky;
            position: sticky;
            top: 110px;
            background: #ffffff;
            border-radius: 20px;
            padding: 28px;
            border: 1px solid var(--oev-border);
            box-shadow: 0 8px 30px color-mix(in srgb, var(--oev-primary) 8%, transparent);
            box-sizing: border-box;
        }

        .evrak-sidebar-title {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--oev-secondary);
            margin-bottom: 20px;
            padding-bottom: 14px;
            border-bottom: 2px solid var(--oev-border);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .evrak-nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .evrak-nav-item a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 11px 14px;
            border-radius: 12px;
            color: #424245;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.25s ease;
            border: 1px solid transparent;
        }

        .evrak-nav-item a:hover {
            background: var(--oev-light1);
            color: var(--oev-primary);
            transform: translateX(4px);
        }

        .evrak-nav-item a.active {
            background: linear-gradient(135deg, var(--oev-primary), var(--oev-secondary));
            color: #ffffff;
            box-shadow: 0 6px 18px color-mix(in srgb, var(--oev-primary) 35%, transparent);
        }

        .evrak-nav-item a .nav-icon {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: color-mix(in srgb, var(--oev-primary) 10%, transparent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            flex-shrink: 0;
            color: var(--oev-primary);
            transition: all 0.25s ease;
        }

        .evrak-nav-item a.active .nav-icon {
            background: rgba(255, 255, 255, 0.2);
            color: #ffffff;
        }

        .nav-count {
            margin-left: auto;
            font-size: 11px;
            font-weight: 600;
            background: color-mix(in srgb, var(--oev-primary) 10%, transparent);
            color: var(--oev-primary);
            padding: 2px 8px;
            border-radius: 20px;
            transition: all 0.25s ease;
        }

        .evrak-nav-item a.active .nav-count {
            background: rgba(255, 255, 255, 0.25);
            color: #ffffff;
        }

        .evrak-main {
            min-width: 0;
        }

        .evrak-category-block {
            margin-bottom: 70px;
            scroll-margin-top: 130px;
        }

        .evrak-category-header {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 30px;
            padding: 30px;
            background: linear-gradient(135deg, var(--oev-dark) 0%, var(--oev-primary) 100%);
            border-radius: 20px;
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
        }

        .evrak-category-header::after {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .evrak-cat-icon-wrap {
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: #ffffff;
            flex-shrink: 0;
            backdrop-filter: blur(10px);
        }

        .evrak-cat-info {
            flex: 1;
            min-width: 0;
        }

        .evrak-category-header h2 {
            font-size: 24px;
            font-weight: 600;
            color: #ffffff;
            margin: 0 0 6px 0;
            letter-spacing: -0.02em;
        }

        .evrak-category-header .cat-desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.75);
            margin: 0;
            line-height: 1.5;
        }

        .evrak-cat-badge {
            background: rgba(255, 255, 255, 0.2);
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
            padding: 5px 14px;
            border-radius: 20px;
            white-space: nowrap;
            align-self: flex-start;
            margin-top: 4px;
        }

        .evrak-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 16px;
        }

        .evrak-card {
            background: #ffffff;
            border: 1px solid #f0f0f2;
            border-radius: 16px;
            padding: 22px 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            box-sizing: border-box;
        }

        .evrak-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--oev-primary), var(--oev-secondary));
            border-radius: 3px 0 0 3px;
            opacity: 0;
            transform: scaleY(0);
            transition: all 0.3s ease;
        }

        .evrak-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px color-mix(in srgb, var(--oev-primary) 15%, transparent);
            border-color: color-mix(in srgb, var(--oev-primary) 25%, transparent);
        }

        .evrak-card.is-disabled,
        .evrak-card.is-disabled:hover {
            cursor: default;
            transform: none;
            box-shadow: none;
            border-color: #f0f0f2;
        }

        .evrak-card.is-disabled:hover::before {
            opacity: 0;
            transform: scaleY(0);
        }

        .evrak-card:hover::before {
            opacity: 1;
            transform: scaleY(1);
        }

        .evrak-card-icon {
            width: 46px;
            height: 46px;
            background: linear-gradient(135deg, var(--oev-light1), var(--oev-light2));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: var(--oev-primary);
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .evrak-card:hover .evrak-card-icon {
            background: linear-gradient(135deg, var(--oev-primary), var(--oev-secondary));
            color: #ffffff;
            transform: rotate(-5deg) scale(1.08);
        }

        .evrak-card-body {
            flex: 1;
            min-width: 0;
        }

        .evrak-card-title {
            font-size: 15px;
            font-weight: 600;
            color: #1d1d1f;
            margin: 0;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .evrak-card-arrow {
            width: 32px;
            height: 32px;
            background: #f5f5f7;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #86868b;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .evrak-card:hover .evrak-card-arrow {
            background: var(--oev-primary);
            color: #ffffff;
            transform: translateX(3px);
        }

        .evrak-empty {
            text-align: center;
            padding: 80px 40px;
            background: #f9f9f9;
            border-radius: 20px;
            color: #86868b;
        }

        .evrak-empty i {
            font-size: 48px;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        .evrak-empty h2,
        .evrak-empty h3 {
            font-size: 22px;
            font-weight: 600;
            color: #424245;
            margin-bottom: 12px;
        }

        @media (max-width: 1100px) {
            .evrak-layout {
                grid-template-columns: 1fr;
                padding: 10px 0;
                gap: 24px;
                width: 100%;
            }

            .evrak-sidebar {
                position: relative;
                top: 0;
                padding: 20px;
                min-width: 0;
                overflow: hidden;
            }

            .evrak-nav-list {
                flex-direction: row;
                flex-wrap: nowrap;
                overflow-x: auto;
                gap: 8px;
                padding-bottom: 8px;
            }

            .evrak-nav-list::-webkit-scrollbar {
                height: 3px;
            }

            .evrak-nav-list::-webkit-scrollbar-thumb {
                background: var(--oev-primary);
                border-radius: 10px;
            }

            .evrak-nav-item {
                flex-shrink: 0;
            }

            .evrak-nav-item a {
                white-space: nowrap;
            }


        }

        @media (max-width: 768px) {


            .evrak-category-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
                padding: 20px;
            }

            .evrak-cards-grid {
                grid-template-columns: 1fr;
            }

            .evrak-card {
                padding: 16px;
                gap: 12px;
            }

            .evrak-card-icon {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .evrak-card-arrow {
                width: 28px;
                height: 28px;
                font-size: 10px;
            }
        }

        /* Modern 3-Column Layout */
        .evrak-grid3-layout {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 0 80px;
        }

        .evrak-grid3-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .evrak-grid3-col {
            background: #ffffff;
            border: 1px solid var(--oev-border);
            border-radius: 20px;
            padding: 24px;
            box-shadow: 0 10px 30px color-mix(in srgb, var(--oev-primary) 5%, transparent);
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .evrak-grid3-col:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px color-mix(in srgb, var(--oev-primary) 15%, transparent);
        }

        .evrak-grid3-header {
            display: flex;
            align-items: center;
            gap: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--oev-light2);
        }

        .evrak-grid3-icon {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--oev-primary), var(--oev-secondary));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            box-shadow: 0 6px 15px color-mix(in srgb, var(--oev-primary) 30%, transparent);
        }

        .evrak-grid3-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: var(--oev-secondary);
            line-height: 1.3;
        }

        .evrak-grid3-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .evrak-grid3-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 12px;
            background: #f9f9fb;
            text-decoration: none;
            color: #424245;
            transition: all 0.25s ease;
            border: 1px solid transparent;
        }

        .evrak-grid3-link:hover {
            background: #ffffff;
            border-color: var(--oev-primary);
            color: var(--oev-primary);
            box-shadow: 0 4px 12px color-mix(in srgb, var(--oev-primary) 10%, transparent);
            transform: translateX(4px);
        }

        .evrak-grid3-link.is-disabled,
        .evrak-grid3-link.is-disabled:hover {
            cursor: default;
            background: #f9f9fb;
            border-color: transparent;
            color: #424245;
            box-shadow: none;
            transform: none;
        }

        .evrak-grid3-link-icon {
            font-size: 16px;
            color: var(--oev-primary);
            flex-shrink: 0;
        }

        .evrak-grid3-link-text {
            flex: 1;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .evrak-grid3-arrow {
            font-size: 10px;
            color: #86868b;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.25s ease;
        }

        .evrak-grid3-link:hover .evrak-grid3-arrow {
            opacity: 1;
            transform: translateX(0);
            color: var(--oev-primary);
        }

        .evrak-grid3-empty {
            text-align: center;
            padding: 30px 10px;
            color: #86868b;
            font-size: 14px;
            background: #f9f9fb;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .evrak-grid3-empty i {
            font-size: 24px;
            margin-bottom: 10px;
            opacity: 0.5;
        }

        .evrak-grid3-empty h4 {
            margin: 0 0 6px;
            color: #424245;
            font-size: 15px;
            font-weight: 600;
        }

        .evrak-grid3-empty p {
            margin: 0;
        }

        @media (max-width: 1024px) {
            .evrak-grid3-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .evrak-grid3-container {
                grid-template-columns: 1fr;
            }
        }

        /* Responsive safeguards shared by both front-end layouts. */
        .evrak-page-wrapper,
        .evrak-layout,
        .evrak-main,
        .evrak-category-block,
        .evrak-grid3-layout,
        .evrak-grid3-container,
        .evrak-grid3-col {
            min-width: 0;
        }

        .evrak-layout,
        .evrak-grid3-layout {
            width: 100%;
        }

        .evrak-category-header h2,
        .evrak-category-header .cat-desc,
        .evrak-card-title,
        .evrak-grid3-header h3 {
            overflow-wrap: anywhere;
        }

        @media (max-width: 1100px) {
            .evrak-sidebar {
                border-radius: 16px;
            }

            .evrak-nav-list {
                scroll-snap-type: x proximity;
                overscroll-behavior-inline: contain;
                -webkit-overflow-scrolling: touch;
            }

            .evrak-nav-item {
                scroll-snap-align: start;
            }
        }

        @media (max-width: 768px) {
            .evrak-layout,
            .evrak-grid3-layout {
                padding-bottom: 48px;
            }

            .evrak-sidebar {
                padding: 14px;
            }

            .evrak-sidebar-title {
                margin-bottom: 12px;
                padding-bottom: 10px;
            }

            .evrak-nav-item a {
                min-height: 44px;
                padding: 8px 12px;
            }

            .evrak-category-block {
                margin-bottom: 44px;
                scroll-margin-top: 20px;
            }

            .evrak-category-header {
                margin-bottom: 18px;
                padding: 20px 18px;
                border-radius: 16px;
            }

            .evrak-category-header h2 {
                font-size: 1.25rem;
            }

            .evrak-cat-icon-wrap {
                width: 48px;
                height: 48px;
                border-radius: 14px;
                font-size: 19px;
            }

            .evrak-cat-badge {
                align-self: auto;
                margin-top: 0;
            }

            .evrak-card {
                min-height: 72px;
            }

            .evrak-empty {
                padding: 48px 18px;
            }

            .evrak-grid3-container {
                gap: 16px;
            }

            .evrak-grid3-col {
                gap: 16px;
                padding: 18px;
                border-radius: 16px;
            }

            .evrak-grid3-link {
                min-height: 46px;
                padding: 10px 12px;
            }
        }

        @media (max-width: 420px) {
            .evrak-category-header {
                gap: 12px;
            }

            .evrak-card {
                padding: 14px 12px;
            }

            .evrak-card-arrow {
                display: none;
            }

            .evrak-grid3-header {
                align-items: flex-start;
                gap: 12px;
            }

            .evrak-grid3-icon {
                width: 42px;
                height: 42px;
                font-size: 18px;
            }

            .evrak-grid3-link-text {
                white-space: normal;
                overflow: visible;
                text-overflow: clip;
                overflow-wrap: anywhere;
            }
        }
