        :root {
            --primary-color: #6366f1;
            --secondary-color: #a855f7;
            --bg-body: #f8fafc;
            --text-main: #1e293b;
        }

        .main-card {
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.8);
            padding: 30px;
            max-width: 480px;
            margin: 50px auto;
        }

        .nav-pills {
            background: #f1f5f9;
            padding: 5px;
            border-radius: 16px;
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .nav-link {
            color: #64748b !important;
            border-radius: 12px !important;
            font-weight: 600;
            transition: 0.3s;
            flex: 1;
            text-align: center;
            border: none !important;
        }

        .nav-link.active {
            background: #ffffff !important;
            color: var(--primary-color) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .input-group-custom {
            position: relative;
            margin-bottom: 20px;
        }

        .form-control-custom {
            height: 60px;
            border-radius: 16px !important;
            border: 2px solid #e2e8f0;
            padding: 0 50px;
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
            transition: 0.3s;
        }

        .form-control-custom:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
            outline: none;
        }

        .clear-btn {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: #f1f5f9;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            color: #94a3b8;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .result-container {
            min-height: 100px;
            border-radius: 18px;
            padding: 20px;
            display: none;
            animation: fadeIn 0.4s ease;
            text-align: center;
        }

        .result-success {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1px solid #bbf7d0;
            color: #166534;
            display: block;
        }

        .result-error {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border: 1px solid #fecaca;
            color: #991b1b;
            display: block;
        }

        .result-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 5px;
        }

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

        label { font-weight: 600; margin-bottom: 8px; display: block; color: #475569; }
