        :root {
            --color-primary: #526F94;
            --color-primary-hover: #58789A;
            --color-accent: #52745F;
            --bg: #F3F5F8;
            --surface: rgba(255, 255, 255, 0.85);
            --text: #2B364B;
            --text-muted: #667080;
            --warning: #965A4A;
            --shadow: 0 8px 30px rgba(160, 175, 195, 0.12);
        }

        body {
            background: var(--bg) !important;
            color: var(--text);
            font-family: "Microsoft JhengHei", "Segoe UI", system-ui, sans-serif;
        }
        .container, #drop-zone, .radio-group > label > div {
            box-shadow: var(--shadow);
        }
        .dropzone-hint svg { width: 42px; height: 42px; margin-bottom: 10px; fill: none; stroke: var(--color-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
        .drop-zone.has-files .dropzone-hint { display: none; }
        input:focus, textarea:focus, select:focus {
            border-color: var(--color-primary) !important;
            box-shadow: 0 0 0 3px rgba(107, 139, 176, .16) !important;
        }

        /* Loading Overlay */
        #loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(5px);
            z-index: 9999;
            display: none;
            /* Flex when active */
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--color-primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Toast Animation */
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        @keyframes fadeOut {
            from {
                opacity: 1;
            }
            to {
                opacity: 0;
            }
        }
        .toast-enter {
            animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }
        .toast-leave {
            animation: fadeOut 0.3s ease-in forwards;
        }
