/* resources/views/campaign-index.blade.php */
@scope (.view-campaign-index) {
        :scope, :scope * { box-sizing: border-box; }

        :scope {
            --ink: #2f2d61;
            --ink-soft: #2f2f63;
            --gold: #f9e270;
            --gold-shadow: #d6c25f;
            --white: #ffffff;
            --orange: #ff980f;
            --orange-soft: #ffb03b;
            --title-orange: #ffa200;
            --text-blue: #2a2f67;
        }

        :scope {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
            background: #efefef;
            color: var(--text-blue);
        }

        .page {
            width: 80%;
            max-width: 1336px;
            margin: 0 auto;
            background: #2f2d61;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            color: #fff;
        }

        .site-topbar {
            background: #2f2d61;
            height: 78px;
            /* border-bottom: 1px solid rgba(255, 255, 255, 0.16); */
        }

        .site-topbar-inner {
            height: 100%;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .site-topbar-actions {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .site-wordmark {
            color: #fff;
            line-height: 1;
            display: inline-flex;
            align-items: baseline;
            gap: 8px;
            font-weight: 900;
            text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
        }

        .site-wordmark-image {
            display: block;
            width: 272px;
            height: auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.48));
        }

        .site-wordmark-main {
            font-size: 56px;
            letter-spacing: .6px;
            transform: skewX(-12deg);
        }

        .site-wordmark-sub {
            font-size: 42px;
            letter-spacing: .2px;
            font-weight: 500;
        }

        .site-topbar-action {
            background: #f9e270;
            color: #2f2a1f;
            text-decoration: none;
            border-radius: 999px;
            height: 44px;
            padding: 0 20px;
            display: inline-flex;
            align-items: center;
            font-size: 15px;
            font-weight: 700;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f9e270;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #ffe889;
            color: #6f5712;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            line-height: 1;
        }

        .site-topbar-action-text {
            display: inline-block;
            transform: translateY(-.5px);
        }

        .site-topbar-action-text.is-image {
            display: block;
            height: 16px;
            width: auto;
            transform: none;
        }

        .site-topbar-action,
        .site-topbar-home-link {
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .site-topbar-action:hover,
            .site-topbar-home-link:hover {
                transform: translateY(-2px);
                filter: brightness(1.04);
            }
        }

        .site-topbar-action:active,
        .site-topbar-home-link:active {
            transform: translateY(1px);
            filter: brightness(.98);
        }

        .brand-footer {
            background: #2f2d61;
            color: #fff;
            text-align: center;
            padding: 14px 12px 12px;
        }

        .brand-footer-logo {
            display: block;
            width: 200px;
            max-width: 86%;
            height: auto;
            margin: 0 auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.45));
        }

        .brand-footer p {
            margin: 8px 0 0;
            font-size: 10px;
            opacity: .95;
        }

        @media (max-width: 767px) {
            .page {
                width: 100%;
            }

            .site-topbar-inner {
                padding: 0 14px;
            }

            .site-topbar {
                height: 60px;
            }

            .site-wordmark-main {
                font-size: 32px;
                letter-spacing: .2px;
            }

            .site-wordmark-sub {
                font-size: 24px;
            }

            .site-wordmark-image {
                width: 182px;
            }

            .site-topbar-action {
                height: 34px;
                padding: 0 11px;
                font-size: 11px;
            }

            .site-topbar-actions {
                gap: 8px;
            }

            .site-topbar-home-link {
                width: 30px;
                height: 30px;
            }

            .site-topbar-home {
                width: 18px;
                height: 18px;
                font-size: 10px;
                margin-left: 0;
            }

            .site-topbar-action-text.is-image {
                height: 12px;
            }

            .brand-footer-logo {
                width: 156px;
            }
        }

        .hero {
            margin: 10px 32px 18px;
            width: calc(100% - 64px);
            overflow: hidden;
        }

        .hero img {
            width: 100%;
            display: block;
        }

        .intro-box {
            margin: 0 32px;
            border-radius: 34px;
            background: var(--ink-soft);
            color: #fff;
            padding: 30px 44px 38px;
            text-align: center;
        }

        .intro-box h2 {
            margin: 0;
            color: var(--title-orange);
            font-size: clamp(30px, 3.2vw, 40px);
            line-height: 1.2;
            font-weight: 900;
            letter-spacing: .2px;
            white-space: nowrap;
        }

        @media (max-width: 1200px) {
            .intro-box h2 {
                white-space: normal;
            }
        }

        .intro-box p {
            margin: 18px auto 0;
            max-width: 930px;
            font-size: 23px;
            line-height: 1.58;
            letter-spacing: .2px;
        }

        .promo-highlight {
            color: var(--title-orange);
        }

        .retailer-logos {
            width: min(100%, 800px);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .retailer-logos-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .retailer-logos-row img {
            display: block;
            height: 44px;
            width: auto;
            object-fit: contain;
        }

        .retailer-logos-row img[alt="ParknShop"] {
            /* border: 1px solid #fff; */
        }

        .retailer-logos-row--top img {
            /* height: 39px; */
        }

        @media (min-width: 768px) {
            .retailer-logos-row img[alt="YATA"] {
                height: 60px;
            }
        }

        .cta-primary-wrap {
            margin-top: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 28px;
        }

        .cta-kicker {
            font-size: 28px;
            font-weight: 800;
            line-height: 1.2;
        }

        .cta-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            border-radius: 999px;
            font-weight: 900;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        .cta-primary {
            width: min(92vw, 560px);
            height: 76px;
            background: var(--gold);
            color: #7c4a1a;
            font-size: 32px;
            line-height: 1;
            letter-spacing: .3px;
            box-shadow: inset 0 -6px 0 var(--gold-shadow);
        }

        .rule-link {
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            text-underline-offset: 3px;
        }

        .prizes {
            max-width: none;
            margin: 24px 32px 0;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 28px;
        }

        .prize-card {
            text-align: center;
            color: #fff;
        }

        .prize-visual {
            position: relative;
            aspect-ratio: 1 / 1;
            border-radius: 32px;
            background: radial-gradient(circle at center, #2f8fd3 0%, #16387f 46%, #0a1655 100%);
            overflow: hidden;
        }

        .medal {
            position: absolute;
            top: 14px;
            left: 14px;
            width: 54px;
            height: 54px;
            border-radius: 50%;
            color: #fff;
            font-size: 16px;
            font-weight: 800;
            letter-spacing: .3px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: radial-gradient(circle at 35% 25%, #f3e6bf 0%, #9b7d3a 55%, #765924 100%);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
            z-index: 2;
        }

        .prizes[aria-label="獎品資訊"] .medal {
            display: none;
        }

        .prize-image {
            position: absolute;
            inset: 0;
            background-image: url('/assets/img/kv.webp?<?php echo time(); ?>');
            background-repeat: no-repeat;
            background-size: 620%;
        }

        .prize-image-file {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center bottom;
            position: absolute;
            inset: 0;
            padding: 16px 14px 14px;
        }

        .prize-1 .prize-image {
            background-position: 93.6% 58%;
        }

        .prize-2 .prize-image {
            background-position: 69.8% 56%;
        }

        .prize-3 .prize-image {
            background-position: 88.4% 88%;
        }

        .prize-title {
            margin: 14px 8px 0;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.32;
            letter-spacing: .1px;
        }

        .prize-sub,
        .prize-qty {
            margin: 6px 0 0;
            font-size: 16px;
            line-height: 1.3;
            font-weight: 700;
        }

        .prize-total {
            margin: 12px 0 0;
            font-size: 24px;
            font-weight: 900;
            line-height: 1;
            color: var(--title-orange);
        }

        .period {
            margin: 28px 32px 0;
            background: linear-gradient(180deg, var(--orange-soft), var(--orange));
            color: #fff;
            border-radius: 44px;
            padding: 26px 44px 28px;
            font-size: 20px;
            line-height: 1.42;
            font-weight: 700;
            text-align: center;
        }

        .period strong {
            font-size: inherit;
            font-weight: 900;
            color: #1f2f79;
        }

        .detail-copy {
            margin: 22px 42px 0;
            text-align: center;
            font-size: 16px;
            line-height: 1.85;
            color: #fff;
        }

        .cta-secondary-wrap {
            margin-top: 72px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .cta-last-wrap {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .cta-shop-wrap {
            /* margin-top: 86px; */
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            padding-bottom: 42px;
        }

        .product-intro {
            margin: 0 32px 34px;
        }

        .product-intro-title {
            margin: 0 0 12px;
            padding-top: 40px;
            font-size: 34px;
            line-height: 1.1;
            color: #fff;
            font-weight: 900;
            text-align: center;
        }

        .product-intro-grid {
            width: 80%;
            margin: 0 auto;
            padding: 36px;
            background: #fff9e9;
            border-radius: 24px;
            box-shadow: inset 0 0 0 1px rgba(222, 205, 152, 0.26);
        }

        .product-intro-grid-top {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-bottom: 12px;
        }

        .product-intro-grid-bottom {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }

        .product-intro-item {
            display: grid;
            grid-template-rows: auto 1fr;
            gap: 0;
        }

        .product-intro-banner {
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }

        .product-intro-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(38, 44, 86, 0.18);
            border: 1px solid rgba(224, 224, 224, 0.7);
        }

        .product-intro-card .product-intro-media {
            border-bottom: 1px solid #ececec;
        }

        .product-intro-media img {
            width: 100%;
            display: block;
            object-fit: cover;
        }

        .product-intro-text {
            border: 0;
            border-radius: 0;
            padding: 23px 23px 26px;
            color: #222;
            background: #fff;
            font-size: 14px;
            line-height: 1.5;
        }

        .product-intro-text ul {
            margin: 0;
            padding-left: 1.1em;
        }

        .product-intro-text li + li {
            margin-top: 4px;
        }

        .product-intro-note {
            margin: 8px 0 0;
            font-size: 11px;
            line-height: 1.45;
            color: #4a4a4a;
        }

        .cta-shop-wrap img {
            display: block;
            width: auto;
            height: auto;
            max-width: min(400px, 42vw);
            margin: 0;
            vertical-align: middle;
        }

        .cta-primary {
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .cta-primary:hover {
                transform: translateY(-2px);
                filter: brightness(1.04);
            }
        }

        .cta-primary:active {
            transform: translateY(1px);
            filter: brightness(.98);
        }

        @media (max-width: 767px) {
            .hero {
                margin: 10px 12px 12px;
                width: calc(100% - 24px);
            }

            .intro-box {
                margin: 0 12px;
                padding: 20px 14px 18px;
                border-radius: 22px;
            }

            .intro-box h2 {
                font-size: clamp(20px, 5.6vw, 26px);
                white-space: normal;
            }

            .intro-box p {
                max-width: none;
                margin-top: 12px;
                font-size: clamp(14px, 3.6vw, 17px);
                line-height: 1.5;
            }

            .detail-copy {
                font-size: clamp(12px, 3vw, 15px);
                line-height: 1.58;
            }

            .cta,
            .cta-primary {
                width: min(92%, 320px);
                font-size: 26px;
                height: 58px;
            }

            .cta-shop-wrap img {
                max-width: min(420px, 86vw);
            }

            .cta-primary-wrap {
                margin-top: 18px;
                gap: 12px;
            }

            .cta-kicker {
                font-size: clamp(20px, 5.8vw, 24px);
            }

            .retailer-logos {
                gap: 8px;
            }

            .retailer-logos-row {
                gap: 8px;
            }

            .retailer-logos-row img {
                height: 39px;
                max-width: 34vw;
            }

            .retailer-logos-row--top img {
                height: 36px;
            }

            .retailer-logos-row img[alt="Mannings Plus"] {
                height: 42px;
                max-width: 46vw;
            }

            .rule-link {
                font-size: 12px;
            }

            .prizes {
                margin: 18px 12px 0;
                padding: 0;
                gap: 10px;
                grid-template-columns: 1fr;
            }

            .prize-visual {
                border-radius: 18px;
            }

            .medal {
                width: 34px;
                height: 34px;
                top: 8px;
                left: 8px;
                font-size: 14px;
            }

            .prize-image-file {
                padding: 10px 8px 8px;
            }

            .prize-title {
                margin-top: 8px;
                font-size: 15px;
                line-height: 1.34;
            }

            .prize-sub,
            .prize-qty {
                margin-top: 3px;
                font-size: 11px;
            }

            .prize-total {
                margin-top: 7px;
                font-size: 20px;
            }

            .period {
                margin: 18px 12px 0;
                padding: 16px 14px;
                border-radius: 24px;
                font-size: clamp(12px, 2.9vw, 15px);
                line-height: 1.46;
            }

            .period strong {
                font-size: inherit;
            }

            .detail-copy {
                margin: 16px 14px 0;
            }

            .cta-secondary-wrap {
                margin-top: 40px;
                gap: 10px;
            }

            .cta-shop-wrap {
                margin-top: 30px;
                flex-direction: column;
                gap: 10px;
                padding-bottom: 30px;
            }

            .product-intro {
                margin: 0 12px 22px;
            }

            .product-intro-title {
                font-size: 27px;
                margin-bottom: 10px;
            }

            .product-intro-grid {
                width: 100%;
                padding: 18px;
                border-radius: 16px;
            }

            .product-intro-grid-top,
            .product-intro-grid-bottom {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .product-intro-grid-top {
                margin-bottom: 8px;
            }

            .product-intro-text {
                padding: 18px;
                font-size: 13px;
                line-height: 1.4;
            }

            .product-intro-note {
                font-size: 10px;
                line-height: 1.4;
            }
        }
}

/* resources/views/campaign-form.blade.php */
@scope (.view-campaign-form) {
        :scope {
            --orange: #f6871f;
            --orange-deep: #ef7e11;
            --cream: #f7e9d6;
            --card: #f7ead8;
            --input: #ffffff;
            --text: #252525;
            --muted: #5a5a5a;
            --hero: #4070a0;
            --btn-shadow: 0 8px 0 rgba(171, 84, 0, 0.35);
        }

        :scope, :scope * {
            box-sizing: border-box;
        }

        :scope {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
            background: #efefef;
            color: var(--text);
        }

        .page {
            width: 80%;
            max-width: 1336px;
            margin: 0 auto;
            min-height: 100vh;
            background: #2f2d61;
        }

        .site-topbar {
            background: #2f2d61;
            height: 78px;
            /* border-bottom: 1px solid rgba(255, 255, 255, 0.16); */
        }

        .site-topbar-inner {
            height: 100%;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .site-topbar-actions {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .site-wordmark {
            color: #fff;
            line-height: 1;
            display: inline-flex;
            align-items: baseline;
            gap: 8px;
            font-weight: 900;
            text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
        }

        .site-wordmark-image {
            display: block;
            width: 272px;
            height: auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.48));
        }

        .site-wordmark-main {
            font-size: 56px;
            letter-spacing: .6px;
            transform: skewX(-12deg);
        }

        .site-wordmark-sub {
            font-size: 42px;
            letter-spacing: .2px;
            font-weight: 500;
        }

        .site-topbar-action {
            background: #f9e270;
            color: #2f2a1f;
            text-decoration: none;
            border-radius: 999px;
            height: 44px;
            padding: 0 20px;
            display: inline-flex;
            align-items: center;
            font-size: 15px;
            font-weight: 700;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f9e270;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #ffe889;
            color: #6f5712;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            line-height: 1;
        }

        .site-topbar-action-text {
            display: inline-block;
            transform: translateY(-.5px);
        }

        .site-topbar-action-text.is-image {
            display: block;
            height: 16px;
            width: auto;
            transform: none;
        }

        .site-topbar-action,
        .site-topbar-home-link {
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .site-topbar-action:hover,
            .site-topbar-home-link:hover {
                transform: translateY(-2px);
                filter: brightness(1.04);
            }
        }

        .site-topbar-action:active,
        .site-topbar-home-link:active {
            transform: translateY(1px);
            filter: brightness(.98);
        }

        .brand-footer {
            background: #2f2d61;
            color: #fff;
            text-align: center;
            padding: 14px 12px 12px;
        }

        .brand-footer-logo {
            display: block;
            width: 200px;
            max-width: 86%;
            height: auto;
            margin: 0 auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.45));
        }

        .brand-footer p {
            margin: 8px 0 0;
            font-size: 10px;
            opacity: .95;
        }

        @media (max-width: 767px) {
            .page {
                width: 100%;
            }

            .site-topbar-inner {
                padding: 0 14px;
            }

            .site-topbar {
                height: 60px;
            }

            .site-wordmark-main {
                font-size: 32px;
                letter-spacing: .2px;
            }

            .site-wordmark-sub {
                font-size: 24px;
            }

            .site-wordmark-image {
                width: 182px;
            }

            .site-topbar-action {
                height: 34px;
                padding: 0 11px;
                font-size: 11px;
            }

            .site-topbar-actions {
                gap: 8px;
            }

            .site-topbar-home-link {
                width: 30px;
                height: 30px;
            }

            .site-topbar-home {
                width: 18px;
                height: 18px;
                font-size: 10px;
                margin-left: 0;
            }

            .site-topbar-action-text.is-image {
                height: 12px;
            }

            .brand-footer-logo {
                width: 156px;
            }
        }

        .hero {
            margin: 10px 32px 18px;
            width: calc(100% - 64px);
            overflow: hidden;
        }

        .hero img {
            width: 100%;
            display: block;
        }

        .brand-pill {
            position: absolute;
            top: 14px;
            left: 14px;
            background: #e7303b;
            color: #fff;
            font-weight: 700;
            border-radius: 999px;
            padding: 8px 14px;
            font-size: 12px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .hero h1 {
            margin: 74px 0 6px;
            color: #fff;
            font-size: 46px;
            line-height: 1;
            text-shadow: -2px -2px 0 #e9323c, 2px -2px 0 #e9323c, -2px 2px 0 #e9323c, 2px 2px 0 #e9323c;
            transform: rotate(-3deg);
            letter-spacing: 1px;
        }

        .hero h2 {
            margin: 0;
            color: #fff;
            font-size: 36px;
            line-height: 1.15;
            text-shadow: -2px -2px 0 #e9323c, 2px -2px 0 #e9323c, -2px 2px 0 #e9323c, 2px 2px 0 #e9323c;
        }

        .form-wrap {
            max-width: 1080px;
            margin: 0 auto;
            padding: 40px 32px 28px;
        }

        .card {
            background: var(--card);
            border-radius: 20px;
            padding: 20px 16px 24px;
        }

        h3,
        h4,
        p {
            margin: 0;
        }

        .intro {
            font-size: 15px;
            margin-bottom: 16px;
        }

        .section-title {
            font-size: 38px;
            line-height: 1;
            color: #ff4b3f;
            margin: 8px 0 18px;
            letter-spacing: 1px;
            text-shadow: 2px 2px 0 #fff;
        }

        .block-title {
            margin: 16px 0 10px;
            font-size: 34px;
            color: #e33638;
            font-weight: 800;
            line-height: 1;
        }

        .field {
            margin-top: 12px;
        }

        .label {
            display: block;
            margin-bottom: 8px;
            font-size: 18px;
            font-weight: 700;
        }

        .amount-note {
            display: inline-block;
            margin-left: 4px;
            font-size: 12px;
            line-height: 1.35;
            font-weight: 500;
            color: var(--muted);
        }

        .label-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 8px;
        }

        .label-row .label {
            margin-bottom: 0;
        }

        .subtext {
            margin-bottom: 8px;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.35;
        }

        .field-error {
            margin-top: 6px;
            color: #d93025;
            font-size: 13px;
            line-height: 1.35;
        }

        .field-error:empty {
            display: none;
        }

        .file-input-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .file-name {
            margin-top: 6px;
            font-size: 13px;
            color: #4f4f4f;
            word-break: break-all;
        }

        input,
        select,
        textarea {
            width: 100%;
            border: 0;
            outline: none;
            border-radius: 999px;
            padding: 12px 14px;
            background: var(--input);
            font-size: 16px;
            color: var(--text);
            min-height: 45px;
        }

        select {
            -webkit-appearance: none;
            appearance: none;
            padding-right: 42px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M2 2.5L7 7.5L12 2.5' fill='none' stroke='%23424242' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-size: 14px 10px;
            background-position: calc(100% - 22px) center;
        }

        textarea {
            border-radius: 14px;
            min-height: 96px;
            resize: vertical;
        }

        .row {
            display: grid;
            gap: 10px;
            grid-template-columns: 1fr;
        }

        .products-count-list {
            display: grid;
            gap: 10px;
        }

        .products-count-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 180px;
            gap: 10px;
            align-items: center;
        }

        .products-count-item .label {
            margin-bottom: 0;
            font-size: 17px;
            line-height: 1.35;
        }

        .phone-grid {
            display: grid;
            grid-template-columns: 108px 1fr;
            gap: 10px;
        }

        .phone-grid .field-error[data-for="phone"] {
            grid-column: 2;
            margin-top: 0;
        }

        .date-grid {
            display: grid;
            grid-template-columns: 1fr 96px;
            gap: 10px;
            align-items: center;
        }

        .upload-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            align-items: center;
        }

        .upload-receipt-label {
            margin-top: 8px;
            /* font-size: 14px; */
            /* line-height: 1.4; */
            /* color: #333; */
        }

        .upload-trigger-row {
            margin-top: 8px;
            display: flex;
            justify-content: flex-start;
        }

        .btn-small {
            border: 3px solid #fff;
            border-radius: 14px;
            min-height: 56px;
            color: #fff;
            font-weight: 800;
            font-size: 18px;
            background-color: #030b46;
            box-shadow: 0 5px 0 rgba(169, 87, 9, 0.45);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 16px;
            line-height: 1;
            cursor: pointer;
            white-space: nowrap;
        }

        .btn-small:active {
            transform: translateY(1px);
        }

        .calendar-icon {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .calendar-icon svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        #purchase_date {
            -webkit-appearance: none;
            appearance: none;
            cursor: pointer;
        }

        #purchase_date::-webkit-calendar-picker-indicator {
            opacity: 0;
            display: none;
            pointer-events: none;
        }

        .flatpickr-calendar {
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
        }

        .flatpickr-months .flatpickr-month {
            background: transparent;
            color: rgba(0, 0, 0, 0.9);
            fill: rgba(0, 0, 0, 0.9);
            height: 41px;
            line-height: 1;
            text-align: center;
            position: relative;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            overflow: hidden;
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            -ms-flex: 1;
            flex: 1;
        }

        .checks {
            margin-top: 14px;
            display: grid;
            gap: 10px;
            font-size: 15px;
            line-height: 1.45;
        }

        .check {
            display: grid;
            grid-template-columns: 20px 1fr;
            gap: 10px;
            align-items: start;
        }

        .check input {
            min-height: unset;
            width: 18px;
            height: 18px;
            margin-top: 2px;
        }

        .cta {
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            border-radius: 999px;
            font-weight: 900;
            white-space: nowrap;
            width: min(92vw, 560px);
            height: 76px;
            margin: 16px auto 0;
            border: 0;
            background: #f9e270;
            color: #7c4a1a;
            font-size: 32px;
            line-height: 1;
            letter-spacing: .3px;
            box-shadow: inset 0 -6px 0 #d6c25f;
        }

        .footer-rule {
            color: #fff3d6;
            font-size: 13px;
            line-height: 1.5;
            padding: 16px 16px 24px;
            max-width: 520px;
            margin: 0 auto;
        }

        .link {
            color: #1557c5;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .sample-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            z-index: 1000;
        }

        .sample-modal.is-open {
            display: flex;
        }

        .sample-modal-dialog {
            position: relative;
            width: min(92vw, 760px);
            max-height: 82vh;
            background: #fff;
            border-radius: 18px;
            padding: 16px;
            overflow: auto;
            box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
        }

        .sample-modal-close {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 64px;
            height: 64px;
            border: 0;
            border-radius: 999px;
            background-color: #030b46;
            color: #fff;
            font-size: 52px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .sample-modal-body {
            margin-top: 30px;
        }

        .sample-store-list {
            display: grid;
            gap: 8px;
            margin-bottom: 12px;
            max-height: min(42vh, 360px);
            overflow: auto;
            padding-right: 2px;
        }

        .sample-store-item {
            width: 100%;
            border: 3px solid #fff;
            border-radius: 14px;
            background-color: #030b46;
            box-shadow: 0 5px 0 rgba(169, 87, 9, 0.45);
            color: #fff;
            font-size: 18px;
            font-weight: 800;
            line-height: 1.35;
            text-align: left;
            padding: 12px 16px;
            min-height: 56px;
            cursor: pointer;
        }

        .sample-store-item.is-active {
            background-color: #1557c5;
            border-color: #fff;
            color: #fff;
        }

        .sample-store-item:active {
            transform: translateY(1px);
        }

        .sample-store-item:focus-visible {
            outline: 3px solid rgba(255, 255, 255, 0.7);
            outline-offset: 2px;
        }

        .sample-modal-image {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
        }

        .sample-modal-note {
            margin-top: 12px;
            font-size: 13px;
            color: #666;
            text-align: center;
        }

        .result-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            z-index: 1200;
        }

        .result-modal.is-open {
            display: flex;
        }

        .result-modal-dialog {
            width: min(92vw, 420px);
            background: #fff;
            border-radius: 20px;
            padding: 26px 20px 20px;
            text-align: center;
            box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
        }

        .result-modal-title {
            margin: 0;
            font-size: 30px;
            line-height: 1.1;
            color: #1f2f79;
            font-weight: 900;
        }

        .result-modal-message {
            margin: 12px 0 0;
            font-size: 18px;
            line-height: 1.45;
            color: #2f2f2f;
            font-weight: 700;
        }

        .result-modal-close {
            margin-top: 18px;
            border: 0;
            border-radius: 999px;
            min-height: 48px;
            min-width: 130px;
            background: #f9e270;
            color: #7c4a1a;
            font-size: 18px;
            font-weight: 900;
            box-shadow: inset 0 -4px 0 #d6c25f;
            cursor: pointer;
            padding: 0 20px;
        }

        .btn-small,
        .cta,
        .sample-modal-close,
        .result-modal-close {
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .btn-small:hover,
            .cta:hover,
            .sample-modal-close:hover,
            .result-modal-close:hover {
                transform: translateY(-2px);
                filter: brightness(1.04);
            }
        }

        .btn-small:active,
        .cta:active,
        .sample-modal-close:active,
        .result-modal-close:active {
            transform: translateY(1px);
            filter: brightness(.98);
        }

        @media (min-width: 768px) {
            .hero h1 {
                font-size: 58px;
            }

            .hero h2 {
                font-size: 45px;
            }

            .card {
                padding: 24px 20px 28px;
            }

            .row {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 767px) {
            .hero {
                margin: 10px 12px 12px;
                width: calc(100% - 24px);
            }

            .form-wrap {
                padding-left: 12px;
                padding-right: 12px;
            }

            .cta {
                width: min(92%, 320px);
                font-size: 30px;
                height: 58px;
            }

            .result-modal-title {
                font-size: 24px;
            }

            .result-modal-message {
                font-size: 16px;
            }

            .products-count-item {
                grid-template-columns: 1fr;
                align-items: stretch;
            }

            .products-count-item .label {
                margin-bottom: 6px;
            }
        }
}

/* resources/views/campaign-result.blade.php */
@scope (.view-campaign-result) {
        :scope, :scope * { box-sizing: border-box; }

        :scope {
            --ink: #2f2d61;
            --ink-deep: #23244f;
            --gold: #f9e270;
            --gold-shadow: #d6c25f;
            --card: #f3e6d3;
            --orange: #ff980f;
            --orange-deep: #ff8b00;
        }

        :scope {
            margin: 0;
            background: #efefef;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
            color: #111;
        }

        .page {
            width: 80%;
            max-width: 1336px;
            margin: 0 auto;
            min-height: 100vh;
            background: #2f2d61;
            display: flex;
            flex-direction: column;
        }

        .site-topbar {
            background: #2f2d61;
            height: 78px;
            /* border-bottom: 1px solid rgba(255, 255, 255, 0.16); */
        }

        .site-topbar-inner {
            height: 100%;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .site-topbar-actions {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .site-wordmark {
            color: #fff;
            line-height: 1;
            display: inline-flex;
            align-items: baseline;
            gap: 8px;
            font-weight: 900;
            text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
        }

        .site-wordmark-image {
            display: block;
            width: 272px;
            height: auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.48));
        }

        .site-wordmark-main {
            font-size: 56px;
            letter-spacing: .6px;
            transform: skewX(-12deg);
        }

        .site-wordmark-sub {
            font-size: 42px;
            letter-spacing: .2px;
            font-weight: 500;
        }

        .site-topbar-action {
            background: #f9e270;
            color: #2f2a1f;
            text-decoration: none;
            border-radius: 999px;
            height: 44px;
            padding: 0 20px;
            display: inline-flex;
            align-items: center;
            font-size: 15px;
            font-weight: 700;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f9e270;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #ffe889;
            color: #6f5712;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            line-height: 1;
        }

        .site-topbar-action-text {
            display: inline-block;
            transform: translateY(-.5px);
        }

        .site-topbar-action-text.is-image {
            display: block;
            height: 16px;
            width: auto;
            transform: none;
        }

        .site-topbar-action,
        .site-topbar-home-link {
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .site-topbar-action:hover,
            .site-topbar-home-link:hover {
                transform: translateY(-2px);
                filter: brightness(1.04);
            }
        }

        .site-topbar-action:active,
        .site-topbar-home-link:active {
            transform: translateY(1px);
            filter: brightness(.98);
        }

        .brand-footer {
            background: #2f2d61;
            color: #fff;
            text-align: center;
            padding: 14px 12px 12px;
        }

        .brand-footer-logo {
            display: block;
            width: 200px;
            max-width: 86%;
            height: auto;
            margin: 0 auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.45));
        }

        .brand-footer p {
            margin: 8px 0 0;
            font-size: 10px;
            opacity: .95;
        }

        @media (max-width: 767px) {
            .page {
                width: 100%;
            }

            .site-topbar-inner {
                padding: 0 14px;
            }

            .site-topbar {
                height: 60px;
            }

            .site-wordmark-main {
                font-size: 32px;
                letter-spacing: .2px;
            }

            .site-wordmark-sub {
                font-size: 24px;
            }

            .site-wordmark-image {
                width: 182px;
            }

            .site-topbar-action {
                height: 34px;
                padding: 0 11px;
                font-size: 11px;
            }

            .site-topbar-actions {
                gap: 8px;
            }

            .site-topbar-home-link {
                width: 30px;
                height: 30px;
            }

            .site-topbar-home {
                width: 18px;
                height: 18px;
                font-size: 10px;
                margin-left: 0;
            }

            .site-topbar-action-text.is-image {
                height: 12px;
            }

            .brand-footer-logo {
                width: 156px;
            }
        }

        .hero {
            margin: 10px 32px 18px;
            width: calc(100% - 64px);
            overflow: hidden;
        }

        .hero img {
            width: 100%;
            display: block;
        }

        .result-wrap {
            width: min(1120px, calc(100% - 28px));
            margin: 24px auto 40px;
            color: #fff;
        }

        .result-date {
            margin: 0 0 18px;
            background: linear-gradient(180deg, #ffa827 0%, var(--orange) 50%, var(--orange-deep) 100%);
            border-radius: 18px;
            text-align: center;
            padding: 18px 16px;
            font-weight: 900;
            font-size: clamp(18px, 2.4vw, 34px);
            letter-spacing: .4px;
            color: #fff;
        }

        .prize-block {
            border-radius: 18px;
            overflow: hidden;
            background: transparent;
            margin: 18px 0 26px;
        }

        .prize-head {
            background: var(--ink);
            color: #fff;
            padding: 16px 22px;
            font-weight: 900;
            font-size: clamp(16px, 1.9vw, 32px);
            line-height: 1.5;
            border-radius: 18px;
            position: relative;
            top: 10px;
            z-index: 1;
        }

        .prize-head small {
            font-size: 45%;
            font-weight: 700;
            opacity: .95;
        }

        .winner-card {
            background: var(--card);
            color: #202020;
            padding: 30px 20px 18px;
            position: relative;
            top: 0px;
        }

        .winner-label {
            margin: 0px 0 10px;
            padding: 0 0 10px 0;
            font-size: 16px;
            font-weight: 900;
            border-bottom: 2px solid rgba(36, 36, 36, .48);
        }

        .winner-table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
            font-size: 14px;
            border-right: 2px solid rgba(36, 36, 36, .48);
        }

        .winner-card .winner-table:last-child {
            border-right: 0;
        }

        .winner-table thead th {
            text-align: left;
            padding: 7px 8px;
            font-size: 13px;
            font-weight: 900;
            white-space: nowrap;
        }

        .winner-table td {
            padding: 6px 8px;
            vertical-align: top;
            line-height: 1.45;
            word-break: break-word;
        }

        .winner-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }

        .winner-grid .winner-table {
            font-size: 13px;
        }

        @media (max-width: 991px) {
            .winner-grid {
                grid-template-columns: 1fr;
            }

            .winner-table {
                font-size: 13px;
            }

            .winner-table thead th {
                font-size: 12px;
            }
        }

        @media (max-width: 767px) {
            .hero {
                margin: 10px 12px 12px;
                width: calc(100% - 24px);
            }

            .result-wrap {
                width: calc(100% - 18px);
                margin: 14px auto 28px;
            }

            .result-date {
                border-radius: 14px;
                padding: 14px 12px;
                margin-bottom: 12px;
            }

            .prize-head {
                padding: 12px 14px;
            }

            .winner-card {
                padding: 12px;
            }

            .winner-table {
                border-right: 0;
            }
        }
}

/* resources/views/campaign-thankyou.blade.php */
@scope (.view-campaign-thankyou) {
        :scope {
            --ink: #2f2d61;
            --gold: #f9e270;
            --gold-shadow: #d6c25f;
            --card: #f7ead8;
            --text: #252525;
            --muted: #5a5a5a;
        }

        :scope, :scope * { box-sizing: border-box; }

        :scope {
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
            background: #efefef;
            color: var(--text);
        }

        .page {
            width: 80%;
            max-width: 1336px;
            margin: 0 auto;
            min-height: 100vh;
            background: #2f2d61;
            display: flex;
            flex-direction: column;
        }

        @media (max-width: 767px) {
            .page {
                width: 100%;
            }
        }

        .site-topbar {
            background: #2f2d61;
            height: 78px;
            /* border-bottom: 1px solid rgba(255, 255, 255, 0.16); */
        }

        .site-topbar-inner {
            height: 100%;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .site-topbar-actions {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .site-wordmark {
            color: #fff;
            line-height: 1;
            display: inline-flex;
            align-items: baseline;
            gap: 8px;
            font-weight: 900;
            text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
        }

        .site-wordmark-image {
            display: block;
            width: 272px;
            height: auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.48));
        }

        .site-wordmark-main {
            font-size: 56px;
            letter-spacing: .6px;
            transform: skewX(-12deg);
        }

        .site-wordmark-sub {
            font-size: 42px;
            letter-spacing: .2px;
            font-weight: 500;
        }

        .site-topbar-action {
            background: #f9e270;
            color: #2f2a1f;
            text-decoration: none;
            border-radius: 999px;
            height: 44px;
            padding: 0 20px;
            display: inline-flex;
            align-items: center;
            font-size: 15px;
            font-weight: 700;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f9e270;
            box-shadow: inset 0 -2px 0 #d6c25f;
        }

        .site-topbar-home {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #ffe889;
            color: #6f5712;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            line-height: 1;
        }

        .site-topbar-action-text {
            display: inline-block;
            transform: translateY(-.5px);
        }

        .site-topbar-action-text.is-image {
            display: block;
            height: 16px;
            width: auto;
            transform: none;
        }

        .site-topbar-action,
        .site-topbar-home-link {
            transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .site-topbar-action:hover,
            .site-topbar-home-link:hover {
                transform: translateY(-2px);
                filter: brightness(1.04);
            }
        }

        .site-topbar-action:active,
        .site-topbar-home-link:active {
            transform: translateY(1px);
            filter: brightness(.98);
        }

        .brand-footer {
            background: #2f2d61;
            color: #fff;
            text-align: center;
            padding: 14px 12px 12px;
        }

        .brand-footer-logo {
            display: block;
            width: 200px;
            max-width: 86%;
            height: auto;
            margin: 0 auto;
            filter: drop-shadow(0 0 8px rgba(179, 220, 255, 0.45));
        }

        .brand-footer p {
            margin: 8px 0 0;
            font-size: 10px;
            opacity: .95;
        }

        @media (max-width: 767px) {
            .site-topbar-inner {
                padding: 0 14px;
            }

            .site-topbar {
                height: 60px;
            }

            .site-wordmark-main {
                font-size: 32px;
                letter-spacing: .2px;
            }

            .site-wordmark-sub {
                font-size: 24px;
            }

            .site-wordmark-image {
                width: 182px;
            }

            .site-topbar-action {
                height: 34px;
                padding: 0 11px;
                font-size: 11px;
            }

            .site-topbar-actions {
                gap: 8px;
            }

            .site-topbar-home-link {
                width: 30px;
                height: 30px;
            }

            .site-topbar-home {
                width: 18px;
                height: 18px;
                font-size: 10px;
                margin-left: 0;
            }

            .site-topbar-action-text.is-image {
                height: 12px;
            }

            .brand-footer-logo {
                width: 156px;
            }
        }

        .hero {
            margin: 10px 32px 18px;
            width: calc(100% - 64px);
            overflow: hidden;
        }

        .hero img {
            width: 100%;
            display: block;
        }

        .content-wrap {
            max-width: 1080px;
            margin: 0 auto;
            padding: 40px 32px 28px;
            flex: 1;
        }

        .card {
            background: var(--card);
            border-radius: 20px;
            padding: 28px 22px 34px;
        }

        .title {
            margin: 0;
            font-size: clamp(21px, 2.4vw, 31px);
            line-height: 1.25;
            color: #e33638;
            font-weight: 900;
        }

        .message {
            margin-top: 16px;
            font-size: clamp(14px, 1.6vw, 19px);
            line-height: 1.7;
            color: #2f2f2f;
            font-weight: 700;
            white-space: pre-line;
        }

        .reference {
            margin-top: 14px;
            padding: 14px 16px;
            border-radius: 14px;
            background: #fff;
            border: 2px dashed #e0b369;
            color: #1f2f79;
            font-size: clamp(14px, 1.7vw, 21px);
            font-weight: 900;
            letter-spacing: 1px;
        }

        .hint {
            margin-top: 8px;
            font-size: 12px;
            line-height: 1.5;
            color: var(--muted);
            font-weight: 600;
        }

        .closing {
            margin-top: 18px;
            font-size: clamp(13px, 1.4vw, 17px);
            line-height: 1.65;
            color: #2f2f2f;
            font-weight: 700;
        }

        @media (max-width: 767px) {
            .hero {
                margin: 10px 12px 12px;
                width: calc(100% - 24px);
            }

            .content-wrap {
                padding-left: 12px;
                padding-right: 12px;
            }

            .card {
                padding: 22px 16px 26px;
            }
        }
}

/* resources/views/admin/dashboard.blade.php */
@scope (.view-admin-dashboard) {
        :scope { font-family: Arial, sans-serif; background: #eef3f8; margin: 0; }
        .wrap { max-width: 1680px; margin: 20px auto 28px; padding: 0 16px; }
        .card { background: transparent; border-radius: 12px; padding: 0; box-shadow: none; }
        h1 { margin-top: 0; }
        .top { margin-bottom: 14px; }
        button { border: 0; border-radius: 8px; background: #dc2626; color: #fff; padding: 10px 14px; font-weight: 700; cursor: pointer; }
        .summary { margin: 0 0 12px; color: #1f2937; }
        .search-form { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
        .search-input { min-width: 260px; border: 1px solid #d1d5db; border-radius: 8px; padding: 8px 10px; font-size: 14px; }
        .search-select { border: 1px solid #d1d5db; border-radius: 8px; padding: 8px 10px; font-size: 14px; background: #fff; }
        .date-filter-group { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .date-filter-label { font-size: 13px; color: #334155; font-weight: 700; }
        .date-input { border: 1px solid #d1d5db; border-radius: 8px; padding: 8px 10px; font-size: 14px; background: #fff; }
        .search-btn { border: 0; border-radius: 8px; background: #0f766e; color: #fff; padding: 9px 12px; font-weight: 700; cursor: pointer; }
        .search-hint { margin: -2px 0 10px; font-size: 12px; color: #475569; }
        .reset-btn { border: 0; border-radius: 8px; background: #e2e8f0; color: #1f2937; padding: 9px 12px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
        .export-btn { border: 0; border-radius: 8px; background: #0ea5e9; color: #fff; padding: 9px 12px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
        .export-btn:hover { background: #0284c7; }
        .auto-valid-btn { border: 0; border-radius: 8px; background: #7c3aed; color: #fff; padding: 9px 12px; font-weight: 700; cursor: pointer; }
        .auto-valid-btn.is-loading { background: #6d28d9; cursor: wait; opacity: .9; }
        .auto-valid-btn[disabled] { opacity: .7; cursor: not-allowed; }
        .auto-valid-meta { font-size: 12px; color: #475569; font-weight: 700; margin-left: 2px; }
        .loading-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); display: none; align-items: center; justify-content: center; z-index: 5000; }
        .loading-overlay.is-open { display: flex; }
        .loading-box { min-width: 220px; max-width: 92vw; background: #ffffff; color: #0f172a; border-radius: 12px; padding: 16px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.25); text-align: center; font-weight: 700; }
        .loading-spinner { width: 30px; height: 30px; border: 3px solid #e2e8f0; border-top-color: #7c3aed; border-radius: 50%; margin: 0 auto 10px; animation: spin 0.9s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .table-pagination { margin-top: 12px; }
        .page-jump-toolbar { display: flex; justify-content: flex-end; margin: 0 0 10px; }
        .page-jump-form { display: inline-flex; align-items: center; gap: 8px; }
        .page-jump-label { font-size: 13px; color: #334155; font-weight: 700; }
        .page-jump-select { border: 1px solid #d1d5db; border-radius: 8px; padding: 6px 10px; font-size: 13px; background: #fff; }
        .page-jump-go { border: 0; border-radius: 8px; background: #0f766e; color: #fff; padding: 6px 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
        .table-pagination nav > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
        .table-pagination svg { width: 14px; height: 14px; }
        .table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
        table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; min-width: 1220px; }
        thead th { position: sticky; top: 0; z-index: 1; background: #f3f4f6; text-align: left; padding: 10px; border-bottom: 1px solid #d1d5db; white-space: nowrap; }
        thead th.sortable { cursor: pointer; user-select: none; }
        thead th.sortable::after { content: '↕'; margin-left: 6px; color: #94a3b8; font-size: 11px; }
        thead th.sort-asc::after { content: '↑'; color: #2563eb; }
        thead th.sort-desc::after { content: '↓'; color: #2563eb; }
        tbody td { padding: 10px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
        tbody tr:nth-child(even) { background: #fafafa; }
        tbody tr:hover { background: #f5f9ff; }
        .muted { color: #6b7280; }
        .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
        .ok { background: #dcfce7; color: #166534; }
        .no { background: #fee2e2; color: #991b1b; }
        .uv-auto { background: #ede9fe; color: #5b21b6; }
        .uv-manual { background: #dbeafe; color: #1d4ed8; }
        .uv-none { background: #e5e7eb; color: #4b5563; }
        .ub-auto { background: #ede9fe; color: #5b21b6; }
        .ub-manual { background: #dbeafe; color: #1d4ed8; }
        .ub-none { background: #e5e7eb; color: #4b5563; }
        .link { color: #2563eb; text-decoration: none; }
        .link:hover { text-decoration: underline; }
        .receipt-thumb-link { display: inline-flex; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; background: #fff; }
        .receipt-thumb { width: 72px; height: 72px; object-fit: cover; display: block; background: #f8fafc; }
        .flash { margin: 10px 0 14px; padding: 10px 12px; border-radius: 8px; background: #dcfce7; color: #166534; font-weight: 700; }
        .edit-input,
        .edit-select { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: 6px 8px; font-size: 13px; box-sizing: border-box; }
        .edit-btn { border: 0; border-radius: 8px; background: #2563eb; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
        .quick-btn { border: 0; border-radius: 8px; background: #0f766e; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .quick-btn.is-loading { background: #0b5f58; cursor: wait; opacity: .9; }
        .quick-btn[disabled] { opacity: .7; cursor: not-allowed; }
        .row-auto-valid-btn { border: 0; border-radius: 8px; background: #7c3aed; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .row-auto-valid-btn:hover { background: #6d28d9; }
        .row-auto-valid-btn.is-loading { background: #6d28d9; cursor: wait; opacity: .9; }
        .row-auto-valid-btn[disabled] { opacity: .7; cursor: not-allowed; }
        .resend-mail-btn { border: 0; border-radius: 8px; background: #0369a1; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .resend-mail-btn:hover { background: #075985; }
        .resend-mail-btn.is-loading { background: #075985; cursor: wait; opacity: .9; }
        .resend-mail-btn[disabled] { opacity: .7; cursor: not-allowed; }
        .save-btn { border: 0; border-radius: 8px; background: #16a34a; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .cancel-btn { border: 0; border-radius: 8px; background: #6b7280; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .action-group { display: flex; gap: 6px; align-items: center; }
        .quick-form { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
        .quick-label { font-size: 12px; color: #374151; }
        .quick-radio-group { display: inline-flex; align-items: center; gap: 4px; }
        .quick-radio-option { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #111827; }
        .quick-radio-option input[type="radio"] { width: 14px; height: 14px; margin: 0; }
        .quick-mark { display: inline-flex; align-items: center; justify-content: center; width: 16px; font-weight: 700; }
        .edit-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.62); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 18px; }
        .edit-modal-overlay.is-open { display: flex; }
        .edit-modal { width: min(96vw, 1220px); height: min(92vh, 900px); background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
        .edit-modal-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; background: #f8fafc; }
        .edit-modal-title { font-size: 14px; font-weight: 700; color: #111827; }
        .edit-modal-close { border: 0; border-radius: 8px; background: #6b7280; color: #fff; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .edit-modal-frame { width: 100%; height: 100%; border: 0; background: #fff; }
        .btn-link { border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: flex; align-items: center; width: auto; border: 1px solid rgba(255,255,255,.12); }
        .btn-link:hover { background: rgba(255,255,255,.15); }
        .top-actions { width: auto; min-width: auto; background: linear-gradient(180deg, #29557d 0%, #234a70 100%); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 24px rgba(22, 49, 76, 0.25); position: sticky; top: 14px; }
        .menu-title { color: #ffffff; font-size: 26px; font-weight: 800; margin: 2px 2px 8px; letter-spacing: .2px; }
        .menu-item-active { background: #ffba00; color: #1f3550; border-color: transparent; }
        .menu-item-active:hover { background: #f4b000; }
        .menu-form { margin: 0; }
        .menu-btn { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; text-align: left; }
        .menu-btn:hover { background: rgba(255,255,255,.15); }
        .page-title { margin: 0; text-align: right; }
        .dashboard-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
        .dashboard-content { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }
        .dashboard-content.is-filter-loading { opacity: .66; }
        @media (max-width: 960px) {
            .dashboard-layout { grid-template-columns: 1fr; }
            .top-actions { width: 100%; min-width: 0; }
            .date-filter-group { margin-left: 0; }
        }
}

/* resources/views/admin/login.blade.php */
@scope (.view-admin-login) {
        :scope {
            font-family: Arial, sans-serif;
            background: #f4f6f8;
            margin: 0;
            min-height: 100vh;
            display: grid;
            place-items: center;
        }
        .card {
            width: min(420px, 92vw);
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
            padding: 24px;
        }
        h1 {
            margin: 0 0 16px;
            font-size: 24px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #222;
        }
        input {
            width: 100%;
            box-sizing: border-box;
            padding: 10px 12px;
            border: 1px solid #d5d9de;
            border-radius: 8px;
            margin-bottom: 14px;
            font-size: 14px;
        }
        button {
            width: 100%;
            border: 0;
            border-radius: 8px;
            background: #2563eb;
            color: #fff;
            font-weight: 700;
            padding: 11px 14px;
            cursor: pointer;
        }
        .msg {
            margin-bottom: 12px;
            padding: 10px 12px;
            border-radius: 8px;
            font-size: 14px;
        }
        .err { background: #fee2e2; color: #991b1b; }
        .ok { background: #dcfce7; color: #166534; }
}

/* resources/views/admin/participant-edit.blade.php */
@scope (.view-admin-participant-edit) {
        :scope { font-family: Arial, sans-serif; background: #f8fafc; margin: 0; }
        .wrap { max-width: 1100px; margin: 32px auto; padding: 0 16px; }
        .card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 8px 28px rgba(0,0,0,.06); }
        h1 { margin-top: 0; }
        .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
        .back-link { color: #2563eb; text-decoration: none; font-weight: 700; }
        .back-link:hover { text-decoration: underline; }
        .grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .field { display: flex; flex-direction: column; gap: 6px; }
        .field.full { grid-column: 1 / -1; }
        .field-error { margin-top: 4px; color: #d93025; font-size: 13px; line-height: 1.35; }
        .field-error:empty { display: none; }
        label { font-weight: 700; color: #111827; }
        input, select { border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 12px; font-size: 14px; width: 100%; box-sizing: border-box; }
        .products-count-list { display: grid; gap: 10px; }
        .products-count-item { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 10px; align-items: center; }
        .products-count-item label { margin: 0; }
        .actions { margin-top: 16px; display: flex; gap: 10px; }
        .btn { border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
        .btn-primary { background: #16a34a; color: #fff; }
        .btn-secondary { background: #e5e7eb; color: #111827; text-decoration: none; display: inline-flex; align-items: center; }
        .muted { color: #6b7280; font-size: 13px; }
        .receipt-preview-wrap { margin-top: 8px; display: inline-flex; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; background: #fff; }
        .receipt-preview-image { width: 120px; height: 120px; object-fit: cover; display: block; background: #f8fafc; }
        .flash-error { margin-bottom: 12px; padding: 10px 12px; border-radius: 8px; background: #fee2e2; color: #991b1b; }
        .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
        .ok { background: #dcfce7; color: #166534; }
        .no { background: #fee2e2; color: #991b1b; }
        .btn-link { border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: flex; align-items: center; width: auto; border: 1px solid rgba(255,255,255,.12); }
        .btn-link:hover { background: rgba(255,255,255,.15); }
        .top-actions { width: auto; min-width: auto; background: linear-gradient(180deg, #29557d 0%, #234a70 100%); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 24px rgba(22, 49, 76, 0.25); position: sticky; top: 14px; }
        .menu-item-active { background: #ffba00; color: #1f3550; border-color: transparent; }
        .menu-item-active:hover { background: #f4b000; }
        .menu-form { margin: 0; }
        .menu-btn { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; text-align: left; cursor: pointer; }
        .menu-btn:hover { background: rgba(255,255,255,.15); }
        .dashboard-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
        .dashboard-layout.is-modal { grid-template-columns: minmax(0, 1fr); }
        .dashboard-content { min-width: 0; }
        @media (max-width: 700px) {
            .grid { grid-template-columns: 1fr; }
            .products-count-item { grid-template-columns: 1fr; align-items: stretch; }
        }
        @media (max-width: 960px) {
            .dashboard-layout { grid-template-columns: 1fr; }
            .top-actions { width: 100%; min-width: 0; }
        }
}

/* resources/views/admin/participants-logs.blade.php */
@scope (.view-admin-participants-logs) {
        :scope { font-family: Arial, sans-serif; background: #eef3f8; margin: 0; }
        .wrap { max-width: 1680px; margin: 20px auto 28px; padding: 0 16px; }
        .card { background: transparent; border-radius: 12px; padding: 0; box-shadow: none; }
        .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
        h1 { margin: 0; }
        .btn-link { border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: flex; align-items: center; width: auto; border: 1px solid rgba(255,255,255,.12); }
        .btn-link:hover { background: rgba(255,255,255,.15); }
        .top-actions { width: auto; min-width: auto; background: linear-gradient(180deg, #29557d 0%, #234a70 100%); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 24px rgba(22, 49, 76, 0.25); position: sticky; top: 14px; }
        .menu-item-active { background: #ffba00; color: #1f3550; border-color: transparent; }
        .menu-item-active:hover { background: #f4b000; }
        .menu-form { margin: 0; }
        .menu-btn { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; text-align: left; cursor: pointer; }
        .menu-btn:hover { background: rgba(255,255,255,.15); }
        .page-title { margin: 0; text-align: right; }
        .dashboard-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
        .dashboard-content { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }
        .filter { display: grid; grid-template-columns: 180px 180px 180px auto; gap: 10px; align-items: end; margin-bottom: 14px; }
        .field { display: flex; flex-direction: column; gap: 6px; }
        label { font-size: 13px; color: #334155; font-weight: 700; }
        input, select { border: 1px solid #d1d5db; border-radius: 8px; padding: 8px 10px; font-size: 14px; }
        .filter-actions { display: inline-flex; gap: 8px; }
        .btn { border: 0; border-radius: 8px; padding: 9px 12px; font-weight: 700; cursor: pointer; }
        .btn-primary { background: #0f766e; color: #fff; }
        .btn-secondary { background: #e2e8f0; color: #1f2937; text-decoration: none; display: inline-flex; align-items: center; }
        .table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 10px; }
        table { width: 100%; border-collapse: collapse; min-width: 1320px; }
        thead th { background: #f3f4f6; text-align: left; padding: 10px; border-bottom: 1px solid #d1d5db; white-space: nowrap; }
        thead th.sortable { cursor: pointer; user-select: none; }
        thead th.sortable::after { content: '↕'; margin-left: 6px; color: #94a3b8; font-size: 11px; }
        thead th.sort-asc::after { content: '↑'; color: #2563eb; }
        thead th.sort-desc::after { content: '↓'; color: #2563eb; }
        tbody td { padding: 10px; border-bottom: 1px solid #f1f5f9; vertical-align: top; font-size: 13px; }
        tbody tr:nth-child(even) { background: #fafafa; }
        .muted { color: #6b7280; }
        .json-box { max-width: 420px; max-height: 200px; overflow: auto; background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 8px; font-size: 12px; line-height: 1.35; }
        .ocr-preview-box { max-width: 320px; max-height: 120px; overflow: auto; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px; font-size: 12px; line-height: 1.35; white-space: pre-wrap; }
        .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
        .insert { background: #dcfce7; color: #166534; }
        .update { background: #dbeafe; color: #1d4ed8; }
        .auto-validation { background: #ede9fe; color: #6d28d9; }
        .pagination { margin-top: 14px; }
        .pagination nav > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
        .pagination svg { width: 14px; height: 14px; }
        @media (max-width: 960px) {
            .dashboard-layout { grid-template-columns: 1fr; }
            .top-actions { width: 100%; min-width: 0; }
            .filter { grid-template-columns: 1fr; }
        }
}

/* resources/views/admin/stores.blade.php */
@scope (.view-admin-stores) {
        :scope { font-family: Arial, sans-serif; background: #eef3f8; margin: 0; }
        .wrap { max-width: 1680px; margin: 20px auto 28px; padding: 0 16px; }
        .card { background: transparent; border-radius: 12px; padding: 0; box-shadow: none; }
        .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
        h1 { margin: 0; }
        .btn-link { border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: flex; align-items: center; width: auto; border: 1px solid rgba(255,255,255,.12); }
        .btn-link:hover { background: rgba(255,255,255,.15); }
        .top-actions { width: auto; min-width: auto; background: linear-gradient(180deg, #29557d 0%, #234a70 100%); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 24px rgba(22, 49, 76, 0.25); position: sticky; top: 14px; }
        .menu-item-active { background: #ffba00; color: #1f3550; border-color: transparent; }
        .menu-item-active:hover { background: #f4b000; }
        .menu-form { margin: 0; }
        .menu-btn { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; text-align: left; cursor: pointer; }
        .menu-btn:hover { background: rgba(255,255,255,.15); }
        .dashboard-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
        .dashboard-content { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }
        .summary { margin: 0 0 12px; color: #1f2937; }
        .table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 10px; }
        table { width: 100%; border-collapse: collapse; min-width: 1120px; }
        thead th { background: #f3f4f6; text-align: left; padding: 10px; border-bottom: 1px solid #d1d5db; white-space: nowrap; }
        thead th.sortable { cursor: pointer; user-select: none; }
        thead th.sortable::after { content: '↕'; margin-left: 6px; color: #94a3b8; font-size: 11px; }
        thead th.sort-asc::after { content: '↑'; color: #2563eb; }
        thead th.sort-desc::after { content: '↓'; color: #2563eb; }
        tbody td { padding: 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
        tbody tr:nth-child(even) { background: #fafafa; }
        .muted { color: #6b7280; }
        .thumb { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; border: 1px solid #e5e7eb; background: #fff; }
        .thumb-link { display: inline-flex; border-radius: 8px; overflow: hidden; }
        .keywords-box { max-width: 420px; overflow: visible; background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 8px; font-size: 12px; line-height: 1.35; white-space: pre-wrap; }
        .link { color: #2563eb; text-decoration: none; font-weight: 700; }
        .link:hover { text-decoration: underline; }
        @media (max-width: 960px) {
            .dashboard-layout { grid-template-columns: 1fr; }
            .top-actions { width: 100%; min-width: 0; }
        }
}

/* resources/views/admin/summary.blade.php */
@scope (.view-admin-summary) {
        :scope { font-family: Arial, sans-serif; background: #eef3f8; margin: 0; }
        .wrap { max-width: 1680px; margin: 20px auto 28px; padding: 0 16px; }
        .card { background: transparent; border-radius: 12px; padding: 0; box-shadow: none; }
        .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
        h1 { margin: 0; }
        .btn-link { border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: flex; align-items: center; width: auto; border: 1px solid rgba(255,255,255,.12); }
        .btn-link:hover { background: rgba(255,255,255,.15); }
        .top-actions { width: auto; min-width: auto; background: linear-gradient(180deg, #29557d 0%, #234a70 100%); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 24px rgba(22, 49, 76, 0.25); position: sticky; top: 14px; }
        .menu-item-active { background: #ffba00; color: #1f3550; border-color: transparent; }
        .menu-item-active:hover { background: #f4b000; }
        .menu-form { margin: 0; }
        .menu-btn { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.08); color: #e7f0ff; padding: 10px 12px; font-weight: 700; text-align: left; cursor: pointer; }
        .menu-btn:hover { background: rgba(255,255,255,.15); }
        .dashboard-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
        .dashboard-content { min-width: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); }
        .summary { margin: 0 0 12px; color: #1f2937; }
        .table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 10px; }
        table { width: 100%; border-collapse: collapse; min-width: 820px; }
        thead th { background: #f3f4f6; text-align: left; padding: 10px; border-bottom: 1px solid #d1d5db; white-space: nowrap; }
        thead th.sortable { cursor: pointer; user-select: none; }
        thead th.sortable::after { content: '↕'; margin-left: 6px; color: #94a3b8; font-size: 11px; }
        thead th.sort-asc::after { content: '↑'; color: #2563eb; }
        thead th.sort-desc::after { content: '↓'; color: #2563eb; }
        tbody td { padding: 10px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
        tbody tr:nth-child(even) { background: #fafafa; }
        .muted { color: #6b7280; }
        @media (max-width: 960px) {
            .dashboard-layout { grid-template-columns: 1fr; }
            .top-actions { width: 100%; min-width: 0; }
        }
}

/* Blade inline-style replacements */
@scope (.view-admin-dashboard) {
    :scope.is-scroll-locked { overflow: hidden; }
    .flash.is-hidden { display: none; }
    .flash.is-error { background: #fee2e2; color: #991b1b; }
    .flash.is-success { background: #dcfce7; color: #166534; }
}

@scope (.view-admin-participant-edit) {
    .muted-spaced { margin-top: 8px; }
}

@scope (.view-campaign-form) {
    .validation-summary { color: #d93025; font-weight: 700; margin-bottom: 12px; }
    .receipt-section-title { margin-top: 18px; }
}

@scope (.view-campaign-index) {
    .rule-link-terms { color: #fff; }
}

.welcome-page-title { margin-left: auto; }

