/* ============================================
   🕊️ COMPASSION ZONE — Calming Mystic Premium CSS
   V3: Premium Cards (no collapsibles) + View Navigation
   ============================================ */

:root {
    --cz-teal: #0D9488;
    --cz-teal-light: #2DD4BF;
    --cz-teal-soft: #5EEAD4;
    --cz-emerald: #10B981;
    --cz-amber: #D97706;
    --cz-gold: #FCD34D;
    --cz-indigo: #312E81;
    --cz-sky: #0EA5E9;
    --cz-bg-deep: #070E1B;
    --cz-border: rgba(13, 148, 136, 0.18);
    --cz-gradient: linear-gradient(135deg, #0D9488 0%, #10B981 100%);
    --cz-gradient-mystic: linear-gradient(135deg, #0D9488 0%, #312E81 50%, #0EA5E9 100%);
    --cz-gradient-warm: linear-gradient(135deg, #D97706 0%, #10B981 100%);
    --cz-glow: rgba(13, 148, 136, 0.35);
}

/* ============================================
   HOME PAGE — Entry Card
   ============================================ */
.cz-home-section {
    padding: 0 var(--spacing-xl);
    margin-top: -1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.cz-home-container {
    max-width: 700px;
    margin: 0 auto;
}

.cz-home-card {
    position: relative;
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.12) 0%, rgba(16, 185, 129, 0.06) 50%, rgba(49, 46, 129, 0.08) 100%);
    border: 1px solid var(--cz-border);
    border-radius: var(--radius-xl);
    padding: 1.8rem 2rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    display: block;
    color: inherit;
}

.cz-home-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.15), 0 4px 16px rgba(16, 185, 129, 0.08);
}

.cz-home-glow {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: conic-gradient(from 0deg, var(--cz-teal), var(--cz-emerald), var(--cz-sky), var(--cz-teal));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: czGlowSpin 6s linear infinite;
    filter: blur(5px);
}

.cz-home-card:hover .cz-home-glow {
    opacity: 0.5;
}

@keyframes czGlowSpin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.cz-home-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cz-home-hearts .cz-fh {
    position: absolute;
    font-size: 0.85rem;
    opacity: 0.12;
    animation: czDrift 8s ease-in-out infinite;
}

.cz-fh:nth-child(1) {
    top: 8%;
    left: 5%;
    animation-delay: 0s
}

.cz-fh:nth-child(2) {
    top: 55%;
    right: 6%;
    animation-delay: 2s
}

.cz-fh:nth-child(3) {
    bottom: 12%;
    left: 18%;
    animation-delay: 4s
}

.cz-fh:nth-child(4) {
    top: 25%;
    right: 12%;
    animation-delay: 1s
}

.cz-fh:nth-child(5) {
    bottom: 25%;
    right: 20%;
    animation-delay: 3s
}

@keyframes czDrift {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.12
    }

    50% {
        transform: translateY(-6px) scale(1.08);
        opacity: 0.22
    }
}

.cz-home-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cz-home-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--cz-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px var(--cz-glow);
    animation: czBreath 4s ease-in-out infinite;
}

@keyframes czBreath {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.04)
    }
}

.cz-home-text {
    flex: 1;
    min-width: 0;
}

.cz-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cz-teal-light);
    background: rgba(13, 148, 136, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.cz-home-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    background: var(--cz-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.cz-home-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 2px 0 0;
    line-height: 1.4;
}

.cz-home-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--cz-border);
}

.cz-home-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.cz-home-stat-val {
    font-weight: 700;
    color: var(--cz-teal-light);
}

.cz-home-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--cz-teal-light);
    transition: all 0.3s ease;
}

.cz-home-card:hover .cz-home-arrow {
    background: var(--cz-gradient);
    color: white;
    transform: translateX(4px);
}

/* ============================================
   COMPASSION ZONE — Full Page
   ============================================ */
body.cz-page {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.cz-page[data-theme="dark"] {
    --bg-primary: #070E1B;
    --bg-secondary: #0D1527;
    --bg-tertiary: #141E33;
}

.cz-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    background: rgba(7, 14, 27, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.12);
}

.cz-nav-back {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    display: flex;
    text-decoration: none;
}

.cz-nav-back:hover {
    background: var(--bg-tertiary);
}

.cz-nav-title {
    font-size: 1.15rem;
    font-weight: 700;
    background: var(--cz-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero */
.cz-hero {
    text-align: center;
    padding: 2.5rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cz-hero-icon {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.cz-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    background: var(--cz-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cz-hero-quote {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0.5rem auto 0;
    max-width: 500px;
    line-height: 1.5;
}

.cz-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* ============================================
   PREMIUM CARDS — Main View
   ============================================ */
.cz-premium-card {
    position: relative;
    border-radius: 22px;
    padding: 2px;
    margin-bottom: 1.2rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cz-premium-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.2);
}

/* Animated gradient border */
.cz-premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: conic-gradient(from var(--cz-card-angle, 0deg), var(--cz-c1), var(--cz-c2), var(--cz-c3), var(--cz-c1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: czCardBorder 4s linear infinite;
}

.cz-card-lf {
    --cz-c1: #0EA5E9;
    --cz-c2: #0D9488;
    --cz-c3: #2DD4BF;
}

.cz-card-fund {
    --cz-c1: #10B981;
    --cz-c2: #D97706;
    --cz-c3: #0D9488;
}

@property --cz-card-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes czCardBorder {
    to {
        --cz-card-angle: 360deg;
    }
}

/* Shimmer effect */
.cz-pc-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.03) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: czShimmer 3s ease-in-out infinite;
}

@keyframes czShimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

/* Glow on hover */
.cz-pc-glow {
    position: absolute;
    inset: 2px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cz-card-lf .cz-pc-glow {
    background: radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
}

.cz-card-fund .cz-pc-glow {
    background: radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.cz-premium-card:hover .cz-pc-glow {
    opacity: 1;
}

/* Card content */
.cz-pc-content {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 1.8rem 1.6rem;
    text-align: center;
}

.cz-pc-icon-area {
    position: relative;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.cz-pc-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cz-pc-icon.lf {
    background: linear-gradient(135deg, #0EA5E9, #0D9488);
}

.cz-pc-icon.fund {
    background: linear-gradient(135deg, #10B981, #D97706);
}

/* ── Compassion Fund Logo — Premium Presentation ── */

/* Main card logo icon */
.cz-fund-logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    background: radial-gradient(circle, #F5F0E8 60%, #D4A86A 100%);
    box-shadow:
        0 0 18px rgba(217, 119, 6, 0.35),
        0 0 40px rgba(16, 185, 129, 0.12),
        0 6px 24px rgba(0, 0, 0, 0.25);
    animation: czLogoGlow 3s ease-in-out infinite;
    border: 2.5px solid rgba(217, 119, 6, 0.35);
}

.cz-fund-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cz-premium-card:hover .cz-fund-logo {
    transform: scale(1.08);
}

/* Detail view header logo */
.cz-fund-logo-view {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    background: radial-gradient(circle, #F5F0E8 60%, #D4A86A 100%);
    box-shadow:
        0 0 12px rgba(217, 119, 6, 0.3),
        0 0 25px rgba(16, 185, 129, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.2);
    animation: czLogoGlow 3s ease-in-out infinite;
    border: 2px solid rgba(217, 119, 6, 0.3);
}

.cz-fund-logo-sm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Ambient glow animation */
@keyframes czLogoGlow {
    0%, 100% {
        box-shadow:
            0 0 18px rgba(217, 119, 6, 0.3),
            0 0 40px rgba(16, 185, 129, 0.08),
            0 6px 24px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow:
            0 0 24px rgba(217, 119, 6, 0.45),
            0 0 50px rgba(16, 185, 129, 0.15),
            0 6px 28px rgba(0, 0, 0, 0.25);
    }
}

/* Floating particles */
.cz-pc-particles {
    position: absolute;
    inset: -10px;
    pointer-events: none;
}

.cz-pc-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0.4;
    animation: czFloat 4s ease-in-out infinite;
}

.cz-card-lf .cz-pc-dot {
    background: #0EA5E9;
}

.cz-card-fund .cz-pc-dot {
    background: #10B981;
}

.cz-pc-dot.d1 {
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.cz-pc-dot.d2 {
    top: 40%;
    right: 0;
    animation-delay: 1.3s;
}

.cz-pc-dot.d3 {
    bottom: 5%;
    left: 30%;
    animation-delay: 2.6s;
}

@keyframes czFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3
    }

    50% {
        transform: translateY(-8px) scale(1.3);
        opacity: 0.6
    }
}

.cz-pc-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
    color: var(--text-primary);
}

.cz-pc-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 auto 1rem;
    max-width: 340px;
}

.cz-pc-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.cz-pc-stat {
    text-align: center;
}

.cz-pc-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

.cz-card-lf .cz-pc-stat-val {
    color: var(--cz-teal-light);
}

.cz-card-fund .cz-pc-stat-val {
    color: var(--cz-emerald);
}

.cz-pc-stat-val.cz-pc-bal {
    font-size: 1.5rem;
}

.cz-pc-stat-lbl {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.cz-pc-divider {
    width: 1px;
    height: 32px;
    background: var(--cz-border);
}

.cz-pc-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cz-teal-light);
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.08);
    transition: all 0.3s ease;
}

.cz-pc-cta span {
    transition: transform 0.3s;
}

.cz-premium-card:hover .cz-pc-cta {
    background: var(--cz-gradient);
    color: white;
}

.cz-premium-card:hover .cz-pc-cta span {
    transform: translateX(4px);
}

/* ============================================
   VIEW NAVIGATION — Detail Views
   ============================================ */
.cz-view {
    animation: czViewIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes czViewIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.cz-view-content {
    padding-top: 1rem;
}

.cz-view-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--cz-border);
    border-radius: 16px;
}

.cz-view-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cz-view-icon.lf {
    background: linear-gradient(135deg, #0EA5E9, #0D9488);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.cz-view-icon.fund {
    background: linear-gradient(135deg, #10B981, #D97706);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.cz-view-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
}

.cz-view-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 2px 0 0;
}

/* ============================================
   LOST & FOUND
   ============================================ */
.cz-lf-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cz-btn {
    padding: 0.85rem 1.2rem;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cz-btn-primary {
    background: var(--cz-gradient);
    color: white;
    box-shadow: 0 4px 14px var(--cz-glow);
    flex: 1;
    justify-content: center;
}

.cz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--cz-glow);
}

.cz-filters {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.cz-filters::-webkit-scrollbar {
    display: none;
}

.cz-chip {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-tertiary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.cz-chip.active {
    background: var(--cz-gradient);
    color: white;
    border-color: transparent;
}

.cz-chip:hover:not(.active) {
    border-color: var(--cz-teal);
    color: var(--cz-teal-light);
}

.cz-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cz-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cz-item:hover {
    border-color: var(--cz-border);
    transform: translateY(-1px);
}

.cz-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.cz-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}

.cz-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cz-item-body {
    flex: 1;
    min-width: 0;
}

.cz-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.cz-item-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cz-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cz-status.pending {
    background: rgba(239, 68, 68, 0.12);
    /* Red tint */
    color: #FCA5A5;
    /* Light Red */
}

.cz-status.listed {
    background: rgba(14, 165, 233, 0.12);
    color: #38BDF8;
}

.cz-status.claimed {
    background: rgba(217, 119, 6, 0.12);
    color: #FBBF24;
}

.cz-status.returned {
    background: rgba(16, 185, 129, 0.12);
    color: #34D399;
}

.cz-item-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 3px;
    flex-wrap: wrap;
}

.cz-item-meta span {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.cz-item-preview {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cz-empty {
    text-align: center;
    padding: 2.5rem 1rem;
}

.cz-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.6rem;
    opacity: 0.5;
}

.cz-empty-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.2rem;
}

.cz-empty-text {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    max-width: 280px;
    margin: 0 auto;
}

.cz-fame {
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.06), rgba(217, 119, 6, 0.04));
    border: 1px solid rgba(13, 148, 136, 0.12);
    border-radius: 14px;
    padding: 0.9rem;
    margin-top: 1rem;
}

.cz-fame-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.cz-fame-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cz-teal-light);
}

.cz-fame-entry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
}

.cz-fame-entry+.cz-fame-entry {
    margin-top: 0.4rem;
}

.cz-fame-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cz-fame-what {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

/* ============================================
   COMPASSION FUND
   ============================================ */
.cz-fund-hero {
    background: var(--cz-gradient);
    border-radius: 16px;
    padding: 1.4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.cz-fund-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.cz-fund-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.cz-fund-amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 0.2rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cz-fund-sub {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cz-pres {
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.08), rgba(13, 148, 136, 0.05));
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 14px;
    padding: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.cz-pres-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cz-gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
}

.cz-pres-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cz-amber);
}

.cz-pres-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cz-pres-tenure {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.cz-compassion-day {
    background: linear-gradient(145deg, rgba(13, 148, 136, 0.08), rgba(49, 46, 129, 0.06));
    border: 1px solid rgba(13, 148, 136, 0.12);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 0.8rem;
}

.cz-cd-icon {
    font-size: 1.6rem;
}

.cz-cd-title {
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--cz-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cz-cd-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.cz-cd-countdown {
    font-size: 0.72rem;
    color: var(--cz-gold);
    font-weight: 600;
    margin-top: 3px;
}

.cz-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.cz-stat {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.7rem;
    text-align: center;
}

.cz-stat-icon {
    font-size: 1.25rem;
}

.cz-stat-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.cz-stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cz-admin-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.cz-admin-row .cz-btn {
    flex: 1;
    justify-content: center;
}

.cz-btn-outline {
    background: none;
    border: 1px solid var(--cz-border);
    color: var(--cz-teal-light);
}

.cz-btn-outline:hover {
    background: var(--cz-gradient);
    color: white;
    border-color: transparent;
}

.cz-ledger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cz-ledger-title {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
}

.cz-date-selectors {
    display: flex;
    gap: 0.5rem;
}

.cz-premium-select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-secondary) url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.6rem center;
    background-size: 14px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 2rem 0.5rem 0.8rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cz-premium-select:hover,
.cz-premium-select:focus {
    border-color: var(--cz-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.cz-premium-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.cz-ledger-count {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.cz-ledger-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cz-tx {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.cz-tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cz-tx-icon.in {
    background: rgba(16, 185, 129, 0.1);
}

.cz-tx-icon.out {
    background: rgba(239, 68, 68, 0.1);
}

.cz-tx-info {
    flex: 1;
    min-width: 0;
}

.cz-tx-note {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-style: italic;
    margin-top: 2px;
}

.cz-tx-desc {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.cz-tx-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cz-tx-amt {
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
}

.cz-tx-amt.pos {
    color: #34D399;
}

.cz-tx-amt.neg {
    color: #F87171;
}

/* Election */
.cz-election-wrap {
    margin-top: 1.2rem;
}

.cz-election-label {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.cz-el-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.6rem;
}

.cz-el-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.cz-el-badge.upcoming {
    background: rgba(217, 119, 6, 0.12);
    color: #FBBF24;
}

.cz-el-badge.active {
    background: rgba(16, 185, 129, 0.12);
    color: #34D399;
}

.cz-el-badge.completed {
    background: rgba(13, 148, 136, 0.12);
    color: var(--cz-teal-light);
}

.cz-el-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cz-el-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cz-candidate {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.cz-candidate+.cz-candidate {
    margin-top: 0.4rem;
}

.cz-candidate:hover {
    border-color: var(--cz-teal);
}

.cz-candidate.winner {
    border-color: var(--cz-teal);
    background: rgba(13, 148, 136, 0.06);
}

.cz-cand-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.cz-cand-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cz-cand-votes {
    font-size: 0.68rem;
    color: var(--text-tertiary);
}

.cz-vote-bar {
    height: 3px;
    background: var(--bg-secondary);
    border-radius: 3px;
    margin-top: 3px;
    overflow: hidden;
}

.cz-vote-fill {
    height: 100%;
    background: var(--cz-gradient);
    border-radius: 3px;
    transition: width 0.6s;
}

.cz-vote-btn {
    padding: 5px 12px;
    border: 1px solid var(--cz-border);
    border-radius: 20px;
    background: none;
    color: var(--cz-teal-light);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cz-vote-btn:hover {
    background: var(--cz-gradient);
    color: white;
    border-color: transparent;
}

.cz-vote-btn.voted {
    background: var(--cz-gradient);
    color: white;
    border-color: transparent;
    cursor: default;
}

/* Stories */
.cz-stories-wrap {
    margin-top: 1.2rem;
}

.cz-stories-label {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.cz-story {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.cz-story-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.cz-story-amt {
    background: rgba(16, 185, 129, 0.1);
    color: #34D399;
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
}

.cz-story-date {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    margin-left: auto;
}

.cz-story-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cz-story-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.2rem;
}

.cz-story-who {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-top: 0.4rem;
}

/* ============================================
   MODALS
   ============================================ */
.cz-modal-bg {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cz-modal-bg.open {
    opacity: 1;
    visibility: visible;
}

.cz-modal-sheet {
    background: var(--bg-primary);
    width: 100%;
    max-width: 520px;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.3rem;
}

.cz-modal-bg.open .cz-modal-sheet {
    transform: translateY(0);
}

.cz-modal-pill {
    width: 36px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin: 0 auto 1rem;
}

.cz-modal-heading {
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.cz-field {
    margin-bottom: 0.9rem;
}

.cz-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.cz-field input,
.cz-field textarea,
.cz-field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cz-field input:focus,
.cz-field textarea:focus {
    border-color: var(--cz-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

.cz-field textarea {
    resize: vertical;
    min-height: 72px;
}

.cz-cats {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.cz-cat-chip {
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-tertiary);
    font-family: inherit;
    font-size: 0.72rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.cz-cat-chip.sel {
    background: var(--cz-gradient);
    color: white;
    border-color: transparent;
}

.cz-photo-drop {
    width: 100%;
    height: 100px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    cursor: pointer;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.cz-photo-drop:hover {
    border-color: var(--cz-teal);
}

.cz-photo-drop input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.cz-photo-drop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cz-submit {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 12px;
    background: var(--cz-gradient);
    color: white;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.cz-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--cz-glow);
}

.cz-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cz-cancel {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    margin-top: 0.4rem;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
}

/* Detail modal */
.cz-detail-img {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.cz-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cz-detail-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
}

.cz-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.4rem 0;
}

.cz-detail-meta span {
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

.cz-detail-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.8rem 0;
}

.cz-claim-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0EA5E9, #0D9488);
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.cz-claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Admin */
.cz-adm-controls {
    margin-top: 0.6rem;
    padding: 0.8rem;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 12px;
}

.cz-adm-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F87171;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cz-adm-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.06);
    color: #F87171;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

.cz-adm-btn:hover {
    background: #EF4444;
    color: white;
}

.cz-adm-btn.ok {
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.06);
    color: #34D399;
}

.cz-adm-btn.ok:hover {
    background: #10B981;
    color: white;
}

/* Admin edit button special styling */
.cz-adm-btn.edit {
    border-color: rgba(14, 165, 233, 0.25);
    background: rgba(14, 165, 233, 0.08);
    color: #38BDF8;
}

.cz-adm-btn.edit:hover {
    background: #0EA5E9;
    color: white;
}

/* Edit modal select */
#czEditStatus {
    background-color: var(--bg-secondary);
}

#czEditStatus option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Toast */
.cz-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 0.7rem 1.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.cz-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .cz-home-section {
        padding: 0 1rem;
    }

    .cz-home-card {
        padding: 1.2rem 1rem;
    }

    .cz-home-title {
        font-size: 1.1rem;
    }

    .cz-fund-amount {
        font-size: 2.2rem;
    }

    .cz-hero-title {
        font-size: 1.5rem;
    }

    .cz-stats {
        gap: 0.35rem;
    }

    .cz-stat {
        padding: 0.5rem 0.3rem;
    }

    .cz-pc-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) {
    .cz-modal-sheet {
        border-radius: 20px;
        margin-bottom: 2rem;
        max-height: 80vh;
    }
}

/* ============================================
   EDIT TRANSACTION — Premium UI
   ============================================ */

/* Transaction row layout fix for edit button */
.cz-tx-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

/* Admin edit button on each transaction */
.cz-tx-edit-btn {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 6px;
    color: #38BDF8;
    font-size: 0.7rem;
    padding: 2px 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.cz-tx-edit-btn:hover {
    background: #0EA5E9;
    color: white;
    border-color: #0EA5E9;
    transform: scale(1.08);
}

/* "Edited" badge on transactions */
.cz-tx-edited-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--cz-amber);
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.15);
    padding: 1px 7px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 4px;
    animation: czEditedPulse 3s ease-in-out infinite;
    vertical-align: middle;
}

.cz-tx-edited-badge:hover {
    background: rgba(217, 119, 6, 0.16);
    border-color: rgba(217, 119, 6, 0.3);
    color: var(--cz-gold);
    transform: scale(1.04);
}

@keyframes czEditedPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
    50% { box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.08); }
}

/* Edit Reason Field — Highlighted */
.cz-edit-reason-field {
    position: relative;
    padding: 0.8rem;
    background: rgba(217, 119, 6, 0.04);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 12px;
    margin-top: 0.2rem;
}

.cz-edit-reason-field label {
    color: var(--cz-amber) !important;
    font-weight: 700 !important;
}

.cz-edit-reason-hint {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    margin-top: 4px;
    font-style: italic;
    line-height: 1.4;
}

/* Edit Type select */
#czEditTxType {
    background-color: var(--bg-secondary);
}

#czEditTxType option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ============================================
   MODIFICATION TIMELINE — Full Audit Trail UI
   ============================================ */
.cz-edit-history-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.06), rgba(13, 148, 136, 0.04));
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: 14px;
}

.cz-edit-history-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(217, 119, 6, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cz-edit-history-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.cz-edit-history-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 1px;
}

.cz-edit-history-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cz-amber);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.8rem;
    padding-left: 0.3rem;
}

/* Vertical Timeline */
.cz-edit-timeline {
    position: relative;
    padding-left: 1.4rem;
}

.cz-edit-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--cz-amber), rgba(217, 119, 6, 0.15));
    border-radius: 2px;
}

.cz-edit-entry {
    position: relative;
    margin-bottom: 1rem;
    animation: czTimelineIn 0.4s ease both;
}

.cz-edit-entry:last-child {
    margin-bottom: 0;
}

@keyframes czTimelineIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.cz-edit-entry:nth-child(1) { animation-delay: 0s; }
.cz-edit-entry:nth-child(2) { animation-delay: 0.1s; }
.cz-edit-entry:nth-child(3) { animation-delay: 0.2s; }
.cz-edit-entry:nth-child(4) { animation-delay: 0.3s; }
.cz-edit-entry:nth-child(5) { animation-delay: 0.4s; }

.cz-edit-entry-dot {
    position: absolute;
    left: -1.4rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid rgba(217, 119, 6, 0.4);
    z-index: 1;
}

.cz-edit-entry.latest .cz-edit-entry-dot {
    background: var(--cz-amber);
    border-color: var(--cz-gold);
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.35);
}

.cz-edit-entry-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem;
    transition: border-color 0.2s ease;
}

.cz-edit-entry.latest .cz-edit-entry-content {
    border-color: rgba(217, 119, 6, 0.2);
}

.cz-edit-entry-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.cz-edit-entry-who {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cz-edit-latest-tag {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--cz-amber);
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    padding: 1px 6px;
    border-radius: 8px;
}

.cz-edit-entry-when {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.3rem;
}

.cz-edit-entry-reason {
    font-size: 0.78rem;
    color: var(--cz-teal-light);
    font-style: italic;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.5rem;
    background: rgba(13, 148, 136, 0.04);
    border-left: 2px solid rgba(13, 148, 136, 0.25);
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
}

.cz-edit-changes-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cz-edit-change {
    padding: 0.4rem 0.55rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.cz-edit-change-field {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}

.cz-edit-change-values {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cz-edit-old {
    font-size: 0.82rem;
    font-weight: 600;
    color: #F87171;
    background: rgba(239, 68, 68, 0.06);
    padding: 2px 6px;
    border-radius: 5px;
    text-decoration: line-through;
    text-decoration-color: rgba(248, 113, 113, 0.4);
    word-break: break-word;
}

.cz-edit-arrow {
    color: var(--text-tertiary);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.cz-edit-new {
    font-size: 0.82rem;
    font-weight: 700;
    color: #34D399;
    background: rgba(16, 185, 129, 0.06);
    padding: 2px 6px;
    border-radius: 5px;
    word-break: break-word;
}