
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 20px;
            animation: gradientShift 15s ease infinite;
            background-size: 200% 200%;
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin-top: 40px;
        }

        /* 리스트 뷰 스타일 */
        .list-view {
            animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .list-header {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-radius: 24px 24px 0 0;
            padding: 30px 40px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .list-header h1 {
            font-size: 32px;
            font-weight: 700;
            color: #1d1d1f;
            letter-spacing: -0.5px;
            margin-bottom: 10px;
        }

        .list-subtitle {
            font-size: 15px;
            color: #86868b;
        }

        .stats-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-value {
            font-size: 28px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .stat-label {
            font-size: 13px;
            color: #86868b;
            margin-top: 5px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .filter-bar {
            background: white;
            padding: 20px 40px;
            border-top: 1px solid #f0f0f2;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-btn {
            padding: 8px 16px;
            border: 1px solid #e5e5e7;
            background: white;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 500;
            color: #1d1d1f;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-color: transparent;
        }

        .filter-btn:hover:not(.active) {
            background: #f5f5f7;
            transform: translateY(-1px);
        }

        .search-box {
            margin-left: auto;
            position: relative;
        }

        .search-box input {
            padding: 8px 16px 8px 36px;
            border: 1px solid #e5e5e7;
            border-radius: 100px;
            font-size: 14px;
            width: 200px;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            width: 250px;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            opacity: 0.5;
        }

        .list-container {
            background: white;
            border-radius: 0 0 24px 24px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .list-item {
            padding: 25px 40px;
            border-bottom: 1px solid #f0f0f2;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .list-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .list-item:hover {
            background: #f9f9fb;
            padding-left: 45px;
        }

        .list-item:hover::before {
            transform: translateX(0);
        }

        .list-item:last-child {
            border-bottom: none;
        }

        .item-number {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            color: #667eea;
            flex-shrink: 0;
        }

        .item-info {
            flex: 1;
        }

        .item-title {
            font-size: 16px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 5px;
        }

        .item-meta {
            display: flex;
            gap: 15px;
            font-size: 13px;
            color: #86868b;
        }

        .item-amount {
            text-align: right;
            margin-left: auto;
        }

        .amount-value {
            font-size: 18px;
            font-weight: 700;
            color: #1d1d1f;
            margin-bottom: 3px;
        }

        .amount-label {
            font-size: 12px;
            color: #86868b;
        }

        .item-status {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .status-indicator {
            padding: 6px 14px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status-indicator.processing,
        .status-indicator.approved {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            color: #667eea;
        }

        .status-indicator.completed {
            background: rgba(92, 184, 92, 0.1);
            color: #5cb85c;
        }

        .status-indicator.pending {
            background: rgba(240, 173, 78, 0.1);
            color: #f0ad4e;
        }

        .status-indicator.rejected {
            background: rgba(217, 83, 79, 0.1);
            color: #d9534f;
        }

        .progress-mini {
            width: 60px;
            height: 4px;
            background: #f0f0f2;
            border-radius: 100px;
            overflow: hidden;
        }

        .progress-mini-bar {
            height: 100%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 100px;
            transition: width 0.5s ease;
        }

        /* 상세 뷰 스타일 */
        .detail-view {
            display: none;
            animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 600;
            color: #1d1d1f;
            cursor: pointer;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }

        .back-button:hover {
            background: white;
            transform: translateX(-5px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .status-card {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 35px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .header h1 {
            font-size: 32px;
            font-weight: 700;
            color: #1d1d1f;
            letter-spacing: -0.5px;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: -0.2px;
            animation: pulse 2s infinite;
        }

        .status-badge.processing,
        .status-badge.approved {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .status-badge.completed {
            background: linear-gradient(135deg, #5cb85c, #4cae4c);
            color: white;
        }

        .status-badge.pending {
            background: linear-gradient(135deg, #f0ad4e, #ec971f);
            color: white;
        }
        
        .status-badge.rejected {
            background: linear-gradient(135deg, #d9534f, #c9302c);
            color: white;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        .progress-section {
            margin-bottom: 40px;
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .progress-title {
            font-size: 15px;
            font-weight: 600;
            color: #1d1d1f;
        }

        .progress-percentage {
            font-size: 24px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .progress-bar-container {
            width: 100%;
            height: 12px;
            background: #f5f5f7;
            border-radius: 100px;
            overflow: hidden;
            position: relative;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 100px;
            transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 25px;
            margin-bottom: 35px;
        }

        .info-item {
            padding: 20px;
            background: #f5f5f7;
            border-radius: 16px;
            transition: all 0.3s ease;
        }

        .info-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .info-label {
            font-size: 13px;
            color: #86868b;
            margin-bottom: 8px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .info-value {
            font-size: 20px;
            font-weight: 700;
            color: #1d1d1f;
        }

        .timeline-section {
            margin-top: 40px;
        }

        .timeline-title {
            font-size: 18px;
            font-weight: 600;
            color: #1d1d1f;
            margin-bottom: 25px;
        }

        .timeline {
            position: relative;
            padding-left: 35px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 5px;
            bottom: 5px;
            width: 2px;
            background: #e5e5e7;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 25px;
            animation: slideIn 0.6s ease backwards;
        }

        .timeline-item:nth-child(1) { animation-delay: 0.1s; }
        .timeline-item:nth-child(2) { animation-delay: 0.2s; }
        .timeline-item:nth-child(3) { animation-delay: 0.3s; }
        .timeline-item:nth-child(4) { animation-delay: 0.4s; }

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

        .timeline-dot {
            position: absolute;
            left: -30px;
            top: 5px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            border: 3px solid #e5e5e7;
            transition: all 0.3s ease;
        }

        .timeline-item.completed .timeline-dot {
            background: linear-gradient(135deg, #5cb85c, #4cae4c);
            border-color: #5cb85c;
        }

        .timeline-item.active .timeline-dot {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
            animation: pulse 2s infinite;
        }

        .timeline-content {
            padding: 15px 20px;
            background: #f5f5f7;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .timeline-item.active .timeline-content {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        }

        .timeline-date {
            font-size: 12px;
            color: #86868b;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .timeline-text {
            font-size: 14px;
            color: #1d1d1f;
            font-weight: 500;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .btn {
            flex: 1;
            min-width: 150px;
            padding: 14px 24px;
            font-size: 15px;
            font-weight: 600;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }

        .btn-secondary {
            background: #0071e3;
            color: #ffffff;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .btn:active {
            transform: translateY(0);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .list-header, .filter-bar, .list-item {
                padding-left: 20px;
                padding-right: 20px;
            }

            .search-box {
                width: 100%;
                margin-left: 0;
                margin-top: 10px;
            }

            .search-box input {
                width: 100%;
            }

            .search-box input:focus {
                width: 100%;
            }

            .list-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .item-amount {
                margin-left: 0;
                text-align: left;
            }

            .status-card {
                padding: 25px;
            }

            .header h1 {
                font-size: 24px;
            }

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

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .container {
                margin-top: 15px;
            }

            .list-header {
                padding: 20px 16px;
                border-radius: 16px 16px 0 0;
            }

            .list-header h1 {
                font-size: 20px;
            }

            .list-subtitle {
                font-size: 13px;
            }

            .filter-bar {
                padding: 14px 16px;
                gap: 10px;
            }

            .filter-btn {
                font-size: 13px;
                padding: 6px 12px;
            }

            .list-item {
                padding: 16px;
                gap: 10px;
            }

            .list-item:hover {
                padding-left: 16px;
            }

            .item-number {
                width: 36px;
                height: 36px;
                font-size: 14px;
                border-radius: 8px;
            }

            .item-title {
                font-size: 14px;
            }

            .item-meta {
                flex-wrap: wrap;
                gap: 6px;
                font-size: 12px;
            }

            .amount-value {
                font-size: 15px;
            }

            .amount-label {
                font-size: 11px;
            }

            .status-indicator {
                font-size: 11px;
                padding: 4px 10px;
            }

            .stat-value {
                font-size: 22px;
            }
        }

        /* 다크모드 (.dark 클래스 기반 — next-themes) */
        .dark body {
            background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
        }

        .dark .list-header {
            background: rgba(30, 41, 59, 0.98);
        }

        .dark .list-header h1 {
            color: #f1f5f9;
        }

        .dark .list-subtitle {
            color: #94a3b8;
        }

        .dark .stat-value {
            background: linear-gradient(135deg, #818cf8, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .dark .stat-label {
            color: #64748b;
        }

        .dark .filter-bar {
            background: #1e293b;
            border-top-color: #334155;
        }

        .dark .filter-btn {
            background: #1e293b;
            border-color: #334155;
            color: #e2e8f0;
        }

        .dark .filter-btn.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-color: transparent;
        }

        .dark .search-box input {
            background: #0f172a;
            border-color: #334155;
            color: #f1f5f9;
        }

        .dark .search-box input:focus {
            background: #1e293b;
            border-color: #667eea;
            width: 100%;
        }

        .dark .list-container {
            background: #1e293b;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        }

        .dark .list-item {
            border-bottom-color: #334155;
        }

        .dark .list-item:hover {
            background: #334155;
        }

        .dark .item-title {
            color: #f1f5f9;
        }

        .dark .item-meta {
            color: #94a3b8;
        }

        .dark .amount-value {
            color: #f1f5f9;
        }

        .dark .amount-label {
            color: #64748b;
        }

        .dark .item-number {
            background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(167, 139, 250, 0.2));
            color: #818cf8;
        }

        .dark .back-button {
            background: rgba(30, 41, 59, 0.9);
            color: #f1f5f9;
        }

        .dark .back-button:hover {
            background: #1e293b;
        }
