        :root {
            --primary: #ff4136;
            --bg-dark: #18181b;
            --card-dark: #27272a;
            --text-dark: #ffffff;
            --bg-light: #f4f4f5;
            --card-light: #ffffff;
            --text-light: #18181b;
            --success: #22c55e;
            --warning: #eab308;
            --error: #ef4444;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            min-height: 100vh;
            transition: background-color 0.3s, color 0.3s;
            display: flex;
            flex-direction: column;
            overflow: auto;
        }

        body.dark {
            background-color: var(--bg-dark);
            color: var(--text-dark);
        }

        body.light {
            background-color: var(--bg-light);
            color: var(--text-light);
        }

        .container {
            max-width: 800px;
            width: 100%;
            margin: 0 auto;
            padding: 2rem;
            flex-grow: 1;
        }

        .banner {
            font-size: clamp(0.5rem, 2vw, 1.5rem);
            text-align: center;
            color: var(--primary);
            margin-bottom: 2rem;
            white-space: pre;
            overflow-x: auto;
        }

        .card {
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            border: 2px solid var(--primary);
            overflow: hidden;
        }

        .dark .card {
            background-color: var(--card-dark);
        }

        .light .card {
            background-color: var(--card-light);
        }

        .tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            background: rgba(0, 0, 0, 0.2);
            padding: 0.25rem;
            border-radius: 8px;
        }

        .tab {
            padding: 0.5rem 1rem;
            cursor: pointer;
            border: none;
            background: none;
            color: inherit;
            font-size: 0.875rem;
            border-radius: 6px;
            transition: all 0.2s;
            flex: 1;
            text-align: center;
        }

        .tab.active {
            background: rgba(255, 255, 255, 0.1);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        input[type="text"], 
        input[type="number"], 
        input[type="file"] {
            width: 100%;
            padding: 0.75rem;
            margin-bottom: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            font-size: 0.875rem;
            background: rgba(0, 0, 0, 0.2);
            color: inherit;
        }

        .dark input {
            color: white;
        }

        .light input {
            color: black;
            background: rgba(0, 0, 0, 0.05);
        }

        button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
            width: 100%;
        }

        button:hover {
            opacity: 0.9;
        }

        button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

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

        .stats.visible {
            display: grid;
        }

        .stat-item {
            background: rgba(0, 0, 0, 0.2);
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            position: relative;
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .stat-label {
            font-size: 0.875rem;
            opacity: 0.8;
        }

        .approved .stat-number { color: var(--success); }
        .ccn .stat-number { color: var(--warning); }
        .declined .stat-number { color: var(--error); }

        .results {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .result-item {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            padding: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            position: relative;
            transition: background-color 0.3s;
        }

        .result-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .result-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }

        .result-approved .result-icon {
            background-color: var(--success);
            color: white;
        }

        .result-declined .result-icon {
            background-color: var(--error);
            color: white;
        }

        .result-ccn .result-icon {
            background-color: var(--warning);
            color: black;
        }

        .result-content {
            flex: 1;
        }

        .result-card {
            font-weight: 500;
            margin-bottom: 0.25rem;
        }

        .result-message {
            font-size: 0.875rem;
            opacity: 0.8;
        }

        .copy-icon {
            cursor: pointer;
            opacity: 0.5;
            transition: opacity 0.3s;
        }

        .copy-icon:hover {
            opacity: 1;
        }

        .settings-group {
            margin-bottom: 1.5rem;
        }

        .settings-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
        }

        .telegram-id-group {
            display: flex;
            gap: 1rem;
        }

        .telegram-id-group input {
            flex: 1;
        }

        .telegram-id-group button {
            width: auto;
            height: 2.5rem;
        }

        .theme-select {
            width: 100%;
            padding: 0.75rem;
            border-radius: 8px;
            font-size: 0.875rem;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1em;
        }

        .dark .theme-select {
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
        }

        .light .theme-select {
            background-color: white;
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: black;
        }

        #confirmTelegramId {
            background-color: #6565f8;
            color: white;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            border: none;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .light #confirmTelegramId {
            background-color: #6565f8;
        }

        .telegram-toggle {
            display: flex;
            align-items: center;
        }

        .toggle-label {
            display: flex;
            align-items: center; /* Vertically center-align */
            gap: 0.5rem;
            cursor: pointer; /* Add a pointer cursor */
        }

        .toggle-switch {
            position: relative;
            width: 48px;
            height: 24px;
            margin-right: 0.5rem; 
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255, 255, 255, 0.1);
            transition: .4s;
            border-radius: 24px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background-color: var(--primary);
        }

        input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }
        .toggle-text {
            font-size: 0.875rem; /* Adjust text size */
            color: inherit;
            white-space: nowrap; 
        }

        .light .toggle-slider {
            background-color: rgba(0, 0, 0, 0.1);
        }

        #neco {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            width: 100px;
            height: 100px;
            background-image: url('https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/neco-arc.png');
            background-size: contain;
            background-repeat: no-repeat;
            z-index: 1000;
        }

        .notification {
            position: fixed;
            top: 1rem;
            right: 1rem;
            padding: 1rem;
            border-radius: 8px;
            color: white;
            font-size: 0.875rem;
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.3s, transform 0.3s;
            pointer-events: none;
        }

        .notification.show {
            opacity: 1;
            transform: translateY(0);
        }

        .dark .notification {
            background: rgba(0, 0, 0, 0.8);
        }

        .light .notification {
            background: rgba(0, 0, 0, 0.9);
        }

        .notification.success {
            background: var(--success);
        }

        .notification.error {
            background: var(--error);
        }

        .notification.info {
            background: #3b82f6;
        }

        footer {
            text-align: center;
            padding: 1rem;
            font-size: 0.75rem;
            opacity: 0.7;
        }

        @media (max-width: 640px) {
            .container {
                padding: 1rem;
            }
            
            .stats {
                grid-template-columns: 1fr;
            }
            
            .banner {
                font-size: 0.6rem;
            }
        }